[linux-lvm] shrink VG and PV

Bryn M. Reeves bmr at redhat.com
Tue May 18 09:38:30 UTC 2010


On 05/18/2010 10:13 AM, Bryn M. Reeves wrote:
> Once you have done this you should be able to issue pvresize with
> --physicalvolumesize as in your first post to reduce the space used by
> LVM2. Once that's done you can shrink your sda2 partition (note that
> this last step will likely still need a reboot - the kernel is still not
> at all happy about modifying in-use partitions, even for shrinking).

More detailed example here:

http://pastebin.org/246926

Regards,
Bryn.




More information about the linux-lvm mailing list