Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [df]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Find ever growing file(s) held by open process filling disk to 100% [migrated]

I have linux server which has started filling up the root disk to 100% in the last few days. df -h shows 100% and any file write attempts fail stating disk is full. du -sh of the drives contents show ...
Mark Walker's user avatar
-1 votes
2 answers
273 views

MariaDB Docker lagre db/binlog.* files. Overflows the disk to the point of failure

How to Fix? ls -lh /root/docker/yml/nextcloud/db/binlog.* -rw-rw---- 1 999 999 960M Aug 25 22:55 /root/docker/yml/nextcloud/db/binlog.000043 -rw-rw---- 1 999 999 5.5M Aug 25 23:52 /root/docker/yml/...
dr.ipkins's user avatar
0 votes
0 answers
66 views

df reports zero used space

On a VM in azure we mount some blob storage via NFS, which generally works good. I now found though, that df reports wrong values for usage of the NFS storage: root@myVM:~# df -h /mnt/blob/ Filesystem ...
VerboEse's user avatar
0 votes
0 answers
19 views

Centos 7.4, dev/vda1 is 100% [duplicate]

My VPS on DO now has an issue of dev/vda1 is 100% since around 3 months ago, at that time, I did poweroff & reboot then disk spaced freed. But the thing rans into some bigger issue since 1 week ...
Phong Thai's user avatar
0 votes
5 answers
592 views

df output does not change after deletion of a 41G file

Maybe my understanding of what df does is incorrect? I am wondering what is the problem here 1. checking usage $ sudo df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda1 443G ...
vrms's user avatar
  • 287
0 votes
1 answer
482 views

Difference between Volume Disk Space and Disk usage returned by ncdu [duplicate]

My server has a 130 GB Volume attached. To check the free disk psace, I run df -h -x tmpfs -x squashfs | grep -v /run/shared and I get : Filesystem Size Used Avail Use% Mounted on udev ...
superfive33's user avatar
0 votes
2 answers
2k views

df -h shows / is 100% but du -sh * is not showing where the utulization is [duplicate]

OS: Oracle Linux 7.5 df -h keeps showing that / is 100% full but searching on / with du -sh * is not showing where that utilization could possibly be, any help and suggestions will be appreciated. I ...
Edwin Mwangi's user avatar
0 votes
1 answer
2k views

Find what is using disk space in CentOS 7 (du vs df vs lsof)

I have a server, CentOS 7, that show disk usage on DF way higher than you can see on DU and I trying to understand why DF shows 38GB used DU shows 14GB There is no mount point on any folder Checking ...
kordhaldrum's user avatar
1 vote
0 answers
194 views

What accounts for mystery hard drive space gone missing? (Difference between df and du)

To preface: there are lots of other useful questions (e.g. this and this) on possible causes for different sizes reported by df and du. None of the explanations apply to my exceedingly simple case, ...
crazygringo's user avatar
0 votes
1 answer
1k views

Can't get disk space back after running out of space (and removing some files) in Ubuntu 18.04

This is driving me crazy! My server run out of space. I cleaned up some files by removing the folders. The amount of free space didn't go up (% wise). This is what I now see: As you can see, it shows ...
Andrew Newby's user avatar
  • 1,184
0 votes
0 answers
66 views

Why did I suddenly gain 300GB on my server

I've been working on my server all day, doing various things. I know, unquestioningly (found the evidence by scrolling up in one of my terminal sessions) that I had about 900GB of space 4 hours ago. ...
Codemonkey's user avatar
  • 1,148
0 votes
0 answers
72 views

df shows negative bytes used.... only during dd

I have begun a dd to copy a partition on one usb drive, to a 2nd usb drive. While I have freshly reformatted the destination partition (/dev/sdc1), and it checks out with fsck normally and shows it is ...
J B's user avatar
  • 101
1 vote
1 answer
445 views

why iostat not showing one of my disk?

Please check the picture below. The df shows /dev/xsda mounted But iostat not showing the device. Why? [admin] /dev]$df -h | grep '/dev' tmpfs 64M 0 64M 0% /dev /dev/nvme1n1 7.0T ...
Kramer Li's user avatar
  • 119
0 votes
1 answer
923 views

Clarification on understanding Linux disk usage with df and how tmpfs should be assessed

I have searched serverfault, SO and other sites but could not find a clear answer. I have done some reading on the basics of Linux storage and filesystems, but I'm still unclear about how to solve my ...
rc1's user avatar
  • 103
2 votes
1 answer
2k views

Sort df Output by Mount Point

I need to get the output of df -h sorted alphabetically by its mount point in the Mounted on column. However, df -h currently outputs similar to this: $ df -h Filesystem Size Used Avail Use% ...
Nyxynyx's user avatar
  • 1,469
0 votes
0 answers
340 views

Weird discrepancy in size between fdisk and df

fdisk reports the following info about a partition Device: /dev/sda1 Boot: * Start: 2048 End: 209715166 Sectors: 209713119 Cylinders: 443369 Size: 100G ...
Radu Stoenescu's user avatar
1 vote
2 answers
454 views

raidz1 6x4TB = 16.9t?

I an running Ubuntu server with the latest version of zfs-utils. I installed 6x4TB disks (lsblk -b shows all disks partition 1 size=4000787030016) and created a raidz1 configuration with all 6 disks. ...
Gordon Shumway's user avatar
0 votes
1 answer
789 views

df shows low disk space. It includes a directory which uses mount --bind for chroot sftp

I've setup a chroot environment for sftp access (sftp only, no shell). The sftp user needs rw access to a host directory. I mounted it via /etc/fstab /var/www/html /home/sftp-user/jail/html none ...
RafaelKr's user avatar
  • 101
2 votes
0 answers
100 views

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 ...
Guangyu wu's user avatar
0 votes
1 answer
156 views

df command reports that drive is full, even though it is not

When I run df -h (Debian 10, 32-bit), I get this: root@valor:~# df -h Filesystem Size Used Avail Use% Mounted on udev 488M 0 488M 0% /dev tmpfs 100M 5.4M 95M 6% /...
Anonymous's user avatar
0 votes
1 answer
1k views

tracking down a bash process for a df command

I’m using the tips on this SO thread. ps -awux|grep df root 15826 0.0 0.0 0 0 ? I< May22 0:00 [cifs-dfscache] myuser 3086246 0.0 0.0 216860 3212 ? Ss 16:06 ...
RobbieTheK's user avatar
2 votes
2 answers
4k views

increase the space in var partition on Debian GNU/Linux 10 (buster)

I'm running docker containers on my machine which puts it all in /var/. DF shows that /var/ is 6.9G and no free space. The Linux system is running under VMWare and I've given the server extra 100 GB'...
resolver101's user avatar
0 votes
0 answers
16 views

Partition at 51% with df while folders are empty? [duplicate]

I need some help on this one. I use a test server which is Debian 10 with Docker's containers (all these inside a XCP-NG server). # df -h Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur /...
user576648's user avatar
6 votes
1 answer
13k views

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 ...
Andrew's user avatar
  • 3,573
0 votes
4 answers
3k views

How to hide tempfs from the df output on CentOS 7 in ssh?

I know this can be done because I've done it before on previous servers but I forgot how and web searches did not come up with the result. I know what tmpfs is and that you should not remove it. What ...
user avatar
2 votes
1 answer
4k views

Why does df say my EFS disk has a capacity of 8 Exabytes?

This is a screenshot from my AWS EC2 instance, which the EFS disk is mounted on: How can this be?
Josh Withee's user avatar
0 votes
1 answer
173 views

Which directories are not consiered by df?

I've used df -h to show me my disk usage: Filesystem Size Used Avail Use% Mounted on /dev/sda2 558G 249G 308G 45% / udev 10M 0 10M 0% /dev tmpfs 6.3G 8....
Maxbit's user avatar
  • 111
1 vote
1 answer
332 views

fdisk -l show 500GB, df -h show 240 gb

after incrase the disk space of my centos vm (in esxi hypervisor) when i execute fdsik [root@sopiqecommerce ~]# fdisk -l Disk /dev/sda: 504.7 GB, 504658657280 bytes, 985661440 sectors Units = ...
Youssef CH's user avatar
1 vote
1 answer
2k views

df requires root to show all disks

I am using CentOS Linux 7 (Core). I have an issue with df command: it do not show all disks without root. Compare: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/...
dev.brutus's user avatar
0 votes
1 answer
824 views

df not showing subdirectories, only "multiple" parent directory

For example, we have directory structure: Root Directory Directory #1 Subdirectory #1 Subdirectory #2 Subdirectory #3 Directory #2 Directory #3 Now I'm using df -h to check disk usage but: ...
Paul's user avatar
  • 103
2 votes
1 answer
2k views

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 ...
Nuno's user avatar
  • 643
-3 votes
1 answer
244 views

how do i understand where a directory is mounted?

Ubuntu / DigitalOcean I have a drive that is almost full but I have mounted a storage device. But I can't tell if a particular directory is on the external device or not. I thought I mounted the ...
dcsan's user avatar
  • 95
0 votes
1 answer
452 views

CentOS 7 disk space [duplicate]

I have a Centos7 server in which when executing the command df -h the occupied disk space is of 90GB but if I do a du -sh / * the sum of all directories does not correspond to 90GB, in this case it is ...
ldxd's user avatar
  • 3
1 vote
2 answers
640 views

df shows 2 GB size fdisk shows 60 GB

