Ask Your Question
0

Increased LVM in VMware is not responding how it should?

asked 2016-02-28 01:33:53 -0500

shubham.root gravatar image

I am using Fedora 20 Scientific KDE on VMware and it was low on memory which I extended by increasing the disk space from vmware first, followed up by resizing using gparted and finally tried to make fedora 'see' the extended space by lvm extend, but I am still stuck with the same situation as I began wit. I am pretty sure this would have been answered before, but I couldn't really find a search string that could lead me to the resolution of this problem in community.

attaching link to an image of fdisk output and how my fedora installation sees it link text

As it can be seen in the linked image my LVM has 23.5 Gb available but I cannot install a new program or update through yum which reports that at minimum of 2 Gb and change space is needed, like how it shows in properties of root. So basic question being now how do I extend root?

edit retag flag offensive close merge delete

Comments

1

Did gparted also resize the filesystem. Please post output of df -hT.

thomaswood gravatar imagethomaswood ( 2016-02-28 05:09:38 -0500 )edit

Thanks thomaswood it does seem the filesystem hasn't been resized. image to df -hT output . Now how do I increase the filesystem memory?

shubham.root gravatar imageshubham.root ( 2016-02-28 08:02:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-02-28 10:12:59 -0500

updated 2016-02-28 10:14:47 -0500

Normally gparted should also grow the filesystem. You should be able to resize the ext4 with the command as follows.

resize2fs /dev/mapper/fedora-root
edit flag offensive delete link more

Comments

Thank you so much. It works.

shubham.root gravatar imageshubham.root ( 2016-02-28 11:08:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-28 01:28:08 -0500

Seen: 62 times

Last updated: Feb 28 '16