<div dir="ltr"><div><div><div><div><br></div>Thanks,<br></div>I think if these informations are added in openstack documents having topic "volume migration" then it would be good for new folks in cinder.<br><br></div>Regards<br></div>Nikesh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 1, 2015 at 10:12 PM, Duncan Thomas <span dir="ltr"><<a href="mailto:duncan.thomas@gmail.com" target="_blank">duncan.thomas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Migrate - move between backends of the same volume type<br></div>Retype - move between types. Will migrate the volume for you if necessary<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On 1 March 2015 at 09:40, Avishay Traeger <span dir="ltr"><<a href="mailto:avishay@stratoscale.com" target="_blank">avishay@stratoscale.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nikesh,<br>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.<br><div><br></div><div>Thanks,<br>Avishay</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Sat, Feb 28, 2015 at 11:02 AM, Nikesh Kumar Mahalka <span dir="ltr"><<a href="mailto:nikeshmahalka@vedams.com" target="_blank">nikeshmahalka@vedams.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried below link for volume migration on my driver and also similar<br>
efforts for LVM.<br>
Even whatever documents available in openstack for<br>
volume-migration,each one showing volume migration of a volume having<br>
volume type None<br>
<br>
I added host assisted volume migration function in my cinder driver.<br>
When i am trying volume migration on a volume without volume type,then<br>
my volume migration function is getting called and i am able to do<br>
volume migration.<br>
<br>
But when i am trying volume migration on a volume having volume<br>
type,then my volume migration function is not getting called.<br>
<br>
<br>
<a href="http://paste.openstack.org/show/183392/" target="_blank">http://paste.openstack.org/show/183392/</a><br>
<a href="http://paste.openstack.org/show/183405/" target="_blank">http://paste.openstack.org/show/183405/</a><br>
<br>
<br>
<br>
On Tue, Jan 20, 2015 at 12:31 AM, Nikesh Kumar Mahalka<br>
<<a href="mailto:nikeshmahalka@vedams.com" target="_blank">nikeshmahalka@vedams.com</a>> wrote:<br>
> do cinder retype (v2) works for lvm?<br>
> How to use cinder retype?<br>
><br>
> I tried for volume migration from one volume-type LVM backend to<br>
> another volume-type LVM backend.But its failed.<br>
> How can i acheive this?<br>
><br>
> Similarly i am writing a cinder volume driver for my array and want to<br>
> migrate volume from one volume type to another volume type for my<br>
> array backends.<br>
> so want to know how can i achieve this in cinder driver?<br>
><br>
><br>
><br>
> Regards<br>
> Nikesh<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b style="font-size:12.7272720336914px"><font color="#666666">Avishay Traeger</font></b><br></div><div><i><font color="#666666">Storage R&D</font></i></div><div><span style="color:rgb(102,102,102);font-size:12.7272720336914px"><br></span></div><div><span style="color:rgb(102,102,102)">Mobile:</span><span style="color:rgb(102,102,102)"> </span><a value="+972524317955" style="color:rgb(17,85,204)">+972 54 447 1475</a><br></div><div><font color="#666666">E-mail: <a href="mailto:avishay@stratoscale.com" style="color:rgb(17,85,204)" target="_blank">avishay@stratoscale.com</a></font></div><div><font color="#666666"><br></font></div><div><img src="http://www.stratoscale.com/wp-content/uploads/Logo-Signature-Stratoscale-230.jpg"><br></div><div><font color="#666666"><br></font></div><div><p style="margin:0in"><a href="http://www.stratoscale.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial;font-size:9.75pt">Web</span></a><span style="font-family:arial;font-size:9.75pt"> | </span><a href="http://www.stratoscale.com/blog/" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial;font-size:9.75pt">Blog</span></a><span style="font-family:arial;font-size:9.75pt;color:rgb(108,163,214)"> | </span><a href="https://twitter.com/Stratoscale" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial;font-size:9.75pt">Twitter</span></a><span style="font-family:arial;font-size:9.75pt;color:rgb(108,163,214)"> | <a href="https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts" style="color:rgb(17,85,204)" target="_blank">Google+</a> | </span><span style="font-family:arial;font-size:9.75pt"><a href="https://www.linkedin.com/company/stratoscale" style="color:rgb(17,85,204)" target="_blank">Linkedin</a></span></p></div></div></div></div></div></div></div>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div><span class="HOEnZb"><font color="#888888"><div>Duncan Thomas</div>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>