Zfs BOOT x86

De Le Wiki de Bibiche Solaris Sun Sparc Veritas San Nas Svm Sds Vxfs Vxvm Vmware Zone LiveUpgrade Cfengine OcsInventory Flar Pool Jumpstart Zfs
Aller à : navigation, rechercher
_______________________________________________________

root@sol11v2:~# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris - - 11.69M static 2012-11-04 12:00
solaris-1 - - 20.24M static 2012-11-04 13:52
solaris-2 NR / 11.41G static 2012-11-06 00:45

root@sol11v2:~# beadm list -d -s
BE/Dataset/Snapshot Active Mountpoint Space Policy Created
------------------- ------ ---------- ----- ------ -------
solaris
rpool/ROOT/solaris - - 8.37M static 2012-11-04 12:00
rpool/ROOT/solaris/var - - 3.32M static 2012-11-04 12:00
solaris-1
rpool/ROOT/solaris-1 - - 14.11M static 2012-11-04 13:52
rpool/ROOT/solaris-1/var - - 6.13M static 2012-11-04 13:52
solaris-2
rpool/ROOT/solaris-2 NR / 8.20G static 2012-11-06 00:45
rpool/ROOT/solaris-2/var - /var 1.61G static 2012-11-06 00:45
rpool/ROOT/solaris-2/var@2012-11-04-12:52:50 - - 307.62M static 2012-11-04 13:52
rpool/ROOT/solaris-2/var@2012-11-05-23:45:50 - - 62.19M static 2012-11-06 00:45
rpool/ROOT/solaris-2/var@install - - 151.12M static 2012-11-04 12:14
rpool/ROOT/solaris-2@2012-11-04-12:52:50 - - 96.39M static 2012-11-04 13:52
rpool/ROOT/solaris-2@2012-11-05-23:45:50 - - 960.57M static 2012-11-06 00:45
rpool/ROOT/solaris-2@install - - 53.59M static 2012-11-04 12:14

root@sol11v2:~# beadm destroy solaris-1
Are you sure you want to destroy solaris-1? This action cannot be undone(y/[n]): y

root@sol11v2:~# beadm list -d -s
BE/Dataset/Snapshot Active Mountpoint Space Policy Created
------------------- ------ ---------- ----- ------ -------
solaris
rpool/ROOT/solaris - - 8.37M static 2012-11-04 12:00
rpool/ROOT/solaris/var - - 3.32M static 2012-11-04 12:00
solaris-2
rpool/ROOT/solaris-2 NR / 7.20G static 2012-11-06 00:45
rpool/ROOT/solaris-2/var - /var 1.55G static 2012-11-06 00:45
rpool/ROOT/solaris-2/var@2012-11-04-12:52:50 - - 342.04M static 2012-11-04 13:52
rpool/ROOT/solaris-2/var@install - - 151.12M static 2012-11-04 12:14
rpool/ROOT/solaris-2@2012-11-04-12:52:50 - - 129.71M static 2012-11-04 13:52
rpool/ROOT/solaris-2@install - - 53.59M static 2012-11-04 12:14

root@sol11v2:~# bootadm update-archive

root@sol11v2:~# bootadm list-menu
the location of the boot loader configuration files is: /rpool/boot/grub
default 1
console graphics
timeout 30
splashimage /boot/grub/splash.jpg
foreground 343434
background F7FBFF
0 Oracle Solaris 11 11/11
1 solaris-2

root@sol11v2:~# beadm destroy solaris
Are you sure you want to destroy solaris? This action cannot be undone(y/[n]): y

root@sol11v2:~# bootadm update-archive

root@sol11v2:~# bootadm list-menu
the location of the boot loader configuration files is: /rpool/boot/grub
default 0
console graphics
timeout 30
splashimage /boot/grub/splash.jpg
foreground 343434
background F7FBFF
0 solaris-2
root@sol11v2:~#