on my small homeserver running Ubuntu 16.04 LTS I have run out of diskspace on my system disk root partition for some reason. The device is a 128Gb SSD with the following status:
df -h:
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
udev 3,8G 0 3,8G 0% /dev
tmpfs 769M 12M 757M 2% /run
/dev/mapper/wuerfelchen--vg-root 22G 21G 403M 99% /
tmpfs 3,8G 8,0K 3,8G 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,8G 0 3,8G 0% /sys/fs/cgroup
/dev/sda2 473M 246M 203M 55% /boot
/dev/sda1 511M 3,6M 508M 1% /boot/efi
/dev/mapper/wuerfelchen--vg-homes 87G 541M 82G 1% /home
tmpfs 769M 0 769M 0% /run/user/1000
sudo du -hsx /* | sort -rh | head -n 40:
12G /root
3,7G /usr
3,6G /var
1,1G /lib
485M /home
260M /opt
244M /boot
125M /home_old
16M /bin
14M /sbin
12M /run
12M /etc
132K /tmp
32K /mnt
16K /media
16K /lost+found
8,0K /snap
8,0K /export
4,0K /srv
4,0K /lib64
4,0K /dead.letter
So, I can see, the folder /root is using 12G of the total 22G partition size, but I can't access the folder. What data is kept inside there? Can I check that somehow?
Thanks for help in advance!
sandman
sudo du -h /root
says? – ashvatthama Jun 18 '20 at 12:32lsblk -fs; sudo fdisk -l /dev/sda
. Are you using 18.10? This or this might help you. If you need to make some space you can usencdu
. – Pablo Bianchi Jun 18 '20 at 17:16