On Mar 15, 2007, at 9:03 AM, Jose Angel Herrero wrote:

We have an afs cell (atc.unican.es) installed in a HP Proliand DL380 G3 and Linux (Debian 3.0 r2) server. The afs partitions (vicepxx) for this cell are located in a HP MSA20 (SATA disk drive storage enclosure with 12 SATA disks with Ultra320 SCSI host connectivity and 6 TB). Now, we want migrate this cell (fileserver and dbserver) from this server to another server and we do not want to lose the data of our cell. We want to change the server (hardware), but no the disk library (vicepxx). We want to conserve the data in this disk library.

So, we would like to know if there is some mechanism from afs admin commands suite that allows us to migrate it.

There's nothing I know of standard in the afs admin commands, but here's a little shell script I use for that purpose. It expects as input a list of volume/server/partition indicators, one per line:

    user.foo server.do.main a

and will move them to a server/partition pair you set in the script. One nice feature of this is that you can make it pause or stop in mid- run without having to interrupt anything. Another is that you can set it to move 1/n-th of the volumes by resetting "DO=n". Read the script for details.

Note: does not attempt to handle readonly volumes.

One of these days Real Soon Now I'll get around to modifying the script to automagicly find volumes from a list and to take the target fileserver/partition as switches.


Attachment: mvvols
Description: Binary data


Reply via email to