Ask Your Question
0

lvextend doesn't work ?

asked 2014-02-21 10:58:07 -0600

thehunt33r gravatar image

updated 2014-09-29 16:22:03 -0600

mether gravatar image

Hi,

So I've run into a shortage of space for my system-root. I am using LVM. I used gparted to shrink one partition by 10gb, and tried to add these to my /dev/mapper/fedora-root using lvextend --size '+10gb' '/dev/mapper/fedora-root' I have a message telling me that System root size has been increased by 10gb, but when I reboot, it hasn't been. Is it because I used lvextend directly from my Fedora install ?

Thanks

Edit : Here is my parted -l : http://pastebin.com/6VsvcjB6 And df : http://pastebin.com/aHst4PEY

edit retag flag offensive close merge delete

Comments

What about giving one more chance to the good old GUI system-config-lvm ? https://ask.fedoraproject.org/en/question/41906/create-partition-for-windows-lvm-setting/

marcindulak gravatar imagemarcindulak ( 2014-02-21 13:33:28 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-21 14:19:09 -0600

taim gravatar image

You have increased the size of the volume, but you haven't resized the filesystem. If the filesystem on the volume is ext, resize2fs /dev/mapper/fedora-root will finish the job.

edit flag offensive delete link more

Comments

Thanks, that was it !

thehunt33r gravatar imagethehunt33r ( 2014-02-22 04:42:38 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-21 10:58:07 -0600

Seen: 367 times

Last updated: Feb 21 '14