[OpenAFS-devel] Adding an "estimate" function to vlserver
Mitch Collinsworth
mitch@ccmr.cornell.edu
Fri, 4 Apr 2003 12:57:53 -0500 (EST)
On Fri, 4 Apr 2003, Neulinger, Nathan wrote:
> I agree with Mitch that adding the new command would be the best way to
> go here. However, it isn't really an "estimate", since it should be able
> to determine an exact size that the dump will be.
>
> Perhaps "vos size". I'd say dumpsize, but that would likely cause
> problems with command abbreviation.
Good point. 'Estimate' is amanda lingo. Our code does determine exact
size, so yes 'vos size' makes more sense. Thanks for pointing this out.
> Might be worth considering whether to add some options to the command to
> maybe consider other sizing information.
>
> For example:
>
> vos size -id volname -from X -dump size of the dump, make
> from optional to allow sizing an incremental dump as well...
> vos size -id volname -files return number of files/dirs on
> volume
> vos size -id volume -from X -files return number of
> files/dirs on volume changed in that incremental
> vos size -id volume -from X -overhead return amount of
> "wasted" space in dump due to dumping of directory information. In some
> volumes on our server, this can be quite considerable for volumes that
> have a large directory structure, but only a tiny amount of file
> changes.
Agree. We do need the -from for our project, and had already coded that
feature in our standalone utility. These other options sound easy
enough to add. The programmer who did the original work a couple summers
ago is back with us for a (very) short time and I want to move the amanda
project forward as much as possible while we have him. Once the basic
stuff is done I'll ask him to add these if there is still time.
> -- Nathan
-Mitch