I am trying to resize my LVM partition. I resized my LV, but when I trying to resize LVM partition, it says cannot resize to 1363 extentds as later ones are allocated.
. I checked https://askubuntu.com/questions/252204/how-to-shrink-ubuntu-lvm-logical-and-physical-volumes, After I executed pvmove, pvs says my root volume not starts from 0, but at 65244. So I can't resize the lvm partition. How Can I make root volume starts from 0?
It's resolved. I used command that like to pvmove (dev):a-b (dev):0-c
. It's now starts from 0.
pvmove --alloc=anywhere
is the correct approach, this is mentioned in the linked question askubuntu.com/a/604302/161981 , also another example unix.stackexchange.com/a/171472/30851 here you see later extents specifically moved to 0 – frostschutz Feb 24 '20 at 21:03