[parted-devel] Using parted to resize an LVM pv.

James Courtier-Dutton James at superbug.co.uk
Mon Mar 5 22:42:07 CET 2007


Hi,

I have a partition that I wish to resize.
I have /dev/sda2(100Gig) - LVM(100Gig) - ext3(30Gig)
I have used pvresize to resize the LVM to 50Gig
How can I use parted to then resize safely /dev/sda2 to 50Gig ?
Can I get parted to look at the LVM and autodetect its size, and adjust
the /dev/sda2 to match it?

Kind Regards

James




More information about the parted-devel mailing list