So I used Gparted to decrease the size of a partition. The partition has a minimum size of 206598 and a maximum size of 476939. I try to resize the partition to be 206598, but when i do. I get the following error. I tried to use pvmove, but I get PE range errors, so I'm obviously not doing the right values.
GParted 0.30.0 --enable-libparted-dmraid --enable-online-resize Libparted 3.2 Shrink /dev/sda1 from 465.76 GiB to 201.76 GiB 00:00:00 ( ERROR ) calibrate /dev/sda1 00:00:00 ( SUCCESS ) path: /dev/sda1 (partition) start: 2048 end: 976771071 size: 976769024 (465.76 GiB) shrink file system 00:00:00 ( ERROR ) lvm pvresize -v --yes --setphysicalvolumesize 211556352K '/dev/sda1' 00:00:00 ( ERROR ) 0 physical volume(s) resized / 1 physical volume(s) not resized Wiping internal VG cache Wiping cache of LVM-capable devices Archiving volume group "ubuntu-vg" metadata (seqno 7). WARNING: /dev/sda1: Pretending size is 423112704 not 976769024 sectors. Resizing volume "/dev/sda1" to 423112704 sectors. Resizing physical volume /dev/sda1 from 119234 to 51649 extents. /dev/sda1: cannot resize to 51649 extents as later ones are allocated. ========================================
Any help would be greatly appreciated!