Danek Duvall wrote:
On Mon, Mar 23, 2009 at 01:00:41PM -0500, Shawn Walker wrote:
One thing I think we'll need to address soon is automated pruning of older
manifests. I have a system that I've been upgrading since build 86;
/var/pkg/pkg is now 711M as of build 110.
My thought was that we could change the client to remove all manifests for
a package except the one that was just installed in pkgplan:postexecute().
That's way too aggressive. We need to have manifests for all installed
packages.
I'm confused; I said remove all of them *except* the one that was just
installed *for a package*. In other words, postexecute of an individual
package would remove all of the old manifests for *that package only*.
Note, though, that as we currently have the datasets laid out, deleting old
manifests won't actually save any space, as the blocks will still be
allocated for the old BEs. In fact, disk usage will increase slightly, to
record the fact that the files are no longer available in newer snapshots.
We'll have to delete old BEs for metadata pruning to be useful, or put the
metadata into a dataset which is shared among BEs.
Right, but for those users that actually remove their old BEs, this
would save space and it should also have a minor performance improvement
for client operations that walk the pkg dir, right?
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss