[openstack-dev] what code in cinder volume driver supports volume migration between two backends of same type but having different volume types? [cinder]
Nikesh Kumar Mahalka
nikeshmahalka at vedams.com
Sun Mar 1 19:37:29 UTC 2015
Thanks,
I think if these informations are added in openstack documents having topic
"volume migration" then it would be good for new folks in cinder.
Regards
Nikesh
On Sun, Mar 1, 2015 at 10:12 PM, Duncan Thomas <duncan.thomas at gmail.com>
wrote:
> 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 <avishay at stratoscale.com> wrote:
>
>> 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 requirement that you specified. To migrate it, you should change the
>> volume type (retype), which changes the requirement.
>>
>> Thanks,
>> Avishay
>>
>> On Sat, Feb 28, 2015 at 11:02 AM, Nikesh Kumar Mahalka <
>> nikeshmahalka at vedams.com> wrote:
>>
>>> 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.
>>> When i am trying volume migration on a volume without volume type,then
>>> my volume migration function is getting called and i am able to do
>>> volume migration.
>>>
>>> But when i am trying volume migration on a volume having volume
>>> type,then my volume migration function is not getting called.
>>>
>>>
>>> http://paste.openstack.org/show/183392/
>>> http://paste.openstack.org/show/183405/
>>>
>>>
>>>
>>> On Tue, Jan 20, 2015 at 12:31 AM, Nikesh Kumar Mahalka
>>> <nikeshmahalka at vedams.com> wrote:
>>> > do cinder retype (v2) works for lvm?
>>> > How to use cinder retype?
>>> >
>>> > I tried for volume migration from one volume-type LVM backend to
>>> > another volume-type LVM backend.But its failed.
>>> > How can i acheive this?
>>> >
>>> > Similarly i am writing a cinder volume driver for my array and want to
>>> > migrate volume from one volume type to another volume type for my
>>> > array backends.
>>> > so want to know how can i achieve this in cinder driver?
>>> >
>>> >
>>> >
>>> > Regards
>>> > Nikesh
>>>
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>>
>>
>> --
>> *Avishay Traeger*
>> *Storage R&D*
>>
>> Mobile: +972 54 447 1475
>> E-mail: avishay at stratoscale.com
>>
>>
>>
>> Web <http://www.stratoscale.com/> | Blog
>> <http://www.stratoscale.com/blog/> | Twitter
>> <https://twitter.com/Stratoscale> | Google+
>> <https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts>
>> | Linkedin <https://www.linkedin.com/company/stratoscale>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Duncan Thomas
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150302/bbf7cbd0/attachment.html>
More information about the OpenStack-dev
mailing list