[OpenAFS] Re: re doing rm in /vice*
Andrew Deason
adeason@sinenomine.net
Thu, 23 Aug 2012 19:25:31 -0500
On Thu, 23 Aug 2012 14:55:46 -0400
Steve Simmons <scs@umich.edu> wrote:
> Removing the .vol file does have some downsides. In particular, it
> eventually convinces the server that it doesn't have a copy of the
> volume, but you never get back whatever space was actually consumed by
> files which older versions lying around. If that's a small amount, you
> can ignore it. If it's a significant amount, you may want that back.
Also, if you 'vos zap -force' the RO/BK volume id, the volume will be
deleted pretty similarly as if you just 'rm'ed a few of those files. It
still has that problem, though, of leaking space.
> The only way I know of to get it is to vos move everything to another
> server, then salvage the entire partition. Vague memory tells me that
> doesn't always help; in such cases I had to take the partition offline
> and do a mkfs on it.
Salvaging the RW after doing this should reclaim the relevant space; it
should set the reference counts to what they are supposed to be.
--
Andrew Deason
adeason@sinenomine.net