<br><br><div class="gmail_quote">On Fri, Sep 16, 2011 at 5:57 PM, Theo Band <span dir="ltr"><<a href="mailto:theo.band@greenpeak.com">theo.band@greenpeak.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 09/16/2011 05:03 AM, Muhammad Panji wrote:<br>
> Dear All,<br>
> I plan to replace an error disk that is part of an LV. from LVM how-to<br>
> it could be done with using pvmove to move all PE from old disk to new<br>
> disk.But the howto also said that pvmove is slow. Anyone has<br>
> experience using pvmove on 2TB disk?<br>
><br>
> Is it possible to make all PE on the old disk empty so I don't have to<br>
> do pvmove (assuming that I can make a free space >= 2TB). Thank you in<br>
> advance<br>
> Regards<br>
</div></div>Yes it is slow, but it works. You can condider to remove some (unused)<br>
LVM that have extends on the physical disk. That speeds it up, as the<br>
extends are marked free again. How many disks do you now have in your<br>
volume group? If only one, then simply try to copy the entire disk to<br>
another one (dd/ddrescue/clonezilla). If the disk has bad sectors, then<br>
the pvmove will most likely fail anyhow.<br clear="all"></blockquote></div>Hi Theo,<br>thank you for the reply. I have four disk in one LV. so yesterday I already done pvmove the 2TB disk and it took time about 20 hours. I think the disk is just start to fail and most part of the disk is still good, that's why the pvmove process didn't take time that long. <br>
Regards,<br><br><br><br><br><br><br><br><br>-- <br>-----<br>Muhammad Panji<br><a href="http://www.panji.web.id">http://www.panji.web.id</a>                         <a href="http://www.kurungsiku.com">http://www.kurungsiku.com</a><br>
<a href="http://sumodirjo.wordpress.com">http://sumodirjo.wordpress.com</a>          <a href="http://www.kurungsiku.web.id">http://www.kurungsiku.web.id</a><br>                                                             <a href="http://www.linuxbox.web.id">http://www.linuxbox.web.id</a><br>