Description

This article describes significance of the values held in the ​ hw.re.reboot_on_disk_failure variable.

Solution

The ' hw.re.reboot_on_disk_failure' sysctl variable holds the information from the configuration under the following context:

[ 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.

  • ​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

Possible completions:
  • halt - Halt on disk failure

  • reboot - Reboot on disk failure


Value of the sysctl variable ' hw.re.reboot_on_disk_failure' :

  1. When there is no configuration in this hierarchy:
    hw.re.reboot_on_disk_failure = 0.

  2. When "set chassis routing-engine on-disk-failure disk-failure-action reboot" is configured:
    hw.re.reboot_on_disk_failure = 1.

  3. When "set chassis routing-engine on-disk-failure disk-failure-action halt" is configured
    hw.re.reboot_on_disk_failure = 2.

To view current value of 'hw.re.reboot_on_diskfail'

  1. login to the RE linux shell and execute the following command
    re0> start shell

  2. shell% sysctl hw.re.reboot_on_diskfail
    hw.re.reboot_on_diskfail: 2​

Related Information