Backing up your COMSTAR storage configuration

I have been playing around with the COMSTAR iSCSI and FC port providers for the past few months, and other than a number of problems with the emlxs driver, they appear to work pretty well. As I’ve been experimenting, I wanted to back up my configuration in case something happened to my server. COMSTAR uses SMF and the underlying block device to store configuration data, so you can use svccfg to backup the configuration:

$ svccfg export -a stmf > comstar.bak.${DATE}

If you ever need to restore the configuration, you can attach the storage and run an import:

$ svccfg import comstar.bak.${DATE}

COMSTAR has some serious potential, and I’m looking forward to seeing the project grow in 2010!

Leave a Reply

Your email address will not be published. Required fields are marked *