Questions tagged [df]
The df tag has no usage guidance.
76
questions
0
votes
0
answers
9
views
df output on systemd - /run/user/*
I have been using df -lh -x nfs --total to get the total disk available (with file-systems)
and it has served me well, so far.
With systemd, I see that there are entries in df for each logged in user:...
-1
votes
1
answer
27
views
Lost Memory (88 of 92 GB used but still shows 100% Usage) [duplicate]
I restarted my Ubuntu Laptop after long time and now I can't start Graphical User Interface anymore.
To solve this problem I tried to repair the packages from the recovery system, which said that ...
0
votes
0
answers
26
views
df disk used not matching du disk used output
Others have asked this question before and I've read the answers on here and online but I'm still stumped.
I'm running Ubuntu 22.04 LTS -> desktop version
df -h returns this:
Filesystem Size Used ...
0
votes
1
answer
53
views
Different partition sizes (lsblk and df)
I've been struggling to comprehend the discrepancy found in two outputs - lsblk and df -h. Searching among other similar questions didn't yield any good result.
lsblk:
sdb 8:16 0 10G 0 disk ...
0
votes
0
answers
11
views
DF reports correct disk usage/free space, DU is incorrect
How is this possible?
This is a practically fresh Ubuntu 20.04 server install. ncdu agrees with du in total usage. Additionally, du -a / | sort -n -r | head -n 5 reports similar disk usage.
The only ...
1
vote
2
answers
63
views
du, df showing inconsistent hard drive usage
Ubuntu 20.04
1T built-in drive
5T Seagate Basic external USB drive
Yesterday I moved a very large postgres database to an external USB drive, and then deleted the database directory from the main hard ...
2
votes
1
answer
36
views
df reports negative used storage on Ubuntu server
I am running Ubuntu server on a machine with multiple hard drives and partitions. Recently, I split the system partition into two, sda2 and sda3. sda2 contains the system files, sda3 is mapped using ...
0
votes
3
answers
31
views
Check if a "string" is an existing device name and not a partition name
For example if I have an existing device variable /dev/sda, I want to verify that it is not the name of a partition but of the entire disk.
I have tried this:
[[ $(df --output=source "$var" ...
0
votes
0
answers
91
views
Ubuntu 20.04.3 taking up too much space?
I am new to linux OS and so my apologies if this is disjointed or a stupid/basic question. I am running into an issue where I had allocated about 50gb for this installation of ubuntu (20.04.3) (...
0
votes
0
answers
72
views
Some space seems to be lost on an ext4 drive on Ubuntu 20.04
Today I "found" a HDD in one of my systems that I completely forgot I had. So I wanted to look inside and see what was in there. I logged in via ssh from another computer (may be important ...
1
vote
1
answer
224
views
df hanging: Buffer I/O error on dev sdh1, logical block 754166359, async page read
After a Ubuntu 20.04 machine has been running for some time, and I tried to run df, it simply just hangs there.
dmesg shows tons of the same error message:
[118924.226495] Buffer I/O error on dev sdh1,...
0
votes
0
answers
40
views
Free swap file space contained on root partition without rebooting to free space checked by df
I have created a temporary Swap file (/var/cache/swap/myswap) of 500GB on a Ubuntu worstation at work wiht 1TB RAM. This swapfile is on a BTRFS filesystem.
I don't need anymore of this swapfile now ...
0
votes
0
answers
30
views
df probably shows possibly wrong total
I have recently spun up a new Ubuntu VM with Docker using KVM:
virt-install \
--bridge=br0 \
--name "${worker_name}" \
--ram 4096 \
--disk path=/var/lib/libvirt/images/"${...
1
vote
1
answer
148
views
Keep running out of space, where have my harddrive space gone?
I'm kind of a Linux noob and have been for almost 15 years, but I am trying to keep it active and learn more.
I have a Intel NUC with 120-ish NVMe SSD storage which I'm using for a home server. It has ...
0
votes
0
answers
85
views
Why is my filesystem size larger than the partition size. (df vs fdisk)
So...
I get that fdisk lists partition sizes, and df lists filesystem sizes, and that filesystem may use a portion of the partition and disagree on the size, but why would df list filesystem sizes ...
1
vote
1
answer
241
views
what is the meaning of the "root file system full: empty trash" message?
there should be plenty of space:
nicholas@mordor:~$
nicholas@mordor:~$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.6G 2.6M 1.6G 1% /run
/...
0
votes
0
answers
286
views
df, du, xfs_quota shows three different disk usage on xfs partition
I have an Ubuntu 18.04 server which is used by a backup software as a storage. The backup software saves the data to a xfs partition (/backup) which is on RAID5. The root filesystem is ext4.
When I ...
0
votes
1
answer
30
views
Why do "Properties" and df command return different used disk space?
So I just formatted two SSDs to EXT4 and when I right-click and select Properties in file manager, I get a window that says 50 GB (!) of disk space is already used on the 1 TB disk and 100 GB (!!) is ...
0
votes
0
answers
39
views
understanding df -h output for use with dd
What do the different sda devices represent in this df -h output?
Aren't /var /usr /opt all apart of / (the root directory)? Does this mean those directories are partitioned differently?
-bash-3.2$ df ...
0
votes
0
answers
563
views
Missing df command on Ubuntu 20.04
I tried to run TimeShift but got an error saying:
Commands listed below are not available on this system: *df
I tried to install the df command using sudo apt install coreutils and got a message ...
0
votes
0
answers
45
views
Discrepancy between df and du
I'm tracking down disk usage, and I am getting different results from df and du.
When I installed Ubuntu, I ticked the box to encrypt my home directory, so my df -h outputs the following mounts (among ...
4
votes
0
answers
612
views
Recovering deleted files with rm -rf [duplicate]
I accidentally deleted a directory with
rm -rf /media/directory
When using
ls -lh /media
the space appears to be free, but when I use df or open the file manager nautilus or pantheon, it shows that ...
2
votes
0
answers
2k
views
No space left on device, even though there is
similar questions on this site did not have a solution for me.
I'm developing a web app with symfony, and tried to start a local server, which resulted in a warning and didn't start anything
che6yp@...
2
votes
1
answer
628
views
df -h displays /cow as one of the devices what does this mean?
In addition to the other storage devices on my laptop, running df -h displays /cow as one of the devices. What does this mean?
1
vote
1
answer
77
views
Understanding the Use% column of the df command output
Below is an output of df command
# df /boot
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 122835 26732 89550 23% /boot
It seems that
Used = 1K-blocks - ...
2
votes
1
answer
159
views
Understanding the df command output
Below is an output of df command
# df /boot
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 122835 26732 89550 23% /boot
I cannot figure out how the "...
0
votes
1
answer
212
views
Difference between gparted and df hard drive sizes
In df -h output I can see:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 234G 60M 222G 1% /...
1
vote
2
answers
263
views
How much free space do I really have on my drive (ext4 and ntfs)?
I keep backups at two, 1.5 GB external hard drives which were both, up until recently, formatted to ntfs. The two hold identical copies of my files and folders.
Recently I decided to change to ext4, ...
0
votes
0
answers
190
views
Is the size of loopback devices considered for calculating total disk space
I am in a dilemma and want to confirm whether the size of loopback devices is considered while calculation disk size using df -h command.
Here is the output of my df -h command.
Filesystem ...
7
votes
2
answers
706
views
Prevent du command report inflated info about /snap directories
I have an Ubuntu 20.04 server installed on a single 8GB drive. The default installation has some "snap"s installed also. So, there are some "squashfs" file systems also reported by the df command:
# ...
19
votes
4
answers
8k
views
`df` command throws error on /run/user/1000/doc/ folder
When reviewing my daily logwatch report, I noticed a new df error this morning. I noticed the unusual error at the top of the df listing...
~$ df (when run manually from my own account)
df: /run/user/...
1
vote
1
answer
562
views
There is no space left on the device
sudo df -h
udev 982M 0 982M 0% /dev
tmpfs 200M 5.3M 195M 3% /run
/dev/vda2 40G 5.2G 33G 14% /
tmpfs 1000M 0 1000M 0% /dev/shm
tmpfs ...
3
votes
1
answer
2k
views
Why does df -h show different information then fdisk -l
I am trying to understand the difference between the output of fdisk -l and df -h. As I understand, fdisk shows the partition size, and df shows the size of the filesystem.
My problem is that I have ...
4
votes
1
answer
5k
views
What is difference between ls -lh and du -sh?
$ ls -lh file1.tar
-rw-r--r-- 1 wnice wnice 40K Aug 6 20:41 file1.tar
$ du -sh file1.tar
80K file1.tar
Why is it showing different sizes of same file? Please help me understand
1
vote
1
answer
63
views
Which folders are in /dev/sde3?
How to see which folders are in /dev/sde3 ?
df -h
/dev/sde3 39G 32G 4.8G 87% /
Doing:
cd /
sudo du -d 1 -h | sort -hr
Also shows me folders like:
/dev/sde4 ...
4
votes
1
answer
7k
views
What is "udev" and "tmpfs"
I run the command df -h and it showed that udev has a size of 471M and the other 5 tmpfs have an estimated size of 1.1G. What should I do to them?
1
vote
1
answer
1k
views
Disk usage analyzer report different free space than terminal
I got an error that I'm running out of disk space while syncing dropbox, so I had to delete some files. The strange thing is that the "disk usage analyzer" reported that I had about 15GB free space.
...
1
vote
1
answer
605
views
Missing df --direct option?
during configuration (after install) of Oracle XE 18c on my 16.04, I noticed this message generated by the shell script:
/bin/df: unrecognized option '--direct'
'Try '/bin/df --help' for more ...
2
votes
1
answer
2k
views
Not enough space on parition mounted at / [duplicate]
I'm trying to install cuda toolkit:
sudo sh cuda_10.0.130_410.48_linux.run --silent --toolkit --toolkitpath=/usr/local/cuda-10.0
Not enough space on parition mounted at /.
Need 3391705088 bytes.
...
1
vote
2
answers
1k
views
Use df on LUKS encrypted device
I am using LUKS for disk encryption for a Ubuntu 18.04 system. I'd like to find out how much free space is still available on my hard drive. gparted prints the following:
As you can see the entire ...
1
vote
1
answer
107
views
How to speed-up boot by disabling few dev-loox.device? [duplicate]
When I checked my system's boot logs, I noticed that each of the dev-loopx.device takes a good 3-5 seconds to boot, and I have a total 20 such loopx devices lines up during my boot, which ultimately ...
0
votes
1
answer
2k
views
Failed to boot : create volatile files and directories, enable support for additional executables binary formats and LSB: AppArmor initialization
I get these errors whenever I boot the machine:
[failed] Failed to start Create Volatile Files and Directories.
[failed] Failed to start Enable support for additional executable binary formats.
[...
2
votes
1
answer
57
views
Available + used size only 19% of total partition size
I have a VPS with Ubuntu on OpenVZ.
I noticed a day ago that the output of the df -h command returns strange values.
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 54G 1.5G 8.8G ...
0
votes
1
answer
1k
views
Used and available df values don't add up to the correct size [duplicate]
I just did a df to check the disk usage on a new 16.04 installation and noticed the following result. The used and available on /dev/sda2 don't add up to the partition size. Even if I do 836120968-...
1
vote
0
answers
2k
views
nvme SSD df -h reports incorrect disk usage
I helped myself with this shiny new Samsung 960 EVO 250GB, and it is super fast, I am very happy with it.
Now my disk is full, but df -h reports 33% used space...
I really don't know where to start....
1
vote
1
answer
73
views
Unable to free diskspace by removing files and not restarting the computer (hibernation possible)
I have a similar problem to the one mentioned here: Unable to free up space in df but I can not reboot (I have important data in the memory).
The output of df -h / is:
Filesystem Size Used ...
1
vote
1
answer
642
views
df generates duplicate entries
df command generates duplicate entries, like so:
mr@ubx:~$ df /*
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 213G 65G 137G 33% /
/dev/sda2 ...
0
votes
0
answers
802
views
SSD total capacity <> free space + used space
I got a new 500GB SSD and formatted it with ext4+LUKS using the Disks utility in Ubuntu 16.04.
Enter disk with Nautilus, right-click and Properties. Total capacity is 492 GB, free space is 467 GB, ...
0
votes
2
answers
1k
views
How can I check all used space on filesystem in linux?
I've already tried du-ch , df -h and df -h --total but it all result to their specific size of folder. Need to know how can I get the total used space in human readable form. Hoping for your help. ...
1
vote
0
answers
507
views
No space left on device - Size=105G, Used=55G, Avail=0
My root filesystem claims I have no space left on device. I've done some searching and can't find anyone with the problem I'm having.
If you look at / you can see that the partition is 105G, used is ...