Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  29] [ 0]  / answers: 1 / hits: 129645  / 2 Years ago, tue, march 29, 2022, 7:14:16

Hi All I have a issue where my system wouldn't login or startup properly. I checked the hard drive space to find the below.



matthew@Kronos:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/Kronos--vg-root 214G 203G 0 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 7.8G 4.0K 7.8G 1% /dev
tmpfs 1.6G 928K 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.8G 4.0K 7.8G 1% /run/shm
none 100M 8.0K 100M 1% /run/user
overflow 1.0M 36K 988K 4% /tmp
/dev/sda1 228M 55M 161M 26% /boot
zeus 1.8T 1.3T 540G 71% /zeus


How do I fix this 100% full, I do not have a bigger hard drive to give it, am I stuck with having to buy a bigger drive for it? I'm fairly new to ubuntu and linux so please provide full command line commands I need to use.



Thanks in advance.


More From » filesystem

 Answers
0

I have found the issue! Drilling down into the files using:


sudo du -a /home | sort -n -r | head -n 10

Shows the top 10 files taking up the most space, two of the biggest was .xsession-errors and my downloads folder. After going to the directory and using rm -f on the folders my /home is now only 6.1G!


Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/Kronos--vg-root 214G 6.1G 208G 3% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 7.8G 4.0K 7.8G 1% /dev
tmpfs 1.6G 912K 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.8G 148K 7.8G 1% /run/shm
none 100M 20K 100M 1% /run/user
/dev/sda1 228M 64M 152M 30% /boot
zeus 1.8T 1.3T 538G 71% /zeus

Thanks to all that helped me to narrow down the issue and resolve it.


[#31175] Thursday, March 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
corsee

Total Points: 479
Total Questions: 122
Total Answers: 106

Location: Barbados
Member since Sat, May 9, 2020
4 Years ago
;