Hi Axelle, Axelle Apvrille wrote: > Hi, > I've already sent a few posts around this issue, but haven't quite got the > answer - so I'll try to clarify my question :) > > Since I have upgraded from 2008.11 to 2009.06 a new BE has been created. On > ZFS, that corresponds to two file systems, both (strangely) mounted on /. To clarify - both have a mountpoint of '/' but only one gets mounted at a time (depending on which one you boot into), unless you use the "beadm mount" command to temporarily mount the other one. (The beadm list command reflects this: the current BE is mounted on '/' and the other one is not mounted, as indicated by the '-') > The old BE corresponds to a file system of 7G, the new one to a fs of 3G. As > I fall short of space and do not need the old 2008.11 any more, I would like > to work out how to delete it. I know I should do beadm destroy <name>. But > before I do that I would like to understand what I am erasing in those 7G > (makes sense, doesn't it ?). > > In particular, I'd like to: > - understand what's in that old 7G ? > The old 7G is the bits needed to run the originally installed environment (2008.11 in your case). > - understand why the new environment only takes 3G > ZFS and beadm don't create full copies. So, the 3G in the new BE is all the new "stuff" from 2009.06 that wasn't in 2008.11. > - possibly mount the old 7G to check what's inside ? I'm surprised it is said > to be mounted on / > Yes. Use "beadm mount opensolaris /mnt" and navigate over to /mnt. Or, boot into the old BE next time you restart. > - understand what beadm destroy actually destroys ! > I'm hesitant to answer this because I don't want to tell you to destroy something irrevocably, and I don't know all the nitty details just yet (still learning some of this myself). But on a high level, beadm destroy will wipe out the bits in the orginal 2008.11 installation that aren't needed for the 2009.06 BE. So, it won't free up 7G for you - probably somewhere around 2-3G (but that's a total guess).
Before you beadm destroy the original, I would make *absolutely* sure that your system is running as you want it to in the new BE. - Keith > Thanks very much ! > Axelle > > $ zfs list > NAME USED AVAIL REFER MOUNTPOINT > rpool 42.1G 5.90G 1.42G /a/rpool > rpool/ROOT 10.5G 5.90G 18K legacy > rpool/ROOT/opensolaris 7.18G 5.90G 6.75G / > rpool/ROOT/opensolaris-1 3.30G 5.90G 7.39G / > rpool/dump 895M 5.90G 895M - > rpool/export 28.4G 5.90G 19K /export > rpool/export/home 28.4G 5.90G 654M /export/home > rpool/export/home/axelle 27.8G 5.90G 27.4G /export/home/axelle > rpool/swap 895M 6.69G 88.3M - > > $ beadm list > BE Active Mountpoint Space Policy Created > -- ------ ---------- ----- ------ ------- > opensolaris - - 7.57G static 2009-01-03 13:18 > opensolaris-1 NR / 3.42G static 2009-07-20 22:38 >