Skip to main content

All Questions

Tagged with
0 votes
1 answer
235 views

Why are df and du command show inconsistent results?

When I run df -h it shows that 95% has been used in /data4 and I am the only user under /data4. Filesystem Size Used Avail Use% Mounted on overlay 591G 455G 136G 78% / tmpfs ...
martin's user avatar
  • 145
1 vote
1 answer
3k views

How can I find out the capacity of the nfs mounted directory on the disk?

I cloud not find files filling the disk. df -h command print out / part usage %86 ( capacity is 15G ) but du -sh / command print out 3G. I am using nfs share on my system. the nfs mounted to /mnt. i ...
Hasan's user avatar
  • 23
2 votes
2 answers
3k views

Difference in free disk space - ncdu and df

I've noticed that there is a huge difference in free disk space for root by using "ncdu" or "df" for me: df -Th: dev devtmpfs 7,8G 0 7,8G 0% /dev run ...
sleepi's user avatar
  • 23
0 votes
1 answer
148 views

Is there a way I can check which block of disk is really used?

I use df and du to check disk usage of centos,then I get different results from these tools. [root@localhost home]# df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/...
Yvette Yu's user avatar
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
3k views

Disk space usage per owner, group or user

I am writing a small tool in which I need to find per-user, owner or group File-system-memory-usage. There is no quotas for each one, so all of them works under the same HDFS parameters in the ...
TheStromp's user avatar
-1 votes
1 answer
1k views

df says there is no free space, but there is free space

df shows there is no free space, but it also shows there is only 7,9/21G used. Filesystem Size Used Avail. Used% Mount path -> /dev/simfs 21G 7,9G 0 100% / devtmpfs 2,0G ...
Florian's user avatar
  • 13
0 votes
0 answers
1k views

Why does the output of `lsblk` and `df -h` seem to conflict?

I'm trying to create a directory /mnt/data that will be mounted on to /dev/mapper/centos-home, since that's the biggest partition. The output of lsblk looks like this: NAME MAJ:MIN RM ...
Marcus Buffett's user avatar
1 vote
1 answer
185 views

How much disk space do I have?

I'm trying to find out how much disk space a system has, but df does not show the / filesystem : # df Filesystem 1K-blocks Used Available Use% Mounted on ...
mshani's user avatar
  • 41
0 votes
1 answer
440 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 ...
tik's user avatar
  • 1
1 vote
1 answer
3k 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 ...
Cory's user avatar
  • 11
0 votes
2 answers
386 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 approach ...
gorootde's user avatar
  • 103
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'...
pnongrata's user avatar
  • 2,882
1 vote
2 answers
1k 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 ...
DavidH's user avatar
  • 173
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