Questions tagged as ['df']

Score: 1
Athena Wisdom avatar
df hanging: Buffer I/O error on dev sdh1, logical block 754166359, async page read
gr flag

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, logical block 754166359, async page read
[118924.226928] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.227149] Buffer I/O error on dev sdh1, logical block 754166359, async p ...
Score: 0
youpilat13 avatar
Free swap file space contained on root partition without rebooting to free space checked by df
om flag

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 and I would like that space taken by this swapfile doesn't appear anymore when I do a "df" command.

I would like to free this space without rebooting.

I tried : $ swapoff -a

I have also tried : $ swapoff / ...

Score: 0
Madeo avatar
df probably shows possibly wrong total
cn flag

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/"${worker_name}".qcow2,size=150 \
  --vcpus 2 \
  --cdrom /var/lib/libvirt/isos/ubuntu-20.04.2-live-server-amd64.iso \
  --autostart

As you can see I have set the size of the disk to 150GB, however when I run df -h --total ...

Score: 1
Keep running out of space, where have my harddrive space gone?
mm flag

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 Ubuntu Server 18.04 installed and the only thing on it should be about 10 Docker containers and their respective volumes. I have Synology NAS shares mounted for larger data (main use is Plex server) ...

Score: 0
Why is my filesystem size larger than the partition size. (df vs fdisk)
br flag

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 that are larger that the partition sizes?

enter image description here

df: /dev/sda6 200G

fdisk: /dev/sda5 7.8G

Wut?

Score: 1
Nicholas Saunders avatar
what is the meaning of the "root file system full: empty trash" message?
mx flag

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
/dev/mapper/vgubuntu-root   72G   68G     0 100% /
tmpfs                      7.8G   16K  7.8G   1% /dev/shm
tmpfs                      5.0M  4.0K  5.0M   1% /run/lock
tmpfs                      4.0M      ...