I'm completly confused. Per accident more or less I gave my PC 100 GB for root. And now Ubuntu tells me I am out of space, 0 byte left. I cleared the trash to get a little bit to work with (5GB), still tells me zero bytes left, allthoug I managed to mount my backup drive. And I read people are using 30 GB and less for root. I am using SystemBack to avoid long installation time and to get the system I am used to. I partitioned as followed:
- GPT Partion table
/
100GB- Boot/Efi 200MB
- SWAP 6GB
- Home rest ~2TB
I installed around 2 weeks ago, and root is full. If I knew how to search for big files or folders, would be a great help. edit is what I am looking for
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 4,0K 16G 1% /dev
tmpfs 3,2G 1,9M 3,2G 1% /run
/dev/sda1 116G 116G 0 100% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
none 5,0M 0 5,0M 0% /run/lock
none 16G 360K 16G 1% /run/shm<br<
none 100M 72K 100M 1% /run/user
/dev/sda4 2,5T 282G 2,1T 12% /home
/dev/sda2 197M 3,4M 194M 2% /boot/efi
overflow 1,0M 8,0K 1016K 1% /tmp
/dev/sdc1 3,7G 2,5G 1,2G 69% /media/dag/SBLIVE
$ df -ih
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 4,0M 606 4,0M 1% /dev
tmpfs 4,0M 786 4,0M 1% /run
/dev/sda1 7,4M 451K 6,9M 7% /
none 4,0M 2 4,0M 1% /sys/fs/cgroup
none 4,0M 5 4,0M 1% /run/lock
none 4,0M 17 4,0M 1% /run/shm
none 4,0M 30 4,0M 1% /run/user
/dev/sda4 161M 652K 161M 1% /home
/dev/sda2 0 0 0 - /boot/efi
overflow 4,0M 13 4,0M 1% /tmp
/dev/sdc1 0 0 0 - /media/dag/SBLIVE
$ sudo du -axBM -d 1 / | sort -nr | head -20
118010M /
110164M /media
5377M /usr
1378M /lib
728M /var
324M /boot
15M /etc
13M /sbin
10M /bin
4M /opt
1M /srv
1M /root
1M /mnt
1M /lost+found
1M /lib64
1M /core
1M /cdrom
0M /vmlinuz.old
0M /vmlinuz
0M /initrd.img.old
sudo du -aBM -d 1 . | sort -nr | head -20
will show you the largest twenty files / subdirectories of your current directory. The first time you run it, it takes a while as it reads the directory structure. – Charles Green Aug 12 '17 at 13:51df -h | grep "/$"
? (It should show how much space is left on the root partition - just in case the notice you get is somehow bugged...)(Edit: Or you could try
– Kai Aug 12 '17 at 14:28df -h | egrep "(/$|File)"
which results in the same but with the header)df -h
,df -ih
andsudo du -axBM -d 1 / | sort -nr | head -20
and append the outputs of these commands into your question, rather then into a comment. – Charles Green Aug 12 '17 at 15:52I'm pretty sure that there's no need to change the language, most of the text is in the headers in the first line of the output anyways.
– Kai Aug 12 '17 at 17:30