Questions tagged [df]
105 questions
0
votes
0 answers
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
Id: 83
Type: Linux
Start-C/H/S: 0/32/33
…

Radu Stoenescu
- 101
- 2
0
votes
1 answer
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 bind 0 0
When I do df -h I get the…

RafaelKr
- 101
- 4
0
votes
1 answer
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% /run
/dev/sda1 54G 1.7G 50G 4%…

Anonymous
- 1
- 2
0
votes
1 answer
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 0:02 bash -c while [ -d /proc/$PPID ]; do sleep…

RobbieTheK
- 400
- 6
- 18
0
votes
0 answers
Partition at 51% with df while folders are empty?
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
/dev/xvda11 32G 15G 15G 51%…

user576648
- 1
- 1
0
votes
4 answers
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 I want to do is to hide it. Basically I did…
user250795
-1
votes
1 answer
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/mtdblock\\|/video" | awk '{ print $5 }' | sed…

David Ma
- 1
- 1
-1
votes
1 answer
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 hidden behind mounts, i tested
mkdir /mnt/test/
mount…

Puggan Se
- 250
- 1
- 2
- 13
-1
votes
1 answer
Inconsistency between "du -sh" and "df -h"
Possible Duplicate:
du vs. df difference
I am running a server with Debian stable.
If I call:
df -h
this is the result I get:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/my-var 2.8G 2.3G 358M 87% /var
While if I…
-2
votes
1 answer
df -h says / fs is taking 61G of space but its not
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.
Output of df -h:
Output of du -sh /*
Maximum…

Leo King
- 1
-2
votes
1 answer
Disk is full, but its not?
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 on same disk like this:
mv…

onur
- 105
-2
votes
1 answer
>11GB free space, but it says 100% disk usage?
$ df -i /mnt/large_linux/
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 29376512 1035086 28341426 4% /mnt/large_linux
$ df /mnt/large_linux/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 …

A T
- 397
- 1
- 4
- 15
-2
votes
2 answers
df showing 28G of total space, du showing size of '/' as 400+ G
I constantly get the unable to write to * error, even though I cleaned up a bunch of space.
df thinks my disk is 28G in size and 100% full after I deleted a lot of unused files:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 …

Goro
- 664
- 3
- 9
- 18
-3
votes
1 answer
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 device at /mnt
But perhaps it is further down:
$ df…

dcsan
- 95
- 2
-6
votes
1 answer
Make a directory show up as a mount point
How can I make a directory in Linux show up as a mount point so users can see it with df?

user173176
- 21
- 1