Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [df]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 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 ...
user avatar
  • 217
0 votes
1 answer
21 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 ...
user avatar
0 votes
2 answers
27 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 ...
user avatar
0 votes
1 answer
183 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 ...
user avatar
0 votes
0 answers
33 views

nfs uses LOTS of hidden disk space

I have a machine that exports /home to 2 others. Regularly the partition fills up but it's impossible to pinpoint what takes up size. Both du -x /home and ncdu -x /home show something like 56Gb use ...
user avatar
  • 183
1 vote
0 answers
54 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, ...
user avatar
0 votes
1 answer
80 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 ...
user avatar
0 votes
0 answers
50 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. ...
user avatar
  • 1,034
0 votes
0 answers
29 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 ...
user avatar
  • 1
1 vote
1 answer
73 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 ...
user avatar
  • 119
0 votes
1 answer
83 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 ...
user avatar
  • 103
0 votes
1 answer
479 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% ...
user avatar
  • 1,429
0 votes
0 answers
49 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 ...
user avatar
1 vote
2 answers
275 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. ...
user avatar
0 votes
1 answer
208 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 ...
user avatar
  • 101
2 votes
0 answers
56 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 ...
user avatar
0 votes
1 answer
120 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% /...
user avatar
0 votes
1 answer
570 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 ...
user avatar
2 votes
2 answers
2k 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'...
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 /...
user avatar
  • 1
4 votes
1 answer
5k 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 ...
user avatar
  • 3,243
0 votes
3 answers
684 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
1 vote
1 answer
1k 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?
user avatar
0 votes
1 answer
78 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....
user avatar
  • 111
1 vote
1 answer
221 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 = ...
user avatar
1 vote
1 answer
1k 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/...
user avatar
0 votes
1 answer
391 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: ...
user avatar
  • 103
2 votes
1 answer
1k 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 ...
user avatar
  • 431
-3 votes
1 answer
91 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 ...
user avatar
  • 95
0 votes
1 answer
370 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 ...
user avatar
  • 3
1 vote
2 answers
527 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 ...
user avatar
  • 11
1 vote
0 answers
992 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 -...
user avatar
  • 295
0 votes
1 answer
45 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 ...
user avatar
  • 421
0 votes
2 answers
1k 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]# ...
user avatar
-2 votes
1 answer
203 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. ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
4 answers
2k 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 ...
user avatar
0 votes
2 answers
139 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% ...
user avatar
-1 votes
1 answer
408 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/...
user avatar
0 votes
1 answer
54 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% ...
user avatar
  • 42
0 votes
1 answer
138 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 ...
user avatar
  • 1
0 votes
1 answer
370 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 ...
user avatar
-2 votes
1 answer
142 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 ...
user avatar
  • 105
7 votes
1 answer
9k 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 ...
user avatar
  • 201
1 vote
0 answers
77 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 ...
user avatar
  • 111
0 votes
0 answers
354 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 ...
user avatar
-1 votes
1 answer
327 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 ...
user avatar
  • 220
0 votes
1 answer
144 views

linux + how to know the time details from df command

is it possible to know when partition was mounted from storage volume? for example latly we know about that netapp19:/volume/orsdcp_nfs was mounted on /oraT but how to know when? ( regarding that ...
user avatar
  • 43
1 vote
1 answer
869 views

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 /...
user avatar
3 votes
1 answer
3k views

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 ...
user avatar
  • 161