[OpenAFS] restoring volumes
Dexter 'Kim' Kimball
Fri, 5 Aug 2005 12:16:19 -0600
If the two servers are in the same cell the vos restore will fail -- can't
have 2 instances of a RW volume, and the example you give would leave
homestaff.cowboy as a RW on two different servers.
If the two servers are in different cells then you want to get admin tokens
for both cells and use "vos dump .... | vos restore .... -cell <othercell>"
If you want to replicate the volume within a given cell use "vos addsite "
If you want to replicate the volume within a given cell but want default
access to be to the RW volume, create a RW mount point (fs mkm .... -rw).
Not sure what you're after. Probably a case I didn't cover :)
Kim (Dexter) Kimball
From: Ron Croonenberg [mailto:firstname.lastname@example.org]
Sent: Friday, August 05, 2005 12:05 PM
To: email@example.com; firstname.lastname@example.org
Subject: RE: [OpenAFS] restoring volumes
Well let me explain what I am trying to do, at least it's
a plan I have.
- I want to dump a volume with vos on the old server, let's say
- move the dumpfile to the new server
- restore the dumpfile with vos on the new server to a
So maybe I need a bit different approach ?
>>> "Dexter 'Kim' Kimball" <email@example.com> 08/05/05 1:02 PM >>>
Specify a different value after "-name"
The volume will be restored to the specified server and
partition -- as a
read write volume.
The ".backup" volume name extension won't work (it's
reserved) and is
causing your "restore name" to exceed the 22 char limit.
If you want to restore over the existing RW volume put it
on the same server
and partition, use the same name, and specify -overwrite.
Otherwise give it a new name (homestaff.cowboy.R e.g.),
mount it, fix the
existing volume ... etc.
Kim (Dexter) Kimball
[mailto:firstname.lastname@example.org] On Behalf Of Ron
Sent: Friday, August 05, 2005 11:28 AM
Subject: [OpenAFS] restoring volumes
I dumped a volume on an old afs server and try to restore
it on the new server. This is what I see:
[root@afs-1 vicepb]# vos restore -server
afs-1.csc.depauw.edu -partition /vicepa -name
/vicepb/homestaff.cowboy.backup -cell afs-1.csc.depauw.edu
vos: the name of the volume homestaff.cowboy.backup
exceeds the size limit
Does vos restore create the volume ? I didn't see the
volume homestaff.cowboy.backup. There is a volume called
homestaff.cowboy on the new server though.
OpenAFS-info mailing list