Re: Safely Remove Disk on LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Fri, Sep 16, 2011 at 5:57 PM, Theo Band <theo.band@xxxxxxxxxxxxx> wrote:
On 09/16/2011 05:03 AM, Muhammad Panji wrote:
> Dear All,
> I plan to replace an error disk that is part of an LV. from LVM how-to
> it could be done with using pvmove to move all PE from old disk to new
> disk.But the howto also said that pvmove is slow. Anyone has
> experience using pvmove on 2TB disk?
>
> Is it possible to make all PE on the old disk empty so I don't have to
> do pvmove (assuming that I can make a free space >= 2TB). Thank you in
> advance
> Regards
Yes it is slow, but it works. You can condider to remove some (unused)
LVM that have extends on the physical disk. That speeds it up, as the
extends are marked free again. How many disks do you now have in your
volume group? If only one, then simply try to copy the entire disk to
another one (dd/ddrescue/clonezilla). If the disk has bad sectors, then
the pvmove will most likely fail anyhow.
Hi Theo,
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.
Regards,








--
-----
Muhammad Panji
http://www.panji.web.id                         http://www.kurungsiku.com
http://sumodirjo.wordpress.com          http://www.kurungsiku.web.id
                                                             http://www.linuxbox.web.id
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux