Peter Brouwer, Principal Storage Architect wrote:
Shawn Walker wrote:
/var/pkg/pkg is where the manifests for packages are kept.
Does that need to be 5GB in size?
The packages are also available in /var/pkg/pkg.
No packages are stored in /var/pkg/pkg. The structure might lead you to
believe that is the case, but they are not stored there. Only the
manifests (the files that describe packages) and related metadata are
stored there.
I don't know of any reason why that directory would be 5GB. What does
du -sh /var/pkg/pkg say?
I suspect you're looking at the size of /var/pkg/download or /var/pkg.
So is it the history of previous releases that are kept there too?
Currently, yes, the manifests of previous releases you have upgraded
from are stored there. There is work ongoing to determine how best to
keep this particular directory "tidy."
It seems that using beadm to delete a previous boot environment does not
lead to a purge of the stored data in
/var/pkg/download
No, the data is downloaded to your original boot environment first, and
then the new boot environment is created as a clone, so all of the
download data persists across upgrades.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss