On 04/01/2014 05:13 PM, John Griffith wrote: > On Tue, Apr 1, 2014 at 3:34 PM, Dimitri Maziuk <[email protected]>wrote: >> >> is there a command to migrate a volume from one cinder host to another?
> [root@osc-1 cinder]# cinder help migrate > usage: cinder migrate [--force-host-copy <True|False>] <volume> <host> FYI: this does not work with bootable volumes. That is, it will make a copy of the volume on <host> with new uuid. And since simply re-attaching /dev/vda doesn't seem to be possible, you have to either nuke and re-create the instance or spend an unknown amount of time trying to figure out exactly which tables and xmls you have to edit where and what services you need to restart afterwards. So the answer is you can't move any volume from one storage host to another, you can only copy unattached volumes. This adds to the long list of issues I have with lvm. I wish there was a usable zfs backend... for now I'm nuking lvm from this storage node and switching to nfs. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
