Questions tagged [df]

104 questions
39
votes
7 answers

du vs. df difference

I have a fileserver where df reports 94% of / full. But according to du, much less is used: # df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda3 270G 240G 17G 94% / # du -hxs / 124G / I read that open but…
Andreas Kuntzagk
  • 761
  • 1
  • 6
  • 9
16
votes
1 answer

Why does `df` indicate no available space when used is much less than total size, on my VPS?

My VPS display this with df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 100G 46G 0 100% / Does anyone have a idea to fix this ?
16
votes
1 answer

Disk space usage doesn't add up with df & du

I'm trying to free up some disk space - if I do a df -h, I have a filesystem called /dev/mapper/vg00-var which says its 4G, 3.8G used, 205M left. That corresponds to my /var directory. If I descend into /var and do du -kscxh *, the total is…
Codecraft
  • 283
  • 2
  • 5
  • 15
9
votes
1 answer

Ubuntu server: hard drive always full

I have a 50GB vps when I run df I get Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 49982172 46580100 863064 99% / none 507212 172 507040 1% /dev none …
Krayons
  • 93
  • 1
  • 4
9
votes
1 answer

Why does df shows only half the size of a RAID10 array?

I've created a RAID10 array using 4 75G drives, to create a storage of 150G. After everything finished (including the initial syncing), everything looked good except the output of df -h which showed only 73G storage on the designated mount…
Doron
  • 543
  • 1
  • 6
  • 14
7
votes
1 answer

df report incorrect free space for a filesystem (ext4)

I am facing an issue with wrong fs space reported by df. We are talking about bare metal Ubuntu 14.04 server, with the / partition managed by LVM. Size reported by df is different from the size reported by fs super-block. Also calculating size from…
Tom Lime
  • 201
  • 2
  • 8
6
votes
2 answers

inconsistency between du -sh and df -h

I know this is a common occurrence when the result of du -sh is smaller than that returned by the file system with df -h. (Because some files are still open in processes etc..) But in my case I have the opposite. I'm running Ubuntu 12.04 and trying…
D.Mill
  • 379
  • 5
  • 15
5
votes
1 answer

"Write Error: No space left on device" when df displays 60% of free space?

It's been happening for the last few weeks in a small unix server (it doesn't have all standard unix commands, just the basics included in the BusyBox package) that I was configuring to backup files. If we check the free space of the server it…
mickael
  • 153
  • 1
  • 1
  • 5
5
votes
2 answers

Next-gen filesystems: disk space usage log?

From time to time I run into problems when server hard disks (Linux) fill up quickly with lots of small files. When this happens I have to try to figure out how much space is being taken up and where the files are that are taking up the space. This…
Tom Scrace
  • 163
  • 4
5
votes
1 answer

Why does df -h still show 100% full even after deleting files?

The disk space on my Ubuntu web server, running on DigitalOcean, seems to be full. I have already found and deleted the large log file and restarted Nginx. However, it still seems like there is a problem. df shows that it's still full: $ df -h…
Andrew
  • 3,293
  • 8
  • 32
  • 35
4
votes
1 answer

No more space on FreeNAS 9.3. But only half of space actually in use based on "du -sh" command

This morning I got a warning on my FreeNAS 9.3 machine about "Not enough space" warning: The capacity for the volume 'SeanVolume' is currently at 85%, while the recommended value is below 80%. It's of no use running the scrub command after a period…
陳敬翔
  • 41
  • 1
  • 4
4
votes
8 answers

list linux partition names only in bash

df on linux lists the following stats on partitions. -bash-4.1# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 1918217320 1473337340 347440136 81% / tmpfs 32970328 0 32970328 …
user12145
  • 1,075
  • 6
  • 26
  • 47
4
votes
1 answer

Near 100% disk usage, df and du show very different results, lsof not the answer

The issue is that my CentOS 5.8 machine is telling me that I am nearly out of disk space when I am pretty confident this is not the case. I've done a fair amount of researching on this issue and have been unable to find a solution. 'df -h' shows…
edwaa
  • 49
  • 2
4
votes
6 answers

How to view if partitions primary or secondary in Linux

How do I view my partitions if they are primary or secondary in Linux CentOS? I tried df -T but it does not show if partitions are primary or secondary.
Justin
  • 5,008
  • 19
  • 58
  • 82
4
votes
1 answer

Ubuntu "No space left on device" for /home, df shows 100% full, ds shows much, much less

Possible Duplicate: Linux different size for df and du for root partition On an Ubuntu 12.04 server, normal users can no longer create or add to files in /home, encountering a "No space left on device" error. The /home directory has a capacity of…
Jon Cram
  • 309
  • 1
  • 4
  • 10
1
2 3 4 5 6 7