[SOLVED] Root partition almost full

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Root partition almost full

Postby pedro » Dec 16th, '14, 09:46

Is this normal?
Can I do something about it?

I noticed my root partition is almost full. Only 1.4G left.
I haven't installed a lot packages, but updated my system regularly.

Code: Select all
[pedro@localhost ~]$ df
Filsystem      Storlek Använt Ledigt Anv% Monterat på
/dev/sda1          12G   9,8G   1,4G  89% /
devtmpfs          1,9G      0   1,9G   0% /dev
tmpfs             2,0G    37M   1,9G   2% /dev/shm
tmpfs             2,0G   636K   2,0G   1% /run
tmpfs             2,0G      0   2,0G   0% /sys/fs/cgroup
tmpfs             2,0G   104K   2,0G   1% /tmp
/dev/sda6         1,8T   597G   1,2T  33% /home
Last edited by pedro on Dec 17th, '14, 15:50, edited 1 time in total.
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: Root partition almost full

Postby pedro » Dec 16th, '14, 16:26

Seams like I have a lot of journal log files, so I deleted them and freed up a gig, so now I have 2.5G free space on the root partition.
Any tips on how to free up some more?


Code: Select all
[root@localhost pedro]# du -akx / | sort -nr | head -n 25
10208184        /
7186848 /usr
2588348 /usr/share
2538072 /usr/lib64
2134332 /var
1265416 /var/log
1261684 /var/log/journal
1261680 /var/log/journal/5a9567fb7d794c5b8c2c327a6f2f637a
1126200 /usr/lib
668872  /usr/share/doc
566960  /usr/share/icons
472064  /usr/bin
383384  /dead.letter
381960  /usr/src
362212  /opt
362192  /opt/google
339512  /usr/lib64/libreoffice
334528  /var/spool
330772  /var/spool/cups
328480  /usr/lib/modules
317500  /usr/share/doc/qt4
263760  /usr/lib64/python2.7
232264  /usr/lib64/python2.7/site-packages
228760  /usr/share/icons/oxygen
218316  /usr/share/doc/qt4/html
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: Root partition almost full

Postby pedro » Dec 16th, '14, 17:28

Removed a bunch of old kernels and freed up som more space. (root=2.8G)
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: Root partition almost full

Postby doktor5000 » Dec 16th, '14, 22:11

You could delete or move away /dead.letter and maybe look what's using ~300MB in /usr/src and in your printer spool directory /var/spool/cups
In general you're probably better of with increasing the size of your / partition to at least 20GB, or moving somthing to a separate partition (like /usr).

We're currently discussing the maximum size for automatic partitioning, as 12GB is currently the hard upper limit, no matter on what disk you install,
and that's not sufficient for most casual users that use automatic partitioning. See https://bugs.mageia.org/show_bug.cgi?id=14612
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Root partition almost full

Postby jiml8 » Dec 17th, '14, 05:10

Journald is set up incorrectly in Mageia; it should not be possible for the journals to occupy many gigs of drive space by default. Go to the file /etc/systemd/journald.conf and change the setting SystemMaxFileSize to something more sensible. To learn more about this, "man journald.conf" will give you a lot of information.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Root partition almost full

Postby pedro » Dec 17th, '14, 09:51

Ok, thank you. I will partition my hard drive manually next time I reinstall my OP.
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest