Let''s say I have two pools (each in its own HD), bootpool and rpool, -bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT bootpool 72K 9.78G 21K /bootpool rpool 7.53G 59.4G 97K /rpool rpool/ROOT 4.53G 59.4G 21K legacy rpool/ROOT/s10s_u8wos_08a 4.53G 59.4G 4.46G / rpool/ROOT/s10s_u8wos_08a/var 68.8M 59.4G 68.8M /var rpool/dump 1.00G 59.4G 1.00G - rpool/swap 2G 61.4G 16K - And I want to move all the contents in rpool to bootpool. What is the best way to to do? Snapshots and then zfs send/receive? If how, how would I then make the machine boot from the drive with the bootpool partition? I imagine I can go to openboot and then select there. But, if I am extremely lazy and just sawp the drives around, would that work?
Hi Mauricio, You can follow the steps in the root pool recovery section to help you see all the steps you need to create a bootable root pool, here: http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Root_Pool_Recovery The problem I see is that your bootpool is 9.78 GB and your current rpool contents are 7.53 GB so your disk space in bootpool will be extremely tight. Cindy On 11/06/09 15:19, Mauricio Tavares wrote:> Let''s say I have two pools (each in its own HD), bootpool and rpool, > > -bash-3.00# zfs list > NAME USED AVAIL REFER MOUNTPOINT > bootpool 72K 9.78G 21K /bootpool > rpool 7.53G 59.4G 97K /rpool > rpool/ROOT 4.53G 59.4G 21K legacy > rpool/ROOT/s10s_u8wos_08a 4.53G 59.4G 4.46G / > rpool/ROOT/s10s_u8wos_08a/var 68.8M 59.4G 68.8M /var > rpool/dump 1.00G 59.4G 1.00G - > rpool/swap 2G 61.4G 16K - > > And I want to move all the contents in rpool to bootpool. What is the > best way to to do? Snapshots and then zfs send/receive? If how, how > would I then make the machine boot from the drive with the bootpool > partition? I imagine I can go to openboot and then select there. But, > if I am extremely lazy and just sawp the drives around, would that > work? > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Cindy Swearingen wrote:> Hi Mauricio, > > You can follow the steps in the root pool recovery section to help > you see all the steps you need to create a bootable root pool, here: > > http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Root_Pool_Recovery >Thanks! I will give it a try later on.> > The problem I see is that your bootpool is 9.78 GB and your current > rpool contents are 7.53 GB so your disk space in bootpool will be > extremely tight. >Well, I am building this machine to run zones that *should* (big word here) be as self-sufficient (whole root zone) as they can be. So, all it has to have in the bootpool is enough to boot and start the zones. Stuff like gnone and X-windows (just to name a few) need not to be in bootpool. Right now they are there because by mistake I told it to install everything + kitchen sink. Now I need to do some uninstalling and fat trimming. I hope I can get it down to half its current size.> Cindy > > On 11/06/09 15:19, Mauricio Tavares wrote: >> Let''s say I have two pools (each in its own HD), bootpool and rpool, >> >> -bash-3.00# zfs list >> NAME USED AVAIL REFER MOUNTPOINT >> bootpool 72K 9.78G 21K /bootpool >> rpool 7.53G 59.4G 97K /rpool >> rpool/ROOT 4.53G 59.4G 21K legacy >> rpool/ROOT/s10s_u8wos_08a 4.53G 59.4G 4.46G / >> rpool/ROOT/s10s_u8wos_08a/var 68.8M 59.4G 68.8M /var >> rpool/dump 1.00G 59.4G 1.00G - >> rpool/swap 2G 61.4G 16K - >> >> And I want to move all the contents in rpool to bootpool. What is the >> best way to to do? Snapshots and then zfs send/receive? If how, how >> would I then make the machine boot from the drive with the bootpool >> partition? I imagine I can go to openboot and then select there. But, >> if I am extremely lazy and just sawp the drives around, would that >> work? >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss