Booting and Shutting Down Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014
 
 

Managing the boot-archive SMF Service

The boot-archive service is controlled by SMF. The service instance is svc:/system/boot-archive:default. The svcadm command is used to enable and disable services.

If the boot-archive service is disabled, automatic recovery of the boot archive upon a system reboot might not occur. As a result, the boot archive could become unsynchronized or corrupted, which would prevent the system from booting.

To determine whether the boot-archive service is running, use the svcs command, as follows:

$ svcs boot-archive
STATE          STIME    FMRI
online         10:35:14 svc:/system/boot-archive:default

In this example, the output of the svcs command indicates that the boot-archive service is online.

For more information, see the svcadm(1M) and svcs(1) man pages.

How to Enable or Disable the boot-archive SMF Service

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. To enable or disable the boot-archive service, type:
    # svcadm enable | disable system/boot-archive
  3. To verify the state of the boot-archive service, type:
    # svcs boot-archive

    If the service is running, the output displays an online service state.

    STATE          STIME    FMRI
    online          9:02:38 svc:/system/boot-archive:default

    If the service is not running, the output indicates that the service is offline.