Skip to main content
16 events
when toggle format what by license comment
Oct 16, 2020 at 22:26 comment added Yvon the argument for lvextend would be capital -L instead of -l if using actual size like 1GB. For swap, do swapoff -a then sudo mkswap [MOUNTPOINT] then swapon -a
May 26, 2020 at 18:11 comment added user6457623 This helped me realize that I had to extend sda2 AND sda5 (using the example image above). I was pulling my hair out as to why I didn't seem to have any room to extend sda5, even when booting from a liveCD
Nov 7, 2018 at 16:59 history edited Scott - Слава Україні CC BY-SA 4.0
Fixed apparent typos.
Jun 9, 2017 at 17:17 comment added Chris Mendla Thanks - The deactivate of the extended and VG partitions did it for me.
Mar 20, 2017 at 10:17 history edited CommunityBot
replaced http://superuser.com/ with https://superuser.com/
Sep 23, 2016 at 15:01 comment added dan_linder The GParted Live CD image automatically used the swap space within the LVM partition of my RHEL 5 and 6 VMs. I had to run sudo swapoff -a from the command line then use the deactivate on the partitions with the padlock.
Sep 8, 2016 at 14:14 comment added Frank.Germain Nothing was working for me, the lock wouldn't go away even after trying to "deactivate" several times. The only thing that actually unlocked my partition in gparted was to create a new partition in the empty space and then delete it. The lock icon went away and I was able to extend the extended partition...
Mar 9, 2016 at 21:10 comment added Sheamus O'Halloran I had to run sudo lvdisplay to get the [MOUNTPOINT]. In my case it came back as LV Path (/dev/ubuntu-vg/root)
Dec 4, 2015 at 16:08 comment added Christoph Wurm Unfortunately, for me deactivating them doesn't work. No error message either... Any hints?
Nov 25, 2015 at 22:54 comment added twig After using gparted, the partition wasn't showing the right amount free. These 2 command line functions were exactly what I needed to finish the job. Thanks for sharing that wizardry
Sep 2, 2015 at 16:40 comment added derFunk Thanks for your precise answer, that saved me hours and grey hair!
Aug 20, 2015 at 11:02 comment added Andreas Reiff Thanks! I also needed lvm lvdisplay to get the exact device for lvextend, and later df -h to find out the volume on which to resize.
Jun 2, 2015 at 8:59 vote accept papnikol
May 24, 2015 at 13:10 vote accept papnikol
May 24, 2015 at 13:10
May 22, 2015 at 17:54 history edited papnikol CC BY-SA 3.0
added 1 character in body
May 22, 2015 at 17:35 history answered papnikol CC BY-SA 3.0