Root Partition is full Topic is solved
Moderator: jkerr82508
Root Partition is full
I did an upgrade from Mageia 3 to 4 and my root is 10 GBs. On my laptop is just 4 out of 10 GBs for the same OS. There is some from the upgrade that is sucking up all the space? I have like 225 MB left on the drive.
Last edited by R_Head on 10 Jan 2015, 20:49, edited 1 time in total.
Re: Root Partition is full
If I remember correctly the upgrade can potentially take a lot of space.
If you upgraded from a live CD then the entire content of the Live CD is also copied to your Harddisk.
Is that what you did?
I am sure Jim can work some Magic here...
If you upgraded from a live CD then the entire content of the Live CD is also copied to your Harddisk.
Warning: Upgrading an existing install using a LiveCD is NOT supported due to the livecd image being copied "as is" to the target system
Is that what you did?
I am sure Jim can work some Magic here...
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
-
- Guru-Berserk
- Posts: 211
- Joined: 16 Oct 2010, 21:45
- Location: Fife, Scotland
Re: Root Partition is full
If an online upgrade was done, it's possible that all of the packages downloaded are still on the HD. I suggest installing ncdu (it's in the repo's) and executing:
You can then step through the file system and find out which directories/files are causing the problem. (Possibly /var/cache/urpmi/rpms).
Jim
Code: Select all
ncdu -x /
Jim
-
- Posts: 300
- Joined: 02 Apr 2013, 08:31
Re: Root Partition is full
hi,
where i has read it, I've thought [joke]Mageia Goes Microsoft[/joke] in comparison from WinXP and Win7 *lol*
humm, but in serious, the space of the Distros be evers more because the code it's every more and more.. bigger and bigger,
if you look Libre office, was in the past 100 mb or less, but now over 250 Meg .. kde .. 100 meg.. now more as 1 gig, if i am not wrong ..
so becomes all bigger and bigger and it's no wonder .. , if i look on my winnt (for reactos) usb-stick,
war 50 MB on times from XP now be more as 4 Gig ! and now not much more programms easy only bigger,
so goes all in direction more huge dimensions.
So we are nomore in the past, we are in the future.. Keyword data flood , and not alone the personal informations where goes in the Net, the programming and opensource makes also to be ever bigger and bigger any programming with .. and get more informations and algorithm on it as it was in the codes ..
instead it hold all easy and small and really fast running , so becomes all bigger and bigger ..
best regards
Blacky
where i has read it, I've thought [joke]Mageia Goes Microsoft[/joke] in comparison from WinXP and Win7 *lol*
humm, but in serious, the space of the Distros be evers more because the code it's every more and more.. bigger and bigger,
if you look Libre office, was in the past 100 mb or less, but now over 250 Meg .. kde .. 100 meg.. now more as 1 gig, if i am not wrong ..
so becomes all bigger and bigger and it's no wonder .. , if i look on my winnt (for reactos) usb-stick,
war 50 MB on times from XP now be more as 4 Gig ! and now not much more programms easy only bigger,
so goes all in direction more huge dimensions.
So we are nomore in the past, we are in the future.. Keyword data flood , and not alone the personal informations where goes in the Net, the programming and opensource makes also to be ever bigger and bigger any programming with .. and get more informations and algorithm on it as it was in the codes ..
instead it hold all easy and small and really fast running , so becomes all bigger and bigger ..
best regards
Blacky
Re: Root Partition is full
jkerr82508 wrote:If an online upgrade was done, it's possible that all of the packages downloaded are still on the HD. I suggest installing ncdu (it's in the repo's) and executing:You can then step through the file system and find out which directories/files are causing the problem. (Possibly /var/cache/urpmi/rpms).Code: Select all
ncdu -x /
Jim
I see the /usr directory has the bulk but not sure what to delete.
Here are the numbers...
Code: Select all
6.9GiB [##########] /usr
1.2GiB [# ] /var
270.3MiB [ ] /opt
201.7MiB [ ] /boot
76.6MiB [ ] /etc
6.0MiB [ ] dead.letter
4.4MiB [ ] /root
88.0KiB [ ] .readahead
e 16.0KiB [ ] /lost+found
12.0KiB [ ] /.dbus
8.0KiB [ ] /.config
e 4.0KiB [ ] /srv
e 4.0KiB [ ] /mnt
4.0KiB [ ] /media
e 4.0KiB [ ] /initrd
@ 0.0 B [ ] lib64
@ 0.0 B [ ] sbin
@ 0.0 B [ ] lib
@ 0.0 B [ ] bin
> 0.0 B [ ] /tmp
> 0.0 B [ ] /sys
> 0.0 B [ ] /run
> 0.0 B [ ] /proc
> 0.0 B [ ] /home
> 0.0 B [ ] /dev
0.0 B [ ] 1
-
- Guru-Berserk
- Posts: 211
- Joined: 16 Oct 2010, 21:45
- Location: Fife, Scotland
Re: Root Partition is full
7GB is not excessive for /usr if you have a lot of software installed, such as several graphical environments - KDE and Gnome as well as others perhaps, or several games packages. The only way to free up space would be to remove some packages.
If you have the same package selection as on your laptop, however, then it is worth exploring further.
In ncdu, highlight /usr and hit the right arrow key to see the directories in /usr.
It is generally agreed that the Mageia installer should create a larger default / partition than 10GB. Starting with Mageia 5 it will probably be at least 20GB.
Jim
If you have the same package selection as on your laptop, however, then it is worth exploring further.
In ncdu, highlight /usr and hit the right arrow key to see the directories in /usr.
It is generally agreed that the Mageia installer should create a larger default / partition than 10GB. Starting with Mageia 5 it will probably be at least 20GB.
Jim
Re: Root Partition is full
If you highlight /var and press enter - what is the output?
Edit:
Do the Jim stuff first - I am shooting in the dark and he beat me with his post )
And yes 10G is way to small for me, that is a small default I alway make / at least 20G
Edit:
Do the Jim stuff first - I am shooting in the dark and he beat me with his post )
And yes 10G is way to small for me, that is a small default I alway make / at least 20G
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
Re: Root Partition is full
/usr
/var
Code: Select all
--- /usr -------------------------------------------------------------------------------------------------------------------
/..
2.2GiB [##########] /lib64
2.0GiB [######### ] /share
1.4GiB [###### ] /lib
696.4MiB [### ] /src
430.9MiB [# ] /bin
72.4MiB [ ] /x86_64-w64-mingw32
66.8MiB [ ] /sbin
52.2MiB [ ] /include
23.0MiB [ ] /libexec
124.0KiB [ ] /local
80.0KiB [ ] /doc
8.0KiB [ ] /X11R6
e 4.0KiB [ ] /games
e 4.0KiB [ ] /etc
@ 0.0 B [ ] tmp
/var
Code: Select all
--- /var -------------------------------------------------------------------------------------------------------------------
/..
771.5MiB [##########] /log
215.9MiB [## ] /lib
172.9MiB [## ] /tmp
55.1MiB [ ] /cache
7.6MiB [ ] /spool
8.0KiB [ ] /db
e 4.0KiB [ ] /yp
e 4.0KiB [ ] /preserve
e 4.0KiB [ ] /opt
4.0KiB [ ] /nmbd
e 4.0KiB [ ] /nis
e 4.0KiB [ ] /local
e 4.0KiB [ ] /empty
e 4.0KiB [ ] /avahi
@ 0.0 B [ ] lock
@ 0.0 B [ ] mail
@ 0.0 B [ ] run
-
- Guru-Berserk
- Posts: 211
- Joined: 16 Oct 2010, 21:45
- Location: Fife, Scotland
Re: Root Partition is full Topic is solved
/lib64 and /lib look to be on the large side. On an upgrade, old library packages are not removed. You can check for mga3 packages:
There should not be more than a dozen or so mga3 packages.
If there are many mga3 packages, most of the old library packages will now be orphans and can be removed:
But be very careful to check the list of packages that are proposed for removal:
https://wiki.mageia.org/en/Removing_packages
Some free space may also be made available by removing old journal files from /var/log/journal/.
Eventually, you should probably plan on re-partitioning your hard drive to create a larger / partition.
Jim
Code: Select all
rpm -qa | grep mga3
If there are many mga3 packages, most of the old library packages will now be orphans and can be removed:
Code: Select all
urpme --auto-orphans
But be very careful to check the list of packages that are proposed for removal:
https://wiki.mageia.org/en/Removing_packages
Some free space may also be made available by removing old journal files from /var/log/journal/.
Eventually, you should probably plan on re-partitioning your hard drive to create a larger / partition.
Jim
Re: Root Partition is full [Solved]
Edited the titled thread as solved.
What I did was to free some space following you guys advice. Also, is "not" because my partition is too small. The fix for that is to make it bigger. For that, I am wating for Mageia 5 and will do a full root install and repartition the directory.
Perhaps, I might have to move the Home Partion to my my secondary drive (1 TB). The problem that I am facing is the WinXp partion reside on the same drive and the Drive is 160 GB. I would totatly hate to redo the whole Win XP install.
What I did was to free some space following you guys advice. Also, is "not" because my partition is too small. The fix for that is to make it bigger. For that, I am wating for Mageia 5 and will do a full root install and repartition the directory.
Perhaps, I might have to move the Home Partion to my my secondary drive (1 TB). The problem that I am facing is the WinXp partion reside on the same drive and the Drive is 160 GB. I would totatly hate to redo the whole Win XP install.
Re: Root Partition is full [Solved]
Great ! Always good when things fall in place.
When your problem is solved you can just click on the green "V" on the post that solved it. You do not have to edit the first post and type "SOLVED" anymore
I'll do it for you this time.
Jkerr is the guru so he gets the honor...
When your problem is solved you can just click on the green "V" on the post that solved it. You do not have to edit the first post and type "SOLVED" anymore
I'll do it for you this time.
Jkerr is the guru so he gets the honor...
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Root Partition is full
R_Head wrote:/usrCode: Select all
--- /usr -------------------------------------------------------------------------------------------------------------------
/..
2.2GiB [##########] /lib64
2.0GiB [######### ] /share
1.4GiB [###### ] /lib
696.4MiB [### ] /src
430.9MiB [# ] /bin
72.4MiB [ ] /x86_64-w64-mingw32
66.8MiB [ ] /sbin
52.2MiB [ ] /include
23.0MiB [ ] /libexec
124.0KiB [ ] /local
80.0KiB [ ] /doc
8.0KiB [ ] /X11R6
e 4.0KiB [ ] /games
e 4.0KiB [ ] /etc
@ 0.0 B [ ] tmp
/varCode: Select all
--- /var -------------------------------------------------------------------------------------------------------------------
/..
771.5MiB [##########] /log
215.9MiB [## ] /lib
172.9MiB [## ] /tmp
55.1MiB [ ] /cache
7.6MiB [ ] /spool
8.0KiB [ ] /db
e 4.0KiB [ ] /yp
e 4.0KiB [ ] /preserve
e 4.0KiB [ ] /opt
4.0KiB [ ] /nmbd
e 4.0KiB [ ] /nis
e 4.0KiB [ ] /local
e 4.0KiB [ ] /empty
e 4.0KiB [ ] /avahi
@ 0.0 B [ ] lock
@ 0.0 B [ ] mail
@ 0.0 B [ ] run
One thing that I've noticed Mageia does. They carried over from Mandriva. One being a very old bug, that the logs were filling up root. Watch the logs, the /var/log folder is quite stuffed. Per and I were on that bug, IIRC MDV 2010. I'm glad viking brought it up; it will at times lead you to a solution, however it was your /lib64 folder that was stuffed in the end.
The other thing I've found when my root fills up, is that games have stuffed it - they are huge, even in Linux. If you have large games installed, you may want to uninstall some. I see the /lib or /lib64 folder blow up like a storm. /lib64/share definitely states this. I've seen it too many times (you have it stuffed too).
You may think also about using the urpmi method to upgrade; I would use it every time I upgraded (quite often, as I ran cooker more than anything) for MDV. Upgrade via urpmi, check to see the latest kernel installed, and do a second pass on the upgrade - sometimes files are missed.
Finally, I have no less than a 32GB / (root) normally when I do an install, so I have plenty of room to install what I want, test what I want, and let the system fully do its thing (this has been especially with MDV and Mageia both - I also use it for Arch). As you said, you can't do that right now, but think hard about it for next time. I know people who say as a rule of thumb, no less than 5% of the entire drive.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html