You can mirror the system disk containing the operating root file system by registering the system disk with root class. When registering a system disk, you must specify "keep" for its disk type.
You cannot register system disks with local class and shared class.
When mirroring a system disk, GDS additionally sets the OpenBoot nvramrc parameter. It will also set use-nvramrc? parameter to "true" so that the command registered with NVRAMRC will automatically be executed when booting the system.
However, when a command is already registered with NVRAMRC and use-nvramrc? is set to "false", a following warning message will be displayed, and use-nvramrc? will not be changed to "true."
WARNING: cannot set use-nvramrc? parameter to true, NVRAMRC not empty
When use-nvramrc? is set to "false", removing the command registered with NVRAMRC is recommended.
When the warning message is displayed, follow the procedures below and set use-nvramrc? to "true."
Confirm the contents of NVRAMRC. When the setting is correct, change the use-nvramrc? parameter to "true" with eeprom(1M).
If the contents of NVRAMRC are invalid, remove the command registered with NVRAMRC, and reboot the system. use-nvramrc? will be automatically changed to "true."
Information
How to confirm use-nvramrc? parameter:
# eeprom use-nvramrc? |
How to change and confirm use-nvramrc? parameter:
# eeprom use-nvramrc?=true # eeprom use-nvramrc? |
How to confirm the command registered with NVRAMRC:
# eeprom nvramrc |
(Registered command will be displayed.)
How to remove and confirm the command registered to NVRAMRC:
# eeprom nvramrc= |
Note
In the root class, the logical partitioning, disk concatenation, and disk striping functions are not available.
When mirroring a system disk, GDS additionally sets the following parameters in addition to the use-nvramrc? and nvramrc parameters.
After configuring mirroring, do not edit these parameters:
boot-device
multipath-boot?