solaris 11 exercise zfs (5) restore rootpool from remote system

ok boot cdrom -s
# mount -F nfs remote-system:/rpool/snaps /mnt
# zpool create -f -o  \ failmode=continue -R /a -m legacy -o cachefile=/etc/zfs/zpool.cache rpool c1t0d0s0

# cat /mnt/rpool.0311 | zfs receive -Fdu rpool
# zpool set bootfs=rpool/ROOT/osolBE rpool
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.