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
system disk partition almost full - not enough free space
system disk partition almost full - not enough free space
hello
I tought 16Go was sufficient for a clean / bullseye system.
My / file system is 99% full
E: You don't have enough free space in /var/cache/apt/archives/.
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.7G 0 7.7G 0% /dev
tmpfs 1.6G 1.8M 1.6G 1% /run
/dev/nvme0n1p2 17G 16G 162M 99% /
Is there a way to clean my system, and regain some disk space?
thank you
I tought 16Go was sufficient for a clean / bullseye system.
My / file system is 99% full
E: You don't have enough free space in /var/cache/apt/archives/.
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.7G 0 7.7G 0% /dev
tmpfs 1.6G 1.8M 1.6G 1% /run
/dev/nvme0n1p2 17G 16G 162M 99% /
Is there a way to clean my system, and regain some disk space?
thank you
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: system disk partition almost full - not enough free spac
It depends on many things. Whether you install many/big packages, /home and /var are included in the / filesystem...carmima wrote:I tought 16Go was sufficient for a clean / bullseye system.
What do you mean by "clean" ?
It depends on what takes the disk space. Install packages, cached data, logs, user data...carmima wrote:Is there a way to clean my system, and regain some disk space?
Code: Select all
du -hxd1 / | sort -h
and recursively with directories which appear to take most space.
/home -> user data
/usr -> packages
/var/log -> logs
/var/cache -> cached data
Last edited by p.H on 2021-06-17 14:33, edited 2 times in total.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: system disk partition almost full - not enough free spac
What kind of computer is that? make and Model?
Are you using the whole drive or a part that is partitioned?
I have been using an HP Stream for a while now. It only has 16Gb. Maybe I should eventually install the system on the SDHC card and use the entire 16Gb as /Home.
I like some of the advice on the Easy Linux Tips Project. Ok it is principally about Linux Mint and Ubuntu but it is applicable to Debian. It particularly advises about the problems apps like Bleachbit can bring.
https://easylinuxtipsproject.blogspot.c ... -mint.html
https://easylinuxtipsproject.blogspot.c ... buntu.html
Are you using the whole drive or a part that is partitioned?
I have been using an HP Stream for a while now. It only has 16Gb. Maybe I should eventually install the system on the SDHC card and use the entire 16Gb as /Home.
I like some of the advice on the Easy Linux Tips Project. Ok it is principally about Linux Mint and Ubuntu but it is applicable to Debian. It particularly advises about the problems apps like Bleachbit can bring.
https://easylinuxtipsproject.blogspot.c ... -mint.html
https://easylinuxtipsproject.blogspot.c ... buntu.html
- sunrat
- Administrator
- Posts: 6465
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 473 times
Re: system disk partition almost full - not enough free spac
should bep.H wrote:Code: Select all
du -hxd1 / | grep sort -h
Code: Select all
du -hxd1 / | sort -hr
Last edited by sunrat on 2021-06-17 13:38, edited 1 time in total.
“ 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!
-
- Global Moderator
- Posts: 2680
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: system disk partition almost full - not enough free spac
Bleachbit as a wrecking ball? Humorous. It's as potentially damaging as a keyboard.
Perhaps if we tried it we'd know!
I've used it hundreds of times. It tells you specifically what's going to happen.
I've used it to compact an OS on a disk to be pulled into a image file, only to find it leaves lots of cruft in /home that needs manually deleted.
That reminds me, I've never tried cruft...
https://packages.debian.org/search?keyw ... lla-search
Also, all the languages we don't read...
https://packages.debian.org/search?suit ... ocalepurge
Perhaps if we tried it we'd know!
I've used it hundreds of times. It tells you specifically what's going to happen.
I've used it to compact an OS on a disk to be pulled into a image file, only to find it leaves lots of cruft in /home that needs manually deleted.
That reminds me, I've never tried cruft...
https://packages.debian.org/search?keyw ... lla-search
Also, all the languages we don't read...
https://packages.debian.org/search?suit ... ocalepurge
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: system disk partition almost full - not enough free spac
What do you mean exactly by "what's going to happen" ? What it's going to do or the functional consequences of what it's going to do ?CwF wrote:It tells you specifically what's going to happen.
-
- Global Moderator
- Posts: 2680
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: system disk partition almost full - not enough free spac
Yes, the consequences of the actions require the users common sense.p.H wrote:What it's going to do or the functional consequences of what it's going to do ?
There are whitelist and blacklist. There are many options to sort through, you can select nothing...
Then with something selected it can do a practice run giving you a list of the proposed deletions.
Read it.
It has many plugins to handle programs with caches, temps, etc. in addition to standard OS cleaning like apt options. The only time I've seen it screw something up was a hacked into stable not in repository type deal - did I mention the whitelist...
There is 'as user' and 'as root' options and that's very different. Once set up for a given install, I simply click through, open, go, done, literally seconds. On a full 16G typically sloppy system I'd expect 2-3GB of obvious cruft. Lots more it will leave in home. If anything installed is out of repository, pay attention!
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: system disk partition almost full - not enough free spac
That does not answer the question.CwF wrote:Yes, the consequences of the actions require the users common sense.
Besides, this sentence does not make any sense : consequences are just consequences, they do not require anything.
Re: system disk partition almost full - not enough free spac
Almost a necropost - but what worked for me on old atoms was (on fluxbox, i3 and sway)
1. Add a SDHC - the atoms or keyboards or ... died before the SDHC's did
2. lvm was slicker than glycerin for install and manipulation if needed. Your mileage may vary (YMMV)
3. ncdu is a good addition to du, It is cli but aids seeing a larger picture.
4. Of course as above apt clean
I always appreciate posts that give system info via inxi.
Mark as Solved?
1. Add a SDHC - the atoms or keyboards or ... died before the SDHC's did
2. lvm was slicker than glycerin for install and manipulation if needed. Your mileage may vary (YMMV)
3. ncdu is a good addition to du, It is cli but aids seeing a larger picture.
4. Of course as above apt clean
I always appreciate posts that give system info via inxi.
Mark as Solved?
-
- Global Moderator
- Posts: 2680
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: system disk partition almost full - not enough free spac
post 1. OPpaxmark1 wrote:Mark as Solved?
post 2-* establish forum egos quibble.
OP never returns....
typical, so who knows? Many silent readers maybe got something out of it.