beadm list
beadm create solaris-1
beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris NR / 2.41G static 2012-04-19 17:57
solaris-1 - - 57.0K static 2012-06-03 15:25
zfs list
...
rpool/ROOT/solaris 1.90G 12.2G 1.54G /
rpool/ROOT/solaris-1 56K 12.2G 1.54G /
rpool/ROOT/solaris-1/var 1K 12.2G 155M /var
rpool/ROOT/solaris/var 316M 12.2G 155M /var
...
beadm activate solaris-1
beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris N / 41.0K static 2012-04-19 17:57
solaris-1 R - 2.41G static 2012-06-03 15:25
init 6
beadm list
pkg install diffstat
beadm activate solaris
beadm list
pkg list diffstat
beadm mount solaris-1 /solaris-1
beadm list
pkg -R /solaris-1 verify -v diffstat
pkg -R /solaris-1 uninstall diffstat
beadm unmount solaris-1
beadm create solaris@backup
zfs set snapdir=visible rpool/ROOT
ls /.zfs/snapshot
2012-06-03-13:25:58 backup install
beadm list -a solaris
BE/Dataset/Snapshot Active Mountpoint Space Policy Created
------------------- ------ ---------- ----- ------ -------
solaris
rpool/ROOT/solaris NR / 2.02G static 2012-04-19 17:57
rpool/ROOT/solaris/var - /var 347.05M static 2012-04-19 17:57
rpool/ROOT/solaris/var@2012-06-03-13:25:58 - - 97.17M static 2012-06-03 15:25
rpool/ROOT/solaris/var@backup - - 44.0K static 2012-06-03 15:47
rpool/ROOT/solaris/var@install - - 161.32M static 2012-04-19 18:00
rpool/ROOT/solaris@2012-06-03-13:25:58 - - 85.79M static 2012-06-03 15:25
rpool/ROOT/solaris@backup - - 26.0K static 2012-06-03 15:47
rpool/ROOT/solaris@install - - 48.08M static 2012-04-19 18:00
beadm create -e solaris@backup solaris-2
beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris NR / 2.74G static 2012-04-19 17:57
solaris-1 - - 142.79M static 2012-06-03 15:25
solaris-2 - - 57.0K static 2012-06-03 15:51
beadm destroy solaris-2
*(cannot be undone)*
*(also removes the snapshot)*
beadm rename solaris-1 solaris-alt
pkg -R /solaris-1 verify -v diffstat