Tagged Questions

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

learn more… | top users | synonyms

-1
votes
1answer
30 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 ...
0
votes
2answers
62 views

Where is my diskspace?

Recently my disk space reached the 98% mark, and I tried to discover the reason for this. My system consists of two disks: a ssd /dev/sda and a storage hdd /dev/sdb. My Linux is installed on ...
0
votes
0answers
36 views

rm -rf * results in “Killed”

I used PHP to generate about 4,000,000 files in a directory (f/) because I was bored. When I cd .. and use rm -rf f, it simply returns "Killed" about half a second later and does not delete the ...
0
votes
3answers
64 views

df -l is showing 100% full but the file was removed

I got an alert that a local disk was full; dm@fooserv:/local/data/plog $ df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/rootvg-datavol ...
2
votes
1answer
17 views

df -h Size - User != Avail

When I run df -h I get the following Filesystem Size Used Avail Use% Mounted on /dev/sda3 809G 753G 14G 99% / But Size - Used is not even close to Avail (809-753 = 56 ...
0
votes
1answer
42 views

Disk usage increasing on its own

I am using ubuntu 13.10. I checked disk usage using df. Following was the result df --block-size=1 /dev/sda1 Filesystem 1B-blocks Used Available Use% Mounted on /dev/sda1 ...
1
vote
1answer
242 views

Linux Server out of Disk Space

When I run some commands I get 'out of space' messages. I looked around the Internet for ways to diagnose the issue. I ran df: adam@nas:/$ df Filesystem 1K-blocks Used Available ...
1
vote
1answer
426 views

Confused about df and lsblk commands showing different information?

$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda1 202:1 0 20G 0 disk / xvda3 202:3 0 896M 0 disk [SWAP] $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G ...
0
votes
3answers
203 views

Get hard disk size without df

How to check a vendor's statement about a hard disk size? df shows results partition oriented (including tmpfs), one has to execute it and count label oriented. How to get in a single command or cat ...
0
votes
1answer
107 views

What are sparse files and how to deal with them?

When dealing with sparse files, df appears to report the dummy size and not the apparent size of the file which makes it difficult to monitor free space on the system. (I use df -h to check disk ...
1
vote
0answers
528 views

Can I hide BIND mount points from DF?

Is there a formal way to hide the mount points of BIND from df (in CentOS 6.4) ? It's ugly and distracting. Apparently people have been complaining about it for a decade but I cannot seem to google ...
1
vote
1answer
237 views

Missing space on hdd linux?

michaelxu@michaelxu-server:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 71G 65G 2.0G 98% / none 495M 224K 495M 1% /dev none ...
1
vote
2answers
283 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 ...
0
votes
2answers
141 views

*nix shellscript: Get disk usage on multiple OSs

I am trying to get the usage-percentage for a given disk in a system. The program I have to write will be a bash shell script. The script has to work on Debian, Arch, and Mac OS X. My current ...
0
votes
1answer
94 views

How can the 'df' Used be different after an rsync?

I've used rsync to copy an entire hard disk from one to another which was just newly formatted. It's about 640GB of data, but the destination hard drive has 750MB more that shows up under the 'df' ...
0
votes
3answers
482 views

df -h showing wrong output in GB

If I list df output for KB, MB and GB, they do not match e.g. $ df -k |grep xvdb /dev/xvdb1 12796048 732812 11413172 7% /xxx $ df -m |grep xvdb /dev/xvdb1 12497 ...
3
votes
1answer
664 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 ...
3
votes
2answers
15k 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 ...
1
vote
2answers
528 views

In Linux, is it possible to get a listing of drives' disk space usage that also shows volume labels?

I know about df, of course, but df does not output volume labels. I have 5 USB hard drives plugged into my NAS box, and would love to know which is which. Current df output: Filesystem ...
3
votes
1answer
2k 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 = ...
3
votes
0answers
48 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 ...
33
votes
3answers
19k 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.