Linked Questions

137 votes
4 answers

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
Gilles 'SO- stop being evil''s user avatar
55 votes
2 answers

df vs. du: why so much difference? [duplicate]

Possible Duplicate: Why is there a discrepancy in disk usage reported by df and du? df says 8.9G used by the partition mounted in / :~$ df -h Filesystem Size Used Avail Use% Mounted on /...
salezica's user avatar
  • 671
4 votes
2 answers

df says I have 20G more disk space used than du. Why? [duplicate]

I used du to list all folders and sort by size, the results simply doesn't add up to how much disk space is used(using df). There's about 20G in discrepency, why? [root@xxx lib]# du --max-depth=1 -h /...
user avatar
6 votes
2 answers

`du -sh` reports different used size than `df -h` [duplicate]

Possible Duplicates: linux free disk space confusion Why is there a discrepancy in disk usage reported by df and du? df -h says that I have 494G used on /var: Filesystem Size Used ...
Cheng's user avatar
  • 6,551
4 votes
0 answers

What's the difference between du and df? [duplicate]

I would like to know exactly what du and df mean. The following is an example of the output of the df command. Filesystem Size Used Avail Use% Mounted on ubi0:rootfs 435M 424M 12M 98% /...
user8257918's user avatar
0 votes
2 answers

Unix - df output is /var 98% but just 374mb used in du output [duplicate]

Here is my df -g output: df -g /var Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/hd9var 3.50 0.10 98% 6376 18% /var But if a enter in the mount point ...
Potter's user avatar
  • 425
1 vote
1 answer

du space more than the disk size [duplicate]

I have a disk size of 1TB. But when I do du -hx . on one of the folders it shows 1.4TB. and df -k . shows 60% full. I dont understand why is the size shown greater that disk size itself. Thanks, ...
user1968376's user avatar
0 votes
0 answers

du shows more used space than available space showed by df [duplicate]

I have a remote linux server on which I'm seeing the following weird behaviour: When I use du -ch /somedrive to get the total occupied space, I get 16TB. But when I use df -h /somedrive to get the ...
Harshit Jindal's user avatar
1 vote
0 answers

Mysterious problem: Deleting massive amount of files doesn't free up disk space [duplicate]

I have a disk that is 100% used, 400 GB of 400 GB, however I have moved more than 44 GB of files from it, but no extra space got available, the usage is still 400GB of 400GB. Filesystem ...
Dominik's user avatar
  • 121
1 vote
0 answers

Space usage not correct [duplicate]

When I run df -H I can see that the root / is using 100% of the space: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 423G 423G 0 100% / udev 2.0G 8.2k 2.0G 1% ...
MeV's user avatar
  • 131
1 vote
0 answers

Can't find the reason why root directory usage is so large [duplicate]

Everyone. I have a very difficult thing to do. I have a Linux server, and the root directory has 16GB of space. df -h, shows the / directory has been used for 15GB, but du -sh shows that only 5.9GB ...
feitat's user avatar
  • 11
0 votes
1 answer

Disk usage irregularities [duplicate]

can somebody please explain to me how is this possible? df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 204G 170G 24G 88% / du -ah / | sort -rh | head -20 121G / 88G /...
Relja's user avatar
  • 101
15 votes
7 answers

What's eating my disk space?

I'm running Linux Mint 14 Nadia. The Linux partition has 10G. When the system starts, du reports 80% usage. Then the usage slowly grows until it reaches 100% and the system becomes unusable. (It ...
Arry's user avatar
  • 259
3 votes
1 answer

Invisible file footprint (du vs df)

I am aware of the expected reasons that du and df will report differences, however I cannot imagine these would justify the discrepancy I am seeing: [[email protected] mynfsmount]# df -h /opt/...
symcbean's user avatar
  • 5,100
2 votes
0 answers

I see the sizes of the files on a disk incorrectly

Running services are filling up disk space. I reboot it frees up disk space. How can I find files created by programs in disk space but not visible with the "du -ch /.[!.]* /disk1" command. $...
Ens's user avatar
  • 31

15 30 50 per page