Hi Nadeem,
The "hw.re.reboot_on_disk_failure" sysctl variable holds the information from the configuration. Based on the following configuration, the sysctl value will change -
set chassis routing-engine on-disk-failure disk-failure-action ?
Possible completions:
halt Halt on disk failure
reboot Reboot on disk failure
When you have no configuration in this hierarchy, hw.re.reboot_on_disk_failure = 0.
When you configure "set chassis routing-engine on-disk-failure disk-failure-action reboot", hw.re.reboot_on_disk_failure = 1.
When you configure "set chassis routing-engine on-disk-failure disk-failure-action halt", hw.re.reboot_on_disk_failure = 2.
I just tested this on my lab device. You can check as well.
-================================================
Please mark this solution as accepted.
Kudos are always appreciated 🙂