Re: [openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types? [cinder]

2015-03-01 Thread Duncan Thomas
Please do feel free to write a patch - you can probably do the best job, given that the questions are still fresh in your mind. On 1 March 2015 at 21:37, Nikesh Kumar Mahalka nikeshmaha...@vedams.com wrote: Thanks, I think if these informations are added in openstack documents having topic

Re: [openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types? [cinder]

2015-03-01 Thread Duncan Thomas
Migrate - move between backends of the same volume type Retype - move between types. Will migrate the volume for you if necessary On 1 March 2015 at 09:40, Avishay Traeger avis...@stratoscale.com wrote: Nikesh, The case you are trying is supposed to fail. You have a volume of type

Re: [openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types? [cinder]

2015-02-28 Thread Nikesh Kumar Mahalka
I tried below link for volume migration on my driver and also similar efforts for LVM. Even whatever documents available in openstack for volume-migration,each one showing volume migration of a volume having volume type None I added host assisted volume migration function in my cinder driver.

Re: [openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types? [cinder]

2015-02-28 Thread Avishay Traeger
Nikesh, The case you are trying is supposed to fail. You have a volume of type dothill_realstor1 which is defined to say this volume must be on backend DotHill_RealStor1. This is a requirement that you defined for that volume. Now you want to migrate it to realstor2, which is a violation of the

Re: [openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types?

2015-01-21 Thread Avishay Traeger
On Mon, Jan 19, 2015 at 8:01 PM, Nikesh Kumar Mahalka nikeshmaha...@vedams.com wrote: do cinder retype (v2) works for lvm? How to use cinder retype? As far as I remember, LVM doesn't really leverage volume types. What types did you define, and what command are you running? I tried for

Re: [openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types?

2015-01-19 Thread Mike Perez
On 00:31 Tue 20 Jan , Nikesh Kumar Mahalka wrote: do cinder retype (v2) works for lvm? How to use cinder retype? In the future, please have your subject prefixed with [cinder]. I tried for volume migration from one volume-type LVM backend to another volume-type LVM backend.But its