System Administration Guide: Basic Administration

Managing the boot-archive Service

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

To determine if the boot-archive service is running, use the svcs command.

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

ProcedureHow to Enable or Disable the boot-archive Service

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  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 the service is offline.

Troubleshooting

For information about clearing automatic boot archive update failures, see Automatic Boot Archive Recovery.