Questions tagged [df]
The df tag has no usage guidance.
106 questions
-1
votes
2
answers
497
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/...
0
votes
0
answers
83
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 ...
0
votes
0
answers
20
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 ...
0
votes
5
answers
763
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 ...
0
votes
1
answer
549
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 ...
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 ...
0
votes
1
answer
3k
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 ...
1
vote
0
answers
228
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, ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
71
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. ...
0
votes
0
answers
82
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 ...
1
vote
1
answer
489
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 ...
0
votes
1
answer
1k
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 ...
6
votes
3
answers
3k
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% ...
0
votes
0
answers
398
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
...
1
vote
2
answers
463
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. ...
0
votes
1
answer
880
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 ...
2
votes
0
answers
113
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 ...
0
votes
1
answer
158
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% /...
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 ...
2
votes
2
answers
5k
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'...
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
/...
7
votes
1
answer
15k
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 ...
1
vote
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 ...
2
votes
1
answer
5k
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?
0
votes
1
answer
183
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....
1
vote
1
answer
344
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 = ...
1
vote
1
answer
3k
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/...
0
votes
1
answer
954
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:
...
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
...
-3
votes
1
answer
320
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 ...
0
votes
1
answer
478
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 ...
1
vote
2
answers
658
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 ...
1
vote
0
answers
2k
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 -...
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 ...
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]# ...
-2
votes
1
answer
283
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.
...
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 ...
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 ...
0
votes
2
answers
229
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% ...
-1
votes
1
answer
565
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/...
0
votes
1
answer
86
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% ...
0
votes
1
answer
296
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 ...
0
votes
1
answer
562
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 ...
-2
votes
1
answer
167
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 ...
7
votes
1
answer
12k
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 ...
1
vote
0
answers
188
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 ...
0
votes
0
answers
385
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
...
-1
votes
1
answer
354
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 ...
0
votes
1
answer
236
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 ...