Controlling Recovery Mode
The ldmd/recovery_mode
SMF property controls recovery mode behavior. Recovery mode is enabled by default.
When the ldmd/recovery_mode
property is not present or is set to auto
, recovery mode is enabled.
When the ldmd/recovery_mode
property is set to never
, the Logical Domains Manager exits recovery mode without taking any action and the physical domain runs the factory-default
configuration.
Note:
If the system firmware requests recovery mode while it is not enabled, issue the following commands to enable recovery mode after the request is made:primary# svccfg -s ldmd setprop ldmd/recovery_mode = astring: auto primary# svcadm refresh ldmd primary# svcadm restart ldmdRecovery mode is initiated immediately in this scenario only if no changes were made to the system, that is, if it is still in the
factory-default
configuration.
In addition to enabling recovery mode, you can specify a timeout value for a root domain boot during recovery. By default, the ldmd/recovery_mode_boot_timeout
property value is 30 minutes. Valid values start at 5 minutes.