You are not logged in.
I had a 98 GB linux partition, I extended it to be 150 GB but the system does not see the extra space.
Here is a picture from KDE partition manager:
https://i.imgur.com/u0DaZzC.png
As you can see my linux partition (sda5) is inside an extended one, I'm not sure if this is relevant information.
Here is `df -h`, look at `/dev/sda5 98G`
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.8G 1.4M 7.8G 1% /run
/dev/sda5 98G 81G 13G 87% /
tmpfs 7.8G 282M 7.6G 4% /dev/shm
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs 7.8G 32K 7.8G 1% /tmp
tmpfs 1.6G 16K 1.6G 1% /run/user/1000I used GParted live to modify the partitions
https://gparted.org/livecd.php
What gives?
Mod Edit: Replaced oversized image with URL -- V1del
Last edited by Sleepful (2018-04-21 01:10:04)
Offline
You resized the partition, but did not resize the filesystem. Use a tool like resize2fs to resize the filesystem as well. You should be able to get by with just
# resize2fs /dev/sda5Just make sure the filesystem isn't mounted when you resize it and make sure you backup any critical files because something could always go wrong with the resize.
Offline
Thanks a lot!
as per the manpage [1] resize2fs supports expanding mounted devices so I didn't have to do anything other than run the command
# resize2fs /dev/sda5
resize2fs 1.44.1 (24-Mar-2018)
Filesystem at /dev/sda5 is mounted on /; on-line resizing required
old_desc_blocks = 13, new_desc_blocks = 19
The filesystem on /dev/sda5 is now 39133952 (4k) blocks long.
# df -h
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.8G 1.4M 7.8G 1% /run
/dev/sda5 147G 85G 56G 61% /
tmpfs 7.8G 420M 7.4G 6% /dev/shm
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs 7.8G 140K 7.8G 1% /tmp
tmpfs 1.6G 16K 1.6G 1% /run/user/1000[1]
If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 and ext4.).
Offline
I guess I learn something every day ![]()
Glad you got it working.
Offline