[OpenAFS] restoring volumes
Ron Croonenberg
ronc@depauw.edu
Fri, 05 Aug 2005 13:27:32 -0500
btw the 2 servers are not in the same cell.
the old cell is called csc.depauw.edu the new cell is called afs-1.csc.depa=
uw.edu
>>> "Dexter 'Kim' Kimball" <dhk@ccre.com> 08/05/05 1:16 PM >>>
Let's see.
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 "
"vos release"
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
Kim (Dexter) Kimball
CCRE, Inc.
kim<dot>kimball<at>jpl.nasa.gov
dhk<at>ccre.com
-----Original Message-----
From: Ron Croonenberg [mailto:ronc@depauw.edu]=20
Sent: Friday, August 05, 2005 12:05 PM
To: dhk@ccre.com; openafs-info@openafs.org
Subject: RE: [OpenAFS] restoring volumes
=20
=20
Ahh...ok...
=20
Well let me explain what I am trying to do, at least it's=20
a plan I have.
=20
- I want to dump a volume with vos on the old server, let's say
"homestaff.cowboy"
- move the dumpfile to the new server
- restore the dumpfile with vos on the new server to a=20
volume called
homestaff.cowboy
=20
So maybe I need a bit different approach ?
=20
Ron
=20
=20
>>> "Dexter 'Kim' Kimball" <dhk@ccre.com> 08/05/05 1:02 PM >>>
Ron,
=20
Specify a different value after "-name"
=20
The volume will be restored to the specified server and=20
partition -- as a
read write volume.
=20
The ".backup" volume name extension won't work (it's=20
reserved) and is
causing your "restore name" to exceed the 22 char limit.
=20
If you want to restore over the existing RW volume put it=20
on the same server
and partition, use the same name, and specify -overwrite.
=20
Otherwise give it a new name (homestaff.cowboy.R e.g.),=20
mount it, fix the
existing volume ... etc.
=20
Kim
=20
=20
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Kim (Dexter) Kimball
CCRE, Inc.
kim<dot>kimball<at>jpl.nasa.gov
dhk<at>ccre.com
=20
=20
=20
-----Original Message-----
From: openafs-info-admin@openafs.org=20
[mailto:openafs-info-admin@openafs.org] On Behalf Of Ron=20
Croonenberg
Sent: Friday, August 05, 2005 11:28 AM
To: openafs-info@openafs.org
Subject: [OpenAFS] restoring volumes
=20
=20
Hello,
=20
I dumped a volume on an old afs server and try to restore=20
it on the new server. This is what I see:
=20
[root@afs-1 vicepb]# vos restore -server=20
afs-1.csc.depauw.edu -partition /vicepa -name=20
homestaff.cowboy.backup -file=20
/vicepb/homestaff.cowboy.backup -cell afs-1.csc.depauw.edu=20
=20
=20
=20
vos: the name of the volume homestaff.cowboy.backup=20
exceeds the size limit
=20
Does vos restore create the volume ? I didn't see the=20
volume homestaff.cowboy.backup. There is a volume called=20
homestaff.cowboy on the new server though.
=20
Ron
=20
=20
=20
=20
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info
=20
=20
=20
=20
=20
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info