ZFS Live Upgrade

lustatus
# lucreate -n zfsnv_952BE
# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
zfsnv_95 yes yes yes no -
zfsnv_952BE yes no no yes -

# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 6.86G 9.63G 62K /rpool
rpool/ROOT 5.85G 9.63G 18K legacy
rpool/ROOT/zfsnv_95 5.85G 9.63G 5.85G
rpool/ROOT/zfsnv_95@zfsnv_952BE 112K - 5.85G -
rpool/ROOT/zfsnv_952BE 135K 9.63G 5. 85G /tmp/.alt.luupdall.20340
rpool/dump 512M 9.63G 512M -
rpool/export 38K 9.63G 20K /export
rpool/export/home 18K 9.63G 18K /export/home
rpool/swap 518M 9.63G 518M -


boot -L command to display a list of available BEs

ok boot -L
Rebooting with command: boot -L
Boot device: /pci@1f,0/pci@1/scsi@4,1/disk@2,0:a File and args: -L
1 zfsnv_95
2 zfsnv_952BE
Select environment to boot: [ 1 - 2 ]: 2
To boot the selected entry, invoke:
boot [<root-device>] -Z rpool/ROOT/zfsnv_952BE
Program terminated
ok boot -Z rpool/ROOT/zfsnv_952BE


===========================================
Live upgradation

# lucreate -n newBE -m /:cXdYsZ:ufs
# luupgrade -n newBE -u -s </path/to/snv_90>
# luactivate newBE
# init 6


==============================================
installboot -F zfs /usr/platform/‘uname -i‘/lib/fs/zfs/bootblk /dev/rdsk/c0t1d0s0