Redhat resize a LVM partition

Posted in Unix on November 10th, 2011 by phoenixdigital

This is a bit fiddly but I was in the following situation.

I had a bootable 4GB USB drive running Oracle Unbreakable Linux installation. It was installed on an LVM parition on the USB drive.

Now it came time to move this to an 8G drive which was achieved with the command

dd if=/dev/sda of=/dev/sdb conv=notrunc

Where the original 4G drive was /dev/sda and the replacement 8G drive was /dev/sdb.

All good so far. Now however how do I extend the LVM parition to use this new space. Here is where some hoop jumping comes in.
Read more »

Tags: , , , ,