[OpenAFS] Restoring a RW volume that had replicas

Lars Schimmer l.schimmer@cgv.tugraz.at
Wed, 04 Apr 2012 10:09:41 +0200

Hash: SHA1

On 2012-04-03 21:27, Jeff Blaine wrote:
> I trip over this every time and end up making a whole lot of work=20
> for myself. Any knowledge you'd like to share would be=20
> appreciated.
> Let's say vos listvldb myvol states:
> RW: fs1 a RO: fs1 a RO: fs2 a RO: fs3 a RO: fs4 a
> Let's say fs1 dies one minute later and it is decided that it is=20
> not going to be replaced. It was purely a fileserver.
> Let's say I then snag a complete vos listvldb snapshot to a file
> so we know what was on fs1 (we will assume the VLDB reflects=20
> reality).
> You restore the RW myvol to fs2:c as myvol.R just fine.
> vos rename myvol.R myvol fails with "Already exists"
> Anyone want to take it from there?

Does a vos convertrotorw does help maybe?
Or is a vos restore from a .backup needed?

Lars Schimmer
- --=20
- -------------------------------------------------------------
TU Graz, Institut f=FCr ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/