How to shrink a LVM partition
Hello,
I'd like to shrink a LVM partition on my harddisk. My current setup is
like that:
Name Flags Part Type FS Type [Label]
Size (MB)
------------------------------------------------------------------------------
sda1 Boot Primary Linux ext3 [boot]
246,76
sda5 Logical Linux LVM
159792,52
sda5 is ~160 GB.
I already shrinked the VG:
# vgdisplay | grep Size
VG Size 140,00 GiB
PE Size 4,00 MiB
Alloc PE / Size 4197 / 16,39 GiB
Free PE / Size 31642 / 123,60 GiB
So what I want is to reduce the LVM partition sda5 to 140 GB as well.
Is it possible without any data loss?
Thanks & regards,
vitaminx
Reply to: