[OpenAFS] move RO volume

Derrick Brashear shadow@gmail.com
Mon, 2 Feb 2009 11:09:14 -0500


On Mon, Feb 2, 2009 at 10:15 AM, Hartmut Reuter <reuter@rzg.mpg.de> wrote:
> Chaz Chandler wrote:
>>
>> You could do it another way: vos dump from source partition and vos
>> restore to
>> destination.  But generally the easiest way is addsite/remsite.
>>
>> Note that vos remsite is the command to remove an RO volume, not vos
>> remove.
>
> This is not true:
>
> vos remsite lets the vldb forget about the RO, but it doesn't remove it from
> the partition.
>
> If you end up with the same RO on more than one partition on your server
> only the first one (depending on the order in which the partitions get
> attached) will come on-line. The other one(s) remain off-line.

Worse than that. Volume operations update the one in the vldb; File
uses attachment order.

Current versions of OpenAFS work very hard to ensure this doesn't happen.