On Wed, Jul 08, 2009 at 08:56:30AM -0600, Chris Worley wrote:

> After upgrading, the root is mounted as "opensolaris-2", as in:
> 
> # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> rpool/ROOT/opensolaris-2
>                        5593880   5592078      1802 100% /
> ...
> 
> Is there some post-upgrade cleanup necessary to re-integrate this as
> the primary root (and get rid of package archives that have been
> installed, and the old root's boot, etc...)?

You can run "beadm destroy opensolaris" which will get rid of the old boot
environment, and possibly save you some disk space.  You can also blow away
the contents of /var/pkg/download, which may be costing you a fair amount
of space (though removing it will take a while).

But generally old BEs are kept around in case you run into trouble and need
to fall back to a known working environment.  And the download cache is
kept around because removing it takes so long (we're working on that) and
because it will help speed up zone installation, and any repair operations
you may need to do.  But on small disks, you may prefer to pay a network
penalty instead of a disk penalty.  Right now, you have to do that
manually.

Danek

Reply via email to