• We did not send an email asking for donations - please read this post.

Lots of space is being taken

Phant0m

New Member
Joined
Jul 11, 2022
Messages
1
Reaction score
0
Credits
14
Hey guys i have been having this problem for a few days now. Basically whenever i start my laptop it shows a mssg that i have very low space left in filesystem root. And when i play my game it automatically quits saying low space.

Edit: I have already done most of the methods u guys have suggested. But i still get the mssg that only 750 mb is avalaible on filesystem root but when i use disk usage analyzer it says i have 34gb left free but even then its all red and 26 gb are being used how
 

Attachments

  • Screenshot at 2022-07-11 10-53-39.png
    Screenshot at 2022-07-11 10-53-39.png
    52.8 KB · Views: 105
Last edited:


kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,263
Reaction score
1,044
Credits
9,058
Hello @Phant0m,
Welcome to the forum, You don't say which version of Linux you are using?
15 Gbs for root is not a lot - I would up that to 30gbs. But the other problem may be your filling up the var/log files for some reason.
Take a look at the /var/log and see how much space is being used by them?
If you have extra installed kernels you may also want to remove some of the unused ones. I usually keep only two kernels at a time. Good Luck.
 

osprey

Active Member
Joined
Apr 15, 2022
Messages
238
Reaction score
137
Credits
2,183
The message that you are low on space is referring to the 93% of your root partition being used. Linux works better with a lower percentage of the root partition being used, and at 95% or more, it usually slows and eventually stops as usage approaches 100%. Keeping it below 80% would be preferable, though there are different views on the matter. My own machines are all below 50% on purpose which allows me to install larger programs like virtual machines if I choose, and then deallocate them.

There are number of things you can do on the root partition to increase space. Find large files that you don't need and delete them. Delete journal entries that you don't need any more. Delete programs/applications that you no longer use or can do without. Next level of "space creation" can involve repartitioning the drive either by using a partitioning tool like gparted or lvm if your system is using it. These repartitionings can be tricky and it looks like in your case you would be adding space from the home directory to the root directory. Back up data if you want to save it before repartitioning. The last alternative I'll mention is to re-install the distribution with more appropriate partition sizes, and consider using lvm which would provide some flexibility for size alterations in the future. You could also consider filesystems like btrfs which help with partitioning options for installed systems.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
7,334
Reaction score
6,321
Credits
59,450
Ubuntu 21.10 is no longer supported, reaching EOL back in June sometime.

Please upgrade to a supported release. Security fixes come out all the time. You're not getting those updates. You're a risk to yourself and others.
 

SlowCoder

Gold Member
Gold Supporter
Joined
May 2, 2022
Messages
456
Reaction score
316
Credits
3,611
15 Gbs for root is not a lot - I would up that to 30gbs.
This. Most modern distros require a minimum 20GB for the root partition. You should have at least 30GB to comfortably install applications. If you're adding a swap file, you need to account for that as well. My root partition is 50GB, 14 of which is used, and I don't install lots of big apps or games.

I see you have a separate home partition. Before you go deleting random stuff, repartitioning, adding LVM, etc, back up your data.
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
636
Reaction score
444
Credits
4,647
I always install the Distro to the whole Drive...mine's 500GB and never have problems.
happy0034.gif


Of cause I do normal maintenance like...delete all but two Timeshift snapshots...remove old kernels...run a few clean commands every few months and transfer videos...documents...pictures...music etc to an External HDD now and then.
happy0035.gif
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,944
Reaction score
3,589
Credits
36,026
I always install the Distro to the whole Drive...mine's 500GB and never have problems.
happy0034.gif
If you use btrfs you don't really have to think about partitioning much and how much root or home needs, only one big btrfs filesystem and the whole disk is shared with all the mount locations.
 

lofus

New Member
Joined
Jul 14, 2022
Messages
22
Reaction score
5
Credits
199
Okay so, I don't know what distro you are using, but gaming with a 15gb drive is not a good idea, i recommend you install a drive with more storage or not game on it due to gaming taking up a lot of space.

try delete some files that you do not need, remove old kernels, and also in your terminal run (sudo apt autoremove) this will automatically remove any data that is useless,

hope this helps
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top