-   Fedora (
-   -   Can I increase the size of a physical volume in an lvm group? If so, how? (

MikeB23930 07-08-2009 11:30 AM

Can I increase the size of a physical volume in an lvm group? If so, how?
I installed FC11 (with lvm2) on a system running Kubuntu. I'm considering eliminating Kubuntu in favor of FC and would like to preserve the data I have stored in the Kubuntu partitions. I would like to know if it is possible to steal some available free space from a Kubuntu partition and add it to an adjacent physical volume in the FC lvm group?

Additional possibly irrelevant information: There are two hard disks in the system. Both Kubuntu and FC use partitions on both disks. There is not sufficient free space to simply copy the data from one to the other.

I've read a bit on the web about increasing the size of a logical volume, but that seems to involve only moving space from one logical volume to another.



syg00 07-09-2009 03:54 AM

I don't think so - if you create a new partition out of the unallocated space, you should be able to add that as a PV to the VG (vgextend ?)

Caveat: not a LVM user.

jeromeNP7 07-21-2009 05:38 PM

Yes and no! You will need to remove the disk from the LVM volume, then doing separately the partition size changes with qparted or something that does the job, and when all is done and works well, then add the disk again to the LVM volume. Obviously this needs some manual interaction on your side. I'm not aware of any LVM tool that does this on the fly.


All times are GMT -5. The time now is 02:36 AM.