[OpenAFS] Automatic move of volumes

Steve Devine sdevine@msu.edu
Wed, 24 Oct 2007 09:31:55 -0400


Frank Burkhardt wrote:
> On Wed, Oct 24, 2007 at 01:34:51PM +0200, Jacob Volstrup wrote:
>   
>> Hi,
>>
>> For quite some time I've been searching for something to help me move
>> some volumes from a constantly failing /vicepa raid to my new /vicepb.
>> The reason for not doing this manually is partly that I'm lazy and
>> Further, I would like to have this fully automated if I would like to
>> move them back in the future (perhaps when the disks for /vicepa are
>> replaced).
>>     
>
> If you can afford some downtime, the most efficient way is to simply copy
> the files from /vicepa to /vicepb on the server's filesystem:
>
>  cd /vicepa;cp -a . /vicepb
>
> Make sure, /vicepb is empty before that.
>
> Warning: This worked for me lots of times but be carefull anyway.
>
> Regards,
>
> Frank
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>   
Wow this seems like a recipe for disaster. Do you then sync the vldb or 
rename the partiton to vicepa ?
/sd

-- 
Steve Devine
Network Storage and Printing
Academic Computing & Network Services
Michigan State University

506 Computer Center
East Lansing, MI 48824-1042
1-517-432-7327

Baseball is ninety percent mental; the other half is physical.
- Yogi Berra