Re: How to shrink a LVM partition
>>> I'd like to shrink a LVM partition on my harddisk.
>> Check your file systems. Make sure they are clean before the process starts.
>> Take backups.
>> First make sure you have enough free space in your LVs. Then use a
>> combination of pvmove and pvresize to shrink your PE that corresponds to that
>> partition. Then shrink the partition in the partition table.
> Shouldn't vitaminx first resize the underlying file system(s)?
If vitaminx's LV is > 140gb, yes. The sequence would have to be:
resize2fs ...
lvreduce ...
pvreduce ...
parted ... resize ...
Reply to: