[SOLVED] Notification about full disk

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] Notification about full disk

Postby evaldas » Jul 27th, '14, 19:07

Hello,

recently on each boot o box of Baobab 1.6.1 pops up with notification that I run out of disk space. It aso says that overall capacity of file system is 310 Gb, used 92,8 Gb and free is 217,8 Gb

Recently I tried to update my system and failed because of lack of space:
Code: Select all
There was a problem during the installation:

installing package dbus-1.6.18-1.3.mga4.x86_64 needs 1024KB on the / filesystem

installing package lib64dbus1_3-1.6.18-1.3.mga4.x86_64 needs 384KB on the / filesystem

installing package mariadb-common-core-5.5.38-1.mga4.x86_64 needs 444KB on the / filesystem

installing package mariadb-core-5.5.38-1.mga4.x86_64 needs 13MB on the / filesystem

installing package dbus-x11-1.6.18-1.3.mga4.x86_64 needs 276KB on the / filesystem

installing package lib64purple0-2.10.9-1.1.mga4.x86_64 needs 2MB on the / filesystem

installing package lib64mariadb18-5.5.38-1.mga4.x86_64 needs 4MB on the / filesystem

installing package rootcerts-java-1:20140703.00-1.mga4.x86_64 needs 564KB on the / filesystem


are there miscalculations of free space or what can I do?
Last edited by evaldas on Aug 7th, '14, 22:16, edited 1 time in total.
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Notification about full disk

Postby jkerr82508 » Jul 27th, '14, 19:24

What does
Code: Select all
df
entered in a terminal report is the free space on the / partition?

It might be best if you paste here the output of the df command.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Notification about full disk

Postby evaldas » Jul 27th, '14, 21:45

thank you for your replay. the output of df comand was
Code: Select all
Failų sistema   Size  Naud Laisva Nd % Prijungta prie
/dev/sda1        12G   12G      0 100% /
devtmpfs        1,9G     0   1,9G   0% /dev
tmpfs           1,9G   68K   1,9G   1% /dev/shm
tmpfs           1,9G  628K   1,9G   1% /run
tmpfs           1,9G     0   1,9G   0% /sys/fs/cgroup
none            1,9G  8,0K   1,9G   1% /tmp
/dev/sda6       278G   75G   203G  27% /home
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Notification about full disk

Postby doktor5000 » Jul 27th, '14, 22:10

evaldas wrote:
Code: Select all
Failų sistema   Size  Naud Laisva Nd % Prijungta prie
/dev/sda1        12G   12G      0 100% /


See, that is your problem. You can find the biggest folders easily via e.g.

Code: Select all
du -mx / | sort -rn | head -20
to see the 20 biggest folders.
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: Notification about full disk

Postby evaldas » Jul 27th, '14, 22:55

Thank you, I see, but what should I do? should I increase this part (then how) or should I delete files (then which)?
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Notification about full disk

Postby jkerr82508 » Jul 27th, '14, 23:13

It's impossible to advise you until we know which directories are the largest. What did you get when you ran the command that doktor5000 suggested?

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Notification about full disk

Postby jiml8 » Jul 28th, '14, 01:44

Your basic problem is that your root filesystem partition is just not big enough. 12GB is not enough for a modern desktop Linux distro, particularly if you are running KDE and many of the toys that come with it. My own / has 13GB in use, and that is with a number of directories symlinked onto other drives.

You need to enlarge / (my own is 39GB but probably 20 would be enough for you).

This will inevitably involve destroying /home, so you will need to back /home up to some other drive before rearranging partitions. You can then move the contents of /home back onto the /home partition after it has been resized smaller.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Notification about full disk

Postby benmc » Jul 28th, '14, 10:36

Hi

gparted is a very useful partition editor if you are thinking about jiml8's suggestion.
You need to run it from either disc or usb device as you cannot easily resize your root [ / ] partition from within an in-use system.

1st rule is, of course, to back-up your home data just in case something goes wrong.
benmc
 
Posts: 1218
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Notification about full disk

Postby paulcbrennan2001 » Jul 29th, '14, 09:18

I found getting rid of some of the older kernels freed up space (the same thing happened to me!) . Every time a new one is released now I allways remove the oldest one at the same time.
paulcbrennan2001
 
Posts: 113
Joined: May 23rd, '12, 18:42

Re: Notification about full disk

Postby doktor5000 » Jul 29th, '14, 17:26

Kernel packages are usually around 50MB, that's not that much for a > 10GB partition and not worth the hassle for the freed space alone.
It's more useful to find out what uses most of the space and kill the real spaceeaters first. It's also a good idea to look for the biggest packages installed, and remove if not needed anymore.

Code: Select all
rpm -qa --qf "%{SIZE}\t%{N}\n" | sort -rn | head -15
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: Notification about full disk

Postby evaldas » Jul 30th, '14, 16:50

Code: Select all
238886529   libreoffice-core
126063277   gutenprint-foomatic
109325506   scribus
93810498   java-1.7.0-openjdk-headless
90732230   libmateweather
84286141   jre
63527089   firefox
61130637   thunderbird
59942064   krita
59713562   mariadb-common
58706158   gimp
58674026   calibre
56982928   lib64gcj13
56951760   lib64gcj14
53790129   digikam

wht is gutenprint-foomatic, jre and libmateweather? maybe I don't need these? how to remove?
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Notification about full disk

Postby doktor5000 » Jul 30th, '14, 18:40

You haven't yet posted which directories are using the most space. So first things first:

doktor5000 wrote:You can find the biggest folders easily via e.g.

Code: Select all
du -mx / | sort -rn | head -20
to see the 20 biggest folders.
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: Notification about full disk

Postby evaldas » Aug 1st, '14, 19:50

Code: Select all
11847   /
5823   /var
5762   /usr
5611   /var/log
4388   /var/log/cups
2125   /usr/share
2066   /usr/lib64
1213   /var/log/journal/d0c07e2f8f7e7bb2f97f39c2d00219
1213   /var/log/journal
951   /usr/lib
680   /usr/share/icons
434   /usr/lib/modules
422   /usr/bin
304   /usr/lib64/libreoffice
234   /usr/share/doc
224   /usr/share/icons/oxygen
214   /usr/share/apps
204   /usr/lib64/libreoffice/program
162   /var/lib
156   /usr/share/foomatic/db/source
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Notification about full disk

Postby doktor5000 » Aug 1st, '14, 20:25

evaldas wrote:4388 /var/log/cups
1213 /var/log/journal/d0c07e2f8f7e7bb2f97f39c2d00219


More then 4GB of cups logs. You have installed updates for Mageia 4, right? That should be fixed by those.
Check viewtopic.php?f=24&t=6926 and https://wiki.mageia.org/en/Mageia_4_Err ... pt_filters and https://wiki.mageia.org/en/Mageia_4_Err ... ig-printer

You can simply delete those logs. As root
Code: Select all
rm -f /var/log/cups/*
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: Notification about full disk

Postby jiml8 » Aug 2nd, '14, 06:39

/var/log/journal is out of hand too.

I would be looking at those cups logs (at least one of 'em) before deleting them; probably there is a misconfiguration that is causing the problem and you would want to fix the source of the problem.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Notification about full disk

Postby evaldas » Aug 4th, '14, 17:06

Thank you for help! I have choosed option to delete logs because it looked more simple to me and anyway I can't connect to my HP printer
Now I was able to install newest updates!
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: Notification about full disk

Postby doktor5000 » Aug 4th, '14, 19:46

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
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


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest