Skip to main content

Questions tagged [df]

df is a standard Unix computer program used to display the amount of available disk space for filesystems

138 votes
7 answers
97k views

How to analyse disk usage in command line linux?

du and df are nice, but I don't know how to filter the data they provide the way I do with SequoiaView. I would like to know which are the largest folders and the largest files in a glance.
Jader Dias's user avatar
  • 16.1k
2 votes
2 answers
1k views

Discrepancy between df and du

I have a question pertaining the difference from 'df -h' and 'du -bs'. I have seen several questions here about it, but the issue was always that 'df -h' was reporting more used space than 'du -bs'. I ...
Jose Miguel Dores's user avatar
15 votes
1 answer
19k views

Why might a partition show up in `mount` but not `df`?

If I compare this $> sudo mount | grep sdb /dev/sdb1 on /windows type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) /dev/sdb2 on /store type ext4 (rw) with this $> ...
spraff's user avatar
  • 2,228
9 votes
2 answers
13k views

why df vs lsblk command have different results?

so this is the situation: I had this hardDrive of 500GB, on my server and tried to upgrade it to a 2T HardDrive, after the upgrade result of lsblk has changed while df still returns same results. ...
nafas's user avatar
  • 519
4 votes
1 answer
1k views

Not the same output format from `df` in different Linux distributions

In Ubuntu the output of this command df --exclude={tmpfs,devtmpfs,squashfs,overlay} | sed -e /^Filesystem/d | awk '{print $6 " " $1 " " $3 " " $4 " " $5}' is: /...
Piduna's user avatar
  • 153
2 votes
1 answer
3k views

Increase root disk space

New to Linux, I want to increase the size of disk space in fedora-root and it appears that theres ~16GB of available space in other filesystems. Is this a correct assessment? Below I provide the ...
TorusGenusTwo's user avatar
-1 votes
1 answer
2k views

Is there something wrong with my disk partition?

# fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 41940991 20719617 5 Extended ...
Bob's user avatar
  • 1