Covers questions related to file space usage—space used under a particular directory or files on a file system.
Questions tagged [disk-usage]
1230 questions
197
votes
5 answers
Why doesn't this show the hidden files/folders?
I was looking through my system with du -sch ./* to find the big useless files I may have stockpiled with no reason, when I found this:
$ du -sch ./*
du: cannot read directory ‘./drbunsen/.gvfs’: Permission denied
du: cannot read directory…

Dr_Bunsen
- 4,713
- 4
- 28
- 40
194
votes
14 answers
No more disk space: How can I find what is taking up the space?
I've run into a problem on one of my servers running 16.04: there is no disk space left.
I have no idea what is taking up the space. Is there a command to list the current directory sizes, so I can traverse and end up in the directory taking up all…

Karl Morrison
- 9,476
79
votes
4 answers
analyse disk usage ignoring mounts
Ubuntu is complaining that my root file system is nearly full, but when I use baobab (aka "Disk Usage Analyser") or du -h it summarises the usage of all the other mounted file systems as well.
How can I exclude the other file systems which are…

drevicko
- 4,373
74
votes
16 answers
Root drive is running out of disk space. How can I free up space?
I'm using Ubuntu 11.04 and I want to free up some space in my root directory, which is overloaded. I especially want to change the path used for installing applications (they are getting installed directly to the root drive).
Another consideration…

rihan
- 841
40
votes
9 answers
Why do "df" and "du" commands show different disk usage?
I cannot access ubuntu system on my pc, the error message: "the system is running in low graphics mode" and I tried some commands I searched from internet.
I found out a problems seems there is no available disk space. I used "df" and "du" commands…

user2068965
- 509
34
votes
3 answers
Why doesn't deleting files increase available space?
Recently I got a message about "0 bytes free" on a certain partition.
So I looked and, sure enough:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 65190604 10920296 50959160 18% /
udev 966544 …

David Cary
- 992
29
votes
2 answers
df -h shows incorrect free space
Here is my df-h output. In here /media/Songs is using almost 100% disk space.
root@LAB:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 19G 8.7G 9.2G 49% /
udev 1.5G 4.0K 1.5G 1%…

Vipin Ms
- 671
25
votes
8 answers
What is taking up so much space on my disk, beside the filesystem?
I have only one disk in my computer, a 80 GB SSD. It is formatted as a single ext4 partition (no swap), and all the usual folders are installed on it (I keep lots of data on external media, but /home and all the rest is on the SSD).
Today I booted…

rumtscho
- 1,051
18
votes
2 answers
Deleting a large file does not free up space
I deleted a large file (6 GB) located in my home directory but the free space is not increased.
I have tried looking the file in trash folder by typing cd ~/.local/share/Trash/files but it's not listed there. I have tried running sudo apt-get clean…

Gaurav Mittal
- 181
14
votes
1 answer
/dev/mapper/ubuntu--vg-root is full
I have just successfully increased my disk size having had help with this question. My set up is Ubuntu Server running in VirtualBox as a web development server. I now have this space:
As you can see /dev/mapper/ubuntu--vg-root is full but I have a…

beingalex
- 253
13
votes
1 answer
What command for showing disk usage of specific directory non recursive?
Can I show how much disk space a directory's contents are using, not including its sub directories (and their contents)? If so, what commands(s) please? Thanks.

bcsteeve
- 1,289
12
votes
3 answers
How much disk space is allocated in Ubuntu for a new user?
How much disk space is allocated in Ubuntu 12.04 if new user is added? I have 500GB completely allocated for Ubuntu. If a new user is added then how much disk space will be allocated for him?

MaheshK
- 133
- 1
- 9
9
votes
3 answers
Who is filling my disk?
I have my primary disk completely filled up:
root@kodi:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 385M 12M 374M 3% /run
/dev/sda1 88G 84G 0 100% /
tmpfs …

effemmeffe
- 583
9
votes
3 answers
Are there any way to see how much space is used for Ubuntu?
I can see how much space using in Windows, since Ubuntu uses root concept, there is no particular hard drive any more. How can I tell how much space left using Ubuntu?

user3528144
- 647
- 2
- 8
- 15
7
votes
3 answers
Differences between df, df -h, and df -l
Question
What are the differences between the following commands?
df
df -h
df -l
Feedback
Information is greatly appreciated. Thank you.

sdale1930
- 1,147
- 2
- 9
- 11