Questions tagged [df]
df is a standard Unix computer program used to display the amount of available disk space for filesystems
60
questions
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.
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
$> ...
10
votes
2
answers
82k
views
Running out of disk space on /home directory?
I have a 200GB HD and have just installed Linux Mint (12 - KDE) as the only OS (I formatted and wiped my previous Windows 7 installation). I am in the process of installing my "sandbox" and because I'...
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.
...
6
votes
1
answer
14k
views
How do I change the default for the "df" command in the Unix/Linux Terminal in the tcsh shell?
I am in the Unix/Linux terminal right now and I'm not in any kind of editor such as vi or emacs. Now when I type in the "df" command, I get the amount of disk free space in KILOBYTES. I want to change ...
5
votes
3
answers
1k
views
Is it possible to add a thousands comma separator to the output of the Linux "df" command
df command gives me good information, and I love to see it in KB unit. But I need a thousands separator (aka: a comma) every 3 digits because the numbers will be always huge.
ex> df
Filesystem ...
5
votes
1
answer
4k
views
df reported size/used/available discrepancy
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-Backups 425G 377G 27G 94% /Backups
Size = 425G
Used = 377G
Available = 27G
Used + Available = 404G ...
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:
/...
4
votes
4
answers
5k
views
Find availble disk space in unix without parsing `df` output
When I type df -k ., I get the following output
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 16512936 8650196 7023932 56% /
What I do is tail the last line and ...
4
votes
0
answers
70
views
df reporting weird file usage info
This is on an ubuntu machine running jaunty (9.04). Yesterday there was 30 something gigs free, now df is reporting:
/dev/sda1 9.2G 5.1G 3.7G 59% /
none 966M ...
3
votes
2
answers
11k
views
Is it safe to delete contents of /root/.cache folder to free up space?
I need to free up disk space on my linux server.
I run the df command to check space ad see that I'm using up 100% of disk space.
myserver:/ # df /
Filesystem 1K-blocks Used Available Use% ...
3
votes
1
answer
2k
views
Parse df output by columns
I'm having difficulty extracting the Filesystem and Mounted on columns from the df ouput.
$df -Hl
Results in
Filesystem Size Used Avail Capacity iused ifree %...
3
votes
0
answers
217
views
Explaination needed for strange `df` and `du` results
Can someone help me to understand the following output:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 8.0G 7.5G 167M 98% /
udev 7.4G 8.0K 7.4G 1% /dev
...
2
votes
3
answers
5k
views
Folder is empty, but du reports high usage
I have a 115GB partition on my hard disk (output of cgdisk /dev/sda is below):
Part. # Size Partition Type Partition Name
--------------------------------------------------------...
2
votes
1
answer
2k
views
linux df -h not showing some info
I have Ubuntu 20.04 linux and I create a second disk, and second filesystem. Right now when I want to see info my second filesystem df is not showing. I use default mount specification.
df -ah
...