Questions tagged [df]

105 questions
3
votes
1 answer

Linux showing wrong disk space used, du -h -x / | sort -hr has different space

If I type: df -h It shows me 12G used. But If I use this command: du -h -x / | sort -hr >> /home/log_size.txt This will give me: If I sum /usr + /var + /root, this won't give me about 12G used... So where can I find the other files that are…
Xanarus
  • 161
  • 1
  • 4
3
votes
2 answers

df shows bad information on partition usage

I've tried to deal with this for days now with no luck. In this forum and also in other ones I can see a lot of discussion about this but none of the solutions have worked for me. My current situation is that I've got some GBs "missing" that I can't…
john fish
  • 61
  • 1
  • 3
3
votes
1 answer

df shows too much space on tmpfs

I have a server (SLES 11 running on a VMware hypervisor if that matters) with a tmpfs partition meant for mysql temporary tables, and I run mysql chrooted. df -h gives me strange outpupt: root@db12.lab:~# df -h /usr/chroot/tmp/ Filesystem Size …
Roman Grazhdan
  • 334
  • 3
  • 15
3
votes
2 answers

crontab -- No space left on device

crontab -e /tmp/crontab.KxTGwK: No space left on device and df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 955486988 157545404 749405676 18% / tmpfs 37042680 0 37042680 0%…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
3
votes
1 answer

Folder's taking up way more than it should

My server is chugging along with a 5GB drive, and unfortunately, it's 100% full. Going to delete some files, I notice that my Dropbox's taking up way more than it should. du -hs * returns: [excel@catfish ~]$ du -hs Dropbox/* 11M Dropbox/Apps 33M…
excelangue
  • 43
  • 3
3
votes
2 answers

df -h overreports disk space on VPS

When I run the command df -h on my new Ubuntu linux vServer I get the following: # df -h Filesystem Size Used Avail Use% Mounted on /dev/hdv1 466G 33G 434G 7% / none 16M 0 16M 0% /tmp Running…
Rincewind42
  • 133
  • 5
3
votes
3 answers

gzip "No space left on device"

Using gzip 1.3.12 / ubuntu 64bit I am getting "No space left on device" yet there appears to be plenty of disk space remaining. gunzip 03-05-2012--22-52-01.tar.gz gzip: 03-05-2012--22-52-01.tar: No space left on device If you run the above gunzip…
Kris
  • 271
  • 2
  • 3
  • 11
2
votes
1 answer

Mounts happening on boot, but not defined in /etc/fstab

On every boot, my machine (CentOS 7) mounts all these: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 2.6G 28G 9% / devtmpfs 287M 0 287M 0% /dev tmpfs 294M 0 294M 0% /dev/shm tmpfs …
Nuno
  • 553
  • 2
  • 8
  • 26
2
votes
1 answer

df says 33MB is used when there are no files on the partition

When I run 'df -ha' on my system for an empty partition it is reporting that 33 MB is used: /dev/sdb2 16G 33M 16G 1% /mypartition Yet there are no files on the partition: ls -lha /mypartition/ total 0 drwx------ 2 root root 6 Feb 16…
binarylegit
  • 127
  • 1
  • 4
2
votes
1 answer

df gives different result when calling for specific device

I get different output for the same device with df if I call it without arguments or with the device as an argument. Running Ubuntu 14.04. Without arguments: ➜ ~ df Filesystem 1K-blocks Used Available Use% Mounted on udev …
mjuopperi
  • 123
  • 1
  • 4
2
votes
2 answers

df -h disk usage of empty disk shows 188M usage ?!

I have an empty disk mounted as /data The df -h shows me that 188M are used while a du -h shows me 4,0K. root@marc:~# du -h --max-depth=1 /data 4,0K /data root@marc:~# df -h Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur /dev/sdb1 …
chmike
  • 429
  • 2
  • 5
  • 18
2
votes
1 answer

Very different results from df after a few seconds

When the backup moves the files from one server to the other the results from df change every few seconds in an impossible manner. The source host is running rsync. On the destination host I'm running the following command every few seconds: echo…
tatus2
  • 139
  • 4
2
votes
1 answer

Mount updates /proc/mount but not /etc/mtab, making partition not show up in df, mount listing

I'm on RHEL 6. I created some partitions using parted, formatted them using mke2fs, and mounted them using mount. I also added them to /etc/fstab. However, they do not show up in the mount or df listings. $ df -h Filesystem Size Used…
Leo
  • 983
  • 7
  • 21
  • 39
2
votes
1 answer

df showing wrong disk usage - disk corrupted

I'm getting a rather odd result from df from one of my disks using mdadm. It's setup as 4 of 2TB disks in raid 10. # df Filesystem Size Used Avail Use% Mounted on /dev/md2 3.6T 40G 3.4T 2% / <------ this one tmpfs …
Grumpy
  • 2,979
  • 18
  • 23
2
votes
0 answers

df differs from du a lot, nfsd service seems matter

I know there have been a lot of discussion on the df/du discrepancy topic. But here I’d post a special issue and ask for some hints. here is the detail( with a hardware raid5 with 6 sas disks) system info of nfs server/client: [root@ndio06 ~]# cat…
Guangyu wu
  • 21
  • 2