ZFSブートディスク環境からローカルブートディスク環境へ移行する手順を次に示します。
ここでは,移行前のZFSブートディスク環境のルートプール名を「hdlmpool」,移行後のローカルブートディスク環境のルートプール名を「rpool」とします。
# zfs snapshot -r hdlmpool/export@2011-12-06.01
# zfs send -vRp hdlmpool/export@2011-12-06.01 | zfs receive -uvdF rpool
sending from @ to hdlmpool/export@2011-12-05.01
receiving full stream of hdlmpool/export@2011-12-05.01 into rpool/export@2011-12-05.01
sending from @2011-12-05.01 to hdlmpool/export@2011-12-06.01
received 47.9KB stream in 1 seconds (47.9KB/sec)
receiving incremental stream of hdlmpool/export@2011-12-06.01 into rpool/export@2011-12-06.01
sending from @ to hdlmpool/export/home@2011-12-05.01
received 312B stream in 3 seconds (104B/sec)
receiving full stream of hdlmpool/export/home@2011-12-05.01 into rpool/export/home@2011-12-05.01
sending from @2011-12-05.01 to hdlmpool/export/home@2011-12-06.01
received 1.10MB stream in 1 seconds (1.10MB/sec)
receiving incremental stream of hdlmpool/export/home@2011-12-06.01 into rpool/export/home@2011-12-06.01
received 31.4KB stream in 2 seconds (15.7KB/sec)
# zfs list -r rpool
NAME USED AVAIL REFER MOUNTPOINT
rpool 8.71G 58.2G 73.5K /rpool
rpool/ROOT 2.59G 58.2G 31K legacy
rpool/ROOT/solaris 2.41G 58.2G 1.73G /
rpool/ROOT/solaris/var 337M 58.2G 171M /var
rpool/dump 4.06G 62.3G 16K -
rpool/export 1.10M 58.2G 32K /export
rpool/export/home 1.07M 58.2G 1.04M /export/home
rpool/swap 2.06G 58.3G 2.00G -
# beadm activate solaris
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
hdlmboot R - 2.06G static 2011-12-06 11:37
solaris NR / 2.93G static 2011-11-29 14:42
# eeprom boot-device=/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@2,1/fp@0,0/disk@w50060e8010027a80,6:a
# init 6
ホストを再起動するとき,rebootコマンドは使わないでください。