[8353] in Info-AFS_Redistribution
Re: Replication volume swaps
daemon@ATHENA.MIT.EDU (Russ Allbery)
Thu Dec 28 19:25:10 2000
To: info-afs@transarc.com
In-Reply-To: Jeff Blaine's message of "Thu, 28 Dec 2000 17:56:50 -0500"
From: Russ Allbery <rra@stanford.edu>
Date: 28 Dec 2000 16:01:35 -0800
Message-ID: <yl66k4aye8.fsf@windlord.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Jeff Blaine <jblaine@linus.mitre.org> writes:
> This seems really silly to ask (to me...), but here goes:
> Given a file server 'afs1' which contains replica volumes on partition
> /vicepa, a file server 'afs2' which is empty, and given that there are
> no other replica servers for those volumes (just the read-write vols ...
> bare with me),
It's usually worth putting one replica on the same server and partition as
the read/write, since it's essentially free (in that it doesn't take up
any disk space unless there are pending unreleased changes).
> what's the best way to change (move, not add) the replication site of
> some volumes on afs1:/vicepa to afs2:/vicepa ?
vos addsite afs2 /vicepa volume
vos release volume
vos remove afs1 /vicepa volume.readonly
At least, that's what we've always done.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>