[OpenAFS] Re: Restoring a RW volume that had replicas

Andrew Deason adeason@sinenomine.net
Tue, 3 Apr 2012 14:35:54 -0500

On Tue, 03 Apr 2012 15:27:37 -0400
Jeff Blaine <jblaine@kickflop.net> wrote:

> You restore the RW myvol to fs2:c as myvol.R just fine.
> vos rename myvol.R myvol fails with "Already exists"

Let's say that, for example:

myvol has volume id 12340
myvol.R has volume id 12349

'vos rename' just changes the name, not the volume id. So by running
that 'vos rename' command you're saying you want volume id 12349 to have
name 'myvol', but 'myvol' already exists with volume id 12340. That's
the error you're getting.

If you want to restore under the original volume name and id number,
'vos restore' to 'myvol' directly with -name and -id.

Andrew Deason