[OpenAFS] Automatic move of volumes

Frank Burkhardt fbo2@gmx.net
Wed, 24 Oct 2007 15:04:09 +0200


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