Posts: 12

Topic: cannot shrink lvm2 pv partition

We are trying to shrink lvm2 pv partition, and it is failing with the "request size is less than real size proceed y/n". This happens in the log details and I have no option to answer it.

The partition initially shows with a padlock, but deactivating it removes the locked condition. Either way (locked, unlocked, active, deactivated) the failure is the same. See screen below. Please advise.

Re: cannot shrink lvm2 pv partition

Re: cannot shrink lvm2 pv partition

i also met this problem, the filesystem of that partition is lvm2 pv. and the version of Gparted is 0.30.0... the detailed message is the same as the above. More, the partition is made as a physical volume containing three LVs, named swap, home, and root. I don't know why i encountered this. is anyone knows how i can do？ Thx!

Re: cannot shrink lvm2 pv partition

Re: cannot shrink lvm2 pv partition

the image shows the logs and can be seen i actually have enough free space, the size of all partitions are more than 900G, i also tried to shrink a small size but failed. i finally solved this problem by backup/recreate/restore, but it could be better if i could shrink it. i come to report this issue just for others who may encounter this can have a better solution.

Re: cannot shrink lvm2 pv partition

When reporting problems it helps immensely to save the gparted_details.htm log file and include it when reporting an issue. Screen shots also help, but are missing much of the background data upon which GParted bases its operations.