Linked Questions

11
votes
2answers
8k views

Why is there a discrepancy in disk usage reported by df and du? [duplicate]

I have a Linux CentOS server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the total ...
0
votes
3answers
2k views

the difference in used hard drive space as shown by df and du is HUGE! [duplicate]

It seems that du discounts the #open files when calculating the disk usage, and this hit me when I saw that df is showing 100% usage, while du says only 40% is in use. when i looked up on this, i ...
3
votes
0answers
16k views

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% /...
1
vote
1answer
3k views

Why does df show Available 0 when 1K-blocks minus Used is greater than 0? [duplicate]

Why does it show 0 in the available column? [root@server log]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 4128448 4096484 0 100% / It's an ...
1
vote
1answer
5k views

df reports 100% full filesystem, du shows only 25% used even though there's no unlinked file [duplicate]

I have strange issue, df shows rootfs is 100% full but du shows it's 25% used. So I check on the unlinked files from the rootfs using lsof +aL1 / and it does not show me any deleted/unlinked files ...
1
vote
2answers
955 views

Why does “df -h” show out of sync space used? [duplicate]

I have tried different commands to see sizes of partitions and space used/left and it seems that they always differ in their results. Here is my space used/left with from the command df -h: Size ...
2
votes
2answers
972 views

How to find the files that fill my disk [duplicate]

I have a problem that my disk is filling up but I cant find the files that fill it. When I run df -h I get: Filesystem Size Used Avail Use% Mounted on /dev/root 53G 51G 2.0G 97% / ...
0
votes
3answers
1k views

Most accurate disk usage report? [duplicate]

Since disk space is allocated in blocks, is it a more accurate representation of the actual space consumed by a directory to report it in blocks vs bytes? If a file of size 1,025 bytes resides on a ...
1
vote
1answer
2k views

Folder size du, ls [duplicate]

Can someone explain folder size? Folder contains only 1 file with 360Gb size. ls and du show used 440Gb [root@liz DECSC]# ls -lha total 440G drwxrwxr-x 2 geo geo 4.0K Dec 6 19:56 . drwxrwxr-x 14 ...
-1
votes
1answer
2k views

du -sh and df -h are giving different output [duplicate]

I got an alert stating that 3 of my mount points are 91 % full and i need to clear the files. When I run df -h command it states that the mount points are 91% full but when i try to run du -sh * in ...
0
votes
2answers
1k views

Different output of du and df [duplicate]

Ok, here's the issue which is totally confusing to me: df -h Dateisystem Größe Benut Verf Ben% Eingehängt auf /dev/sda2 3,8G 1,5G 2,2G 41% / /dev/sda1 122M 13M ...
0
votes
1answer
1k views

How to get the exact file size in linux? [duplicate]

I would like to get individual file size, all used file size in the disk and usable the maximum file size in the disk. In linux, commands for checking file sizes such as "du", "df", "ls -l" are ...
0
votes
2answers
130 views

Where's my space? [duplicate]

So df is telling me that I'm using 49/59G, so I set out to find my space. $ df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 59G 49G 7.9G 86% / none 4.0K 0 ...
1
vote
1answer
101 views

The output of du -sh /tmp is much greater than the sum of du on each file and directory in /tmp. Why? [duplicate]

This system is linux mint 18.3, basically ubuntu. sudo du --apparent-size -sb /tmp yields 476mb on my system currently. if I run sudo du --apparent-size -sb /tmp/* /tmp/.??* and add it all up, I get ...
1
vote
2answers
220 views

Ubuntu 12.04 constantly out of space [duplicate]

I am having this strange problem of my system running out of space constantly. Just yesterday I cleaned up near 15GB of space and today I see it is out of space. I really don't get it. I know some ...

15 30 50 per page