[OpenAFS] mass moving volumes from server to server ?
Jeffrey Altman
jaltman@secure-endpoints.com
Tue, 1 May 2018 16:47:51 -0400
This is a cryptographically signed message in MIME format.
--------------ms050606020508010104000300
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
On 5/1/2018 4:36 PM, Jeffrey Altman wrote:
> Hi Gary,
>=20
> On 5/1/2018 3:23 PM, Gary Gatling wrote:
>> Hello,
>>
>> I was wondering if any users or developers have a solution for moving
>> all the volumes from one server to another?
>=20
> As an AuriStorFS licensee you have access to the AuriStorFS vos command=
> and its "vos eachvol" command. To move RW volumes you need the "vos
> move" operation and for RO volumes you need the "vos movesite" operatio=
n.
>=20
> vos eachvol -server <server> -partition <partition> -ro \
> -format "vos movesite -roid %n -fromserver %s -frompartition %p \
> -toserver <server> -topartition <partition>" \
> -execute
>=20
> vos eachvol -server <server> -partition <partition> -rw \
> -format "vos move -id %n -toserver <server> \
> -topartition <partition>" \
> -execute
>=20
> will move all of the RO volumes and then all of the RW volumes.
An alternative is Russ Allbery's "mvto" command script
https://www.eyrie.org/~eagle/software/afs-admin-tools/mvto.html
--------------ms050606020508010104000300
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
DJowggYBMIIE6aADAgECAhBAAV7gKbDFpPivxsU6EhRkMA0GCSqGSIb3DQEBCwUAMDoxCzAJ
BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEy
MB4XDTE3MTAwMzAyNTYyMloXDTE4MTEwMzAyNTYyMlowgZUxNTAzBgNVBAsMLFZlcmlmaWVk
IEVtYWlsOiBqYWx0bWFuQHNlY3VyZS1lbmRwb2ludHMuY29tMSswKQYJKoZI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