[CentOS] LVM change disk

Adam Tauno Williams awilliam at whitemice.org
Mon Dec 6 14:23:58 UTC 2010


On Sat, 2010-12-04 at 10:29 -0800, John R Pierce wrote: 
> 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

Attach the drive to the system using a USB caddy.  
Do the the pvmove
Remove the old physical volume from the volume group
Shutdown
Remove the drive from the caddy
Install the drive into the system in place of the old drive.
Boot.





More information about the CentOS mailing list