Page 1 of 1
[SOLVED] Notification about full disk

Posted:
Jul 27th, '14, 19:07
by evaldas
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?
Re: Notification about full disk

Posted:
Jul 27th, '14, 19:24
by jkerr82508
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
Re: Notification about full disk

Posted:
Jul 27th, '14, 21:45
by evaldas
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
Re: Notification about full disk

Posted:
Jul 27th, '14, 22:10
by doktor5000
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.
Re: Notification about full disk

Posted:
Jul 27th, '14, 22:55
by evaldas
Thank you, I see, but what should I do? should I increase this part (then how) or should I delete files (then which)?
Re: Notification about full disk

Posted:
Jul 27th, '14, 23:13
by jkerr82508
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
Re: Notification about full disk

Posted:
Jul 28th, '14, 01:44
by jiml8
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.
Re: Notification about full disk

Posted:
Jul 28th, '14, 10:36
by benmc
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.
Re: Notification about full disk

Posted:
Jul 29th, '14, 09:18
by paulcbrennan2001
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.
Re: Notification about full disk

Posted:
Jul 29th, '14, 17:26
by doktor5000
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
Re: Notification about full disk

Posted:
Jul 30th, '14, 16:50
by evaldas
- 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?
Re: Notification about full disk

Posted:
Jul 30th, '14, 18:40
by doktor5000
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.
Re: Notification about full disk

Posted:
Aug 1st, '14, 19:50
by evaldas
- 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
Re: Notification about full disk

Posted:
Aug 1st, '14, 20:25
by doktor5000
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-printerYou can simply delete those logs. As root
- Code: Select all
rm -f /var/log/cups/*
Re: Notification about full disk

Posted:
Aug 2nd, '14, 06:39
by jiml8
/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.
Re: Notification about full disk

Posted:
Aug 4th, '14, 17:06
by evaldas
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!
Re: Notification about full disk

Posted:
Aug 4th, '14, 19:46
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks