On SuperCluster M8 and SuperCluster M7, I/O Domains come with a second ZFS pool called the bpool. The bpool is required to boot the domain over iSCSI and Infiniband. Similarly to the rpool, when an I/O Domain is backed up, a ZFS snapshot is created for the bpool on the ZFS storage appliance. The restore procedure consists of rolling back this snapshot.
The information required to locate the snapshot is available in the osc-config-backup/domains/hostname/hostname.snaphots.date.info file. The file includes the ZFS storage appliance head to connect to, the project, and the LUN.
root# su -oscbackR oscbackR$ cd osc-config-backup/domains/hostname oscbackR$ grep bpool hostname.snapshots.date.info Pool: bpool ; Device: c0t600144F0A67C70FB0000575AA4E10003d0 ; \ Head: ssc1-h1-storadm ; Project: sc1-ldomfs ; \ LUN name: xyx-io-hostname_bpool ; \ Snapshot: 2016.06.14.05.18.osc-config-backup
# ldm stop -f domain-name
In this example, the head is ssc1-h1-storadm.
# ssh ssc1-h1-storadm Last login: Tue Jun 14 13:28:56 2016 from 10.129.76.2 ssc1-h1-storadm:>
The project name was identified in Step 1 (sc1-ldomfs in this example).
ssc1-h1-storadm:> shares ssc1-h1-storadm:shares> select sc1-ldomfs ssc1-h1-storadm:shares sc1-ldomfs>
The LUN and snapshot were identified in Step 1.
... sc1-ldomfs> select xyx-io-hostname_bpool ... sc1-ldomfs/xyx-io-hostname_bpool> snapshots ... sc1-ldomfs/xyx-io-hostname_bpool snapshots> select 2016.06.14.05.18.osc-config-backup ... sc1-ldomfs/xyx-io-hostname_bpool@2016.06.14.05.18.osc-config-backup>
... sc1-ldomfs/xyx-io-hostname_bpool@2016.06.14.05.18.osc-config-backup> rollback Rolling back will revert data to snapshot, destroying newer data. Active initiators will be disconnected. Continue? (Y/N) Y
# ldm start domain-name