[CentOS] LVM change disk

John R Pierce pierce at hogranch.com
Sat Dec 4 18:29:40 UTC 2010


On 12/03/10 10:47 PM, muhammad panji wrote:
> Dear all,
> I have a 4,1TB Logical volume consist of four disks with size of 2TB,
> 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb
> disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so
> that I can replace it with 2TB disk. most LVM tutorial ask to use
> pvmove to move phisical extent to the new disk. The problem is that I
> have no SATA port left so that I can't move PE to the new disk. How to
> migrate the data safely so that I can replace the disk? Thank you in
> advance


do you realize that if any one of those 4 miscellaneous drives fails, 
you lose the whole volume?

got backup?   if you do, then just wipe and rebuild your LVM and restore 
the backup.

if you don't, well, you better start thinking about what you do when one 
of those drives fails and takes out all your data.







More information about the CentOS mailing list