[OpenAFS] Restoring a RW volume that had replicas

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


-----BEGIN PGP SIGNED MESSAGE-----
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.
>=20
> Let's say vos listvldb myvol states:
>=20
> RW: fs1 a RO: fs1 a RO: fs2 a RO: fs3 a RO: fs4 a
>=20
> 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.
>=20
> 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).
>=20
> You restore the RW myvol to fs2:c as myvol.R just fine.
>=20
> vos rename myvol.R myvol fails with "Already exists"
>=20
> Anyone want to take it from there?

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

MfG,
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


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

iEYEARECAAYFAk98AcUACgkQmWhuE0qbFyNX8QCcCRCYB+29lPbvxINk4xMk+Lk5
+84AnjsYu76DNlSglFbcQxI3NVGmVgzO
=3D0r34
-----END PGP SIGNATURE-----