OpenSolaris 2008.11 COMSTAR Administration Guide
Previous

Backing Up and Restoring a COMSTAR Configuration

COMSTAR configuration information is stored under the STMF fault management resource identifier (FMRI). For more information, see the smf(5) man page. You back up COMSTAR configuration information by exporting it to a backup file.


Note - An existing bug in svccfg export causes data to be lost on export when the persistent logical unit data (stored in the provider_data_pg_sbd property group) exceeds 2 Kbytes. Refer to CR 6694511 for more details. Because the truncation is silent, you cannot determine when data has been lost on export. Until CR 6694511 is integrated, do not export by using the STMF service.


To Back Up and Restore a COMSTAR Configuration

See the previous Note before continuing with this procedure.

  1. Export the current COMSTAR configuration.
    # svccfg export -a stmf > COMSTAR.backup

    The -a option is critical for exporting read-protected properties.

  2. Restore the exported COMSTAR configuration.
    # svccfg import COMSTAR.backup
Previous