LVM - Reduce PV

1.Boot on Ubuntu Desktop Live 1.Edit /etc/apt/sources.list and include the “universe” repositories 1.Run: apt-get install system-config-lvm 1.Check if there are logical partitions at the end of the volume group ie. swap which needs to be deleted and recreated 1.Using gparted resize the physical volume accordingly 1.Back to system-config-lvm re-create the swap partition. In case it is required after the previous step 1.Reboot and run pvresize /dev/sdxx if pvs shows the wrong size 1.Fix swap partition accordingly: mkswap /dev/sdxx; swapon /dev/sdxx; vim /etc/fstab 1.Check swap is back working: swapon -s