You are not logged in.
A few days ago I resized the fileystem from 16 GB to 26GB using GParted as the system already had consumed 15GB of the total. The file system was expanded using GParted and there wasn't error and the process finished successfully.
Today I got a "low on disk space" kind of message. When I checked available free space of the filesystem it says 25GB of 26GB used. When I scanned the filesystem using gdmap and filelight, they still show that I have only used 15.4 GB.
I issued df -h and it showed I have used 25GB of 26GB but du -sh gives 4.1G
At the moment I am not sure what is causing this and how can I fix it. Any help would be appreciated.
Thank you.
Offline
Please post the actual command output rather than describing it.
See https://bbs.archlinux.org/viewtopic.php?id=57855
Which filesystem are you using?
Also post the output of:
df -i
# parted -l
Para todos todo, para nosotros nada
Offline
Please post the actual command output rather than describing it.
See https://bbs.archlinux.org/viewtopic.php?id=57855
Which filesystem are you using?
Also post the output of:
df -i # parted -l
df -h gave me:
dev 1.9G 0 1.9G 0% /dev
run 2.0G 808K 2.0G 1% /run
/dev/sda8 25G 24G 498M 98% /
tmpfs 2.0G 3.9M 2.0G 1% /dev/shm
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 14M 2.0G 1% /tmp
tmpfs 393M 12K 393M 1% /run/user/1000
du -sh gives:
4.1G .
I am using ext4 filesystem and df -i gives :
Filesystem Inodes IUsed IFree IUse% Mounted on
dev 493463 365 493098 1% /dev
run 502369 452 501917 1% /run
/dev/sda8 1656480 530501 1125979 33% /
tmpfs 502369 7 502362 1% /dev/shm
tmpfs 502369 12 502357 1% /sys/fs/cgroup
tmpfs 502369 44 502325 1% /tmp
tmpfs 502369 24 502345 1% /run/user/1000
and parted -l for the filesystem is:
Number Start End Size Type File system Flags
...
8 60.5GB 87.7GB 27.2GB logical ext4
...
Offline
What does "ncdu -x /" show?
Offline
What does "ncdu -x /" show?
Total disk usage: 16.0 GiB Apparent size: 15.9 GiB Items: 496067
Offline
Boot from a live medium, mount /dev/sda8 somewhere and see what df/du/ncdu show about it.
Offline
Boot from a live medium, mount /dev/sda8 somewhere and see what df/du/ncdu show about it.
Tried and got exactly same result
Offline
A few days ago I resized the fileystem from 16 GB to 26GB using GParted
Sanity check - did you use a live disk (i.e. gparted live) to resize? Is it possible that the filesystem was still mounted when you resized?
Offline
dash_r wrote:A few days ago I resized the fileystem from 16 GB to 26GB using GParted
Sanity check - did you use a live disk (i.e. gparted live) to resize? Is it possible that the filesystem was still mounted when you resized?
I used a live CD to resize the partition and I am fairly sure that I didn't have the filesystem mounted at that time, even if it were, gparted wouldn't work until I unmount it.
Offline
Have you run fsck on that filesystem?
Offline
Did you try deleting the partition (after backing up important data) and resize it with cfdisk?
Offline