<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 19, 2015 at 8:01 PM, 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">do cinder retype (v2) works for lvm?<br>
How to use cinder retype?<br></blockquote><div><br></div><div>As far as I remember, LVM doesn't really leverage volume types. What types did you define, and what command are you running?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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></blockquote><div><br></div><div>It should work. Please provide the commands you ran, the result, and all relevant logs.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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?</blockquote><div><br></div><div>There are several driver APIs that you can implement. First, you are most likely inheriting generic migration/retype from the base driver class. This works by creating a new volume, and moving data from the original to the new either using the hypervisor (for an attached volume) or by attaching both volumes to a server running cinder-volume and running dd. Your driver may be able to do more optimized migrations/retypes by implementing the respective APIs. The IBM storwize/svc driver implements both, as do several others - I suggest you look at them for examples.</div><div><br></div><div>Thanks,</div><div>Avishay</div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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>
</div></div>