This article describes significance of the values held in the hw.re.reboot_on_disk_failure variable.
hw.re.reboot_on_disk_failure
The ' hw.re.reboot_on_disk_failure' sysctl variable holds the information from the configuration under the following context:
'
hw.re.reboot_on_disk_failure'
[ edit chassis routing-engine on-disk-failure disk-failure-action ]
The 'disk-failure-action' statement instructs the router to halt or reboot if hard disk errors are detected on the routing engine.
'disk-failure-action'
Based on the configuration of the disk-failure-action on the Juniper dual-RE device, the 'sysctl' value will change.
Configuration Hierarchy
set chassis routing-engine on-disk-failure disk-failure-action
halt - Halt on disk failure
reboot - Reboot on disk failure
Value of the sysctl variable ' hw.re.reboot_on_disk_failure' :
When there is no configuration in this hierarchy: hw.re.reboot_on_disk_failure = 0.
hw.re.reboot_on_disk_failure = 0.
When "set chassis routing-engine on-disk-failure disk-failure-action reboot" is configured: hw.re.reboot_on_disk_failure = 1.
hw.re.reboot_on_disk_failure = 1.
When "set chassis routing-engine on-disk-failure disk-failure-action halt" is configured hw.re.reboot_on_disk_failure = 2.
hw.re.reboot_on_disk_failure = 2.
To view current value of 'hw.re.reboot_on_diskfail'
'hw.re.reboot_on_diskfail'
login to the RE linux shell and execute the following command re0> start shell
re0> start shell
shell% sysctl hw.re.reboot_on_diskfail hw.re.reboot_on_diskfail: 2
hw.re.reboot_on_diskfail: 2