My newly purchased KVM based VPS (virtual server) running Centos 7 shows a - to my mind - odd result for the df -h command versus fdisk -l and ssm list. I've put the output of various disk related ...
Paul W's user avatar
  • 11
1 vote
0 answers
1k views

Mounted device showing in df and /etc/mtab but missing from /proc/mounts and /proc/self/mounts. Why?

I have an ec2 instance that is booted from an ebs snapshot. The boot device is /dev/sda1. When I call mount, df -h or cat /etc/fstab I can see the device: $ mount /dev/sda1 on / type ext3 (rw) $ df -...
jaygooby's user avatar
  • 324
0 votes
1 answer
48 views

df reporting incorrect disk utilization

Why df reporting incorrect disk utilization report $ df -h /shareddata Filesystem Size Used Avail Use% Mounted on /dev/mapper/share_vg-lv_shareddata 886G 830G 11G ...
Zama Ques's user avatar
  • 523
0 votes
2 answers
2k views

Centos Server no disk space but df says there is plenty [duplicate]

my Centos tells me that I have no disk space left: [root@zff isos]# touch test touch: cannot touch ‘test’: No space left on device But df tells me that I have plenty of space left: [root@zff isos]# ...
alive-and-well's user avatar
-2 votes
1 answer
259 views

df -h says / fs is taking 61G of space but its not [duplicate]

df -h in my redhat 7 is reporting its taking 61G of space. This should be wrong because there shouldn't be anything there which is this big. Other server with the same configuration reports only 11G. ...
Leo King's user avatar
0 votes
1 answer
2k views

Ubuntu thinks disk is full, df says disk usage is at 100% but also says 132G/400G is in use [duplicate]

Other applications are saying the disk is full as well, any ideas? Here's the output from df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 400G 132G 714M 100% / none ...
user1325093's user avatar
0 votes
4 answers
4k views

Filesystem full with 'df' but seems actually not

On my AIX 6.1 server, i have a problem on a VIO LPAR. A filesystem seams to be full with the 'df' command, but not with 'du' or 'ls' for example. I searched but I don't understand where the problem ...
cd25_flo's user avatar
0 votes
2 answers
209 views

df -h show system full even after clearing bloated log folder [duplicate]

I had my php_errors.log file fill up the system, I deleted the error logs, but when I type df -h www/folder_name Filesystem Size Used Avail Use% Mounted on bindfs 7.8G 7.4G 379M 96% ...
Jon Awoyele's user avatar
-1 votes
1 answer
534 views

Changing the filesystem name in df

Currently in our code we check for disk space usage to stop doing something if the filesystem is above 95% in disk space usage. The way I'm checking for that is : diskusage=$(df -P | grep "/dev/...
David Ma's user avatar
0 votes
1 answer
85 views

What is stored on a LVM LogicalVolume

I have setup a LXC container with LVM as backingstore. On the host the command lvs --units m outputs the following: LV VG Attr LSize Pool Origin Data% Move Log Copy% ...
J. Pee's user avatar
  • 42
0 votes
1 answer
261 views

disk space for child partitions fills parent partitions

I got two partitions, one for /var/log and another for /var/log/audit But first one is showing full (and raising all the alrms) because of the second one, as it is inside. /var/log/audit account for ...
user377610's user avatar
0 votes
1 answer
533 views

Volume full according to vgdisplay, but not df

I am trying to shrink a ubuntu 16.04 extended partition using gparted. gparted and vgdisplay both show say the partition is fully used. So I can't shrink the partition. df says 5% is used (the correct ...
Masterfool's user avatar
-2 votes
1 answer
165 views

Disk is full, but its not? [closed]

I have a disk that has too many small files: df: /dev/mapper/mpathc 6056822144 6056822144 0 100% /file3 df -i: /dev/mapper/mpathc 384589824 12160314 372429510 4% /file3 I need to move small files ...
onur's user avatar
  • 105
7 votes
1 answer
11k views

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 ...
Tom Lime's user avatar
  • 201
1 vote
0 answers
173 views

Can't find used inodes on server

I have a Xen VPS with Debian Linux installed. Once I found that all inodes are used. I checked this: ~# df -i Filesystem Inodes IUsed IFree IUse% Mounted on rootfs 3932160 3932160 ...
Ticksy's user avatar
  • 111
0 votes
0 answers
372 views

CentOS df misreports free disk space (due to mounted volume?)

I have a server with an LVM volume mounted under /mnt. When running df -h to check free disk space, it appears to show the space consumed under /mnt as being used in /: [root@monitor spool]# df -h ...
btongeorge's user avatar
-1 votes
1 answer
353 views

How to find the missing inodes?

df -i reports Filesystem Inodes IUsed IFree IUse% Mounted on /dev/simfs 300000 250697 49303 84% / so around 250K inodes in use. du -shx --inodes / reports 70K to be sure no inodes was ...
Puggan Se's user avatar
  • 250