Questions tagged [df]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 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
1answer
22 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
0answers
31 views

how can a full LVM setup has a slash fulled while all usr var etc partitions are separated ? (nearly)

Here's a strange thing to get a "/" partition fulled with a very new and quite minimal installation. (debian but very similar to ubuntu of course) Understand minimal here as a for usual ...
0
votes
0answers
26 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
0answers
23 views

Block device management

I searched for this in the forums, and did not find anything that could help me, if this was already discussed please forgive me. So I have 2 problems/questions: I recently installed unbuntu server ...
0
votes
0answers
75 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
0answers
36 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
0answers
217 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
0answers
539 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
1answer
99 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
1answer
61 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
1answer
71 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
1answer
109 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
2answers
153 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
0answers
31 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 ...
5
votes
2answers
387 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: # ...
10
votes
3answers
4k 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
1answer
152 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
1answer
1k 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
1answer
2k 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
1answer
48 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 ...
2
votes
1answer
4k 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
1answer
644 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
1answer
472 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
1answer
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
2answers
753 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
1answer
94 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
1answer
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
1answer
52 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
1answer
754 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
0answers
1k 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
1answer
63 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
1answer
474 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
0answers
739 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
2answers
984 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
0answers
391 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 ...
0
votes
1answer
181 views

df reports missing space? [duplicate]

This is part of df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 222G 5.5G 205G 3% / 222 - 5.5 = 205? I also observe this in another physical machine /dev/sda1 108G ...
2
votes
1answer
394 views

Duplicity restore fails, claiming “disk full”, even if there is still much room

I'm restoring a big file (~80GB, a virtual machine disk image). Although I start the restore operation with >145GB disk space, as reported by df , the restore aborts with a message that my disk has ...
1
vote
0answers
410 views

How to mount a USB so that it appear in df output?

When a USB /dev/sdb1 is mounted automatically on /media/DE61A-1D8C , I find it in df output. # df Filesystem #K-blocks Used Available Use% Mounted on [...] /dev/sdb1 1234556 ...
4
votes
2answers
9k views

df -h doesn't show /dev/sda

I am using df -h to get my disk space and the results are: Filesystem Size Used Avail Use% Mounted on udev 2.0G 4.0K 2.0G 1% /dev tmpfs 396M ...
0
votes
3answers
80 views

how to get the available space left deterministically?

When I use the cut command, everytime I get a different result which makes sense. So I wonder how to get the answer similar to this but consistent across different Ubuntu nodes? ubuntu@ip:~/...
8
votes
3answers
27k views

How to fix exfat filesystem

So we accidentally caused our server to go down without a clean shutdown and now df is reporting wrong stats for the external usb (exfat). root@srv1:/backup/usbdisk# df -h Filesystem Size Used ...
1
vote
0answers
566 views

i can't install Ubuntu on my Microsoft Surface 3 (not Surface Pro)

My Surface 3 has 2gb ram and 18gb free space in 64 gb hard drive. It shows this when installing ubuntu:
1
vote
1answer
368 views

df -h showing weird output

I am getting a weird output on df -h for one of the partitions. Here is the output: /var/sdc$ df -kh Filesystem Size Used Avail Use% Mounted on /dev/sda1 990M 569M 354M 62% / /dev/sda2 ...
0
votes
1answer
71 views

Copy Active Partition To Use With VMWare

I want to take my physical drive to a virtual drive. I think the only partition with data on it is sda3 from my df output below. How can I create a file or .vdi from this drive to use with VMWare?? ...
2
votes
2answers
2k views

Deleting 'core dump' folders/files in root partition for space

On trying to upgrade my system, I keep getting a message that I need to free up space in the root partition. Here's the situation: Filesystem Size Used Avail Use% Mounted on /dev/sda5 ...
0
votes
1answer
576 views

How to run a command at login

So I've been looking around and I can find ways to run commands every time you open a new terminal and inadvertently figured out how to make a continuous loop of opening terminals. I've edited ....
1
vote
0answers
762 views

Ubuntu 14.04 - After update root disk /dev/sda is labelled /dev/root

After updating with apt-get upgrade the root partition /dev/sda is now labelled /dev/root. This is a KVM vm which is why it's showing as /dev/sda rather than /dev/sda1 I did not update the kernel. ...
3
votes
2answers
3k views

Finding my swap partition

It looks like I have 40 GB of swap: wuser@wavesftwDell:~$ cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 ...
1
vote
2answers
2k views

btrfs balance “No space left on device” with no success on any -dusage and -musage values

I have the following issue with btrfs balance start / on a btrfs on an 140 GB LVM with 4 physical device (in case that matters): sudo btrfs balance start / fails with ERROR: error during balancing '/'...