Hi
I need help
I am using Debian XFCE
At the beginning of yesterday, I had about 50 gigs free of storage on my only hard disk. I only did light coding, light io gaming and light video watching. At the end of yesterday, I had about 39 gigs free of storage left. It was too late, so I shut my computer down.
Here I am the next morning, with 38.66 gigs of free space left. What is wrong with my hard disk?!
This is all of the info I can give you. Sorry if it is not enough.
EDIT: I installed this program called "Stacer", used the disk cleaner tool, and freed a hell amount of space on my computer. Thank everyone in the Debian community for all your help.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] What is eating my hard disk?!
[SOLVED] What is eating my hard disk?!
Last edited by CWW on 2021-12-01 03:08, edited 2 times in total.
-
- Posts: 210
- Joined: 2021-08-13 19:55
- Location: Minnesota
- Has thanked: 7 times
- Been thanked: 41 times
Re: What is eating my hard disk?!
You can try running the following command in a terminal window for your home directory, it will give you to top 20 largest folders:
Code: Select all
du -d 1 --one-file-system | sort -n -r | head -n 20
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: What is eating my hard disk?!
Better scan the whole filesystem as root. Could be log files running wild.
If separate /home or /var (see df) :
And so on with each big subdirectory.
Code: Select all
du -hxd1 / | sort -h
Code: Select all
du -hxd1 /home | sort -h
du -hxd1 /var | sort -h
Re: What is eating my hard disk?!
the archive folder for apt often plays a role in this type of thing
it then may also be temp folders related to the things you do
it then may also be temp folders related to the things you do
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
- oswaldkelso
- df -h | grep > 20TiB
- Posts: 1495
- Joined: 2005-07-26 23:20
- Location: UK
- Has thanked: 1 time
- Been thanked: 60 times
Re: [SOLVED] What is eating my hard disk?!
look in /var/logs
But the first thing I'd do for an easy life is install ncdu
Thank me later
But the first thing I'd do for an easy life is install ncdu
Code: Select all
ncdu /
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
-
- Posts: 932
- Joined: 2020-05-03 14:16
- Has thanked: 7 times
- Been thanked: 68 times
Re: [SOLVED] What is eating my hard disk?!
Better install baobab.
Thank me after You thank to Mr oswaldkelso
(ncdu is really great when working without GUI / with ssh shell)
Thank me after You thank to Mr oswaldkelso
(ncdu is really great when working without GUI / with ssh shell)
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
The_full_story and Nothing_have_changed
- sunrat
- Administrator
- Posts: 6479
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: [SOLVED] What is eating my hard disk?!
If you go to ncdu website, many disk usage analyzers are listed under "Similar Projects". I generally use p.H suggestion except add "r" to list the largest on top.
du doesn't need to be installed like ncdu as it's likely already there.
Baobab is for Gnome so I pass on that one. Filelight or K4DirStat are better for KDE if you want a GUI. QDirStat is a DE-agnostic Qt based version.
Thanks not necessary nor elicited.
Code: Select all
du -hxd1 / | sort -hr
Baobab is for Gnome so I pass on that one. Filelight or K4DirStat are better for KDE if you want a GUI. QDirStat is a DE-agnostic Qt based version.
Thanks not necessary nor elicited.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!