/dev/sda1 100% [SOLVED]

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

/dev/sda1 100% [SOLVED]

Postby duder » May 22nd, '16, 05:03

I had updates pop up today and started to install them. After a couple minutes I had an error that there was not enough space to install something.
I looked at space and seen /dev/sda1 shows 100%. I am not sure what is in there and what I can delete. I am guessing must have installation stuff.
I do believe I have a bunch of old kernels, not sure if that's it or not.
Thanks Alan
Last edited by duder on May 22nd, '16, 19:22, edited 1 time in total.
duder
 
Posts: 62
Joined: Jan 7th, '14, 07:13

Re: /dev/sda1 100%

Postby doktor5000 » May 22nd, '16, 11:26

Please show the output as root of
Code: Select all
df -Pm
du -mx / | sort -rn | head -35
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: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: /dev/sda1 100%

Postby duder » May 22nd, '16, 14:35

OK, Thanks Doktor5000.

Code: Select all
df -Pm
Filesystem     1048576-blocks  Used Available Capacity Mounted on
devtmpfs                 2767     0      2767       0% /dev
tmpfs                    2774     1      2773       1% /dev/shm
tmpfs                    2774     2      2773       1% /run
/dev/sda1               11978 11211       136      99% /
tmpfs                    2774     0      2774       0% /sys/fs/cgroup
tmpfs                    2774     1      2773       1% /tmp
/dev/sda6              453288 35841    417432       8% /home
tmpfs                     555     1       555       1% /run/user/500


Code: Select all
du -mx / | sort -rn | head -35
11181   /
8374    /usr
3702    /usr/share
2066    /usr/lib64
1896    /usr/lib
1860    /var
1228    /var/log
1225    /var/log/journal/782a70a175744b4eb78f1941322fb3b3
1225    /var/log/journal
1015    /usr/lib/modules
971     /usr/share/locale
527     /usr/bin
493     /boot
411     /root
396     /root/.wine
394     /root/.wine/drive_c
373     /usr/share/ioquake3/baseq3
373     /usr/share/ioquake3
340     /root/.wine/drive_c/windows
302     /usr/lib64/libreoffice
300     /usr/share/help
266     /var/cache
235     /var/cache/urpmi/rpms
235     /var/cache/urpmi
215     /usr/share/fonts
212     /usr/share/doc
210     /usr/lib64/libreoffice/program
209     /usr/share/foomatic/db/source
209     /usr/share/foomatic/db
209     /usr/share/foomatic
181     /var/tmp
180     /var/tmp/kdecache-dad
179     /usr/share/icons
173     /var/lib
173     /usr/share/foomatic/db/source/opt
Last edited by doktor5000 on May 22nd, '16, 17:23, edited 1 time in total.
Reason: fixed code tags
duder
 
Posts: 62
Joined: Jan 7th, '14, 07:13

Re: /dev/sda1 100%

Postby doktor5000 » May 22nd, '16, 17:37

duder wrote:OK, Thanks Doktor5000.

Code: Select all
df -Pm
Filesystem     1048576-blocks  Used Available Capacity Mounted on
/dev/sda1               11978 11211       136      99% /
/dev/sda6              453288 35841    417432       8% /home

Your / partition is only 11GB in size - if you didn't do much changes since the install I suggest a reinstallation, choosing a bigger / - with automatic partitioning with that 500GB disk I think you should have at least a 30GB / partition - did you do manual partitioning?

duder wrote:
Code: Select all
du -mx / | sort -rn | head -35
1225    /var/log/journal/782a70a175744b4eb78f1941322fb3b3


That's ~1GB that can be reduced, see e.g. viewtopic.php?p=63477#p63477 and viewtopic.php?p=63481#p63481
You can also reduce the logs to the most recent via journalctl --vacuum, see e.g. https://wiki.archlinux.org/index.php/sy ... s_manually

duder wrote:
Code: Select all
396     /root/.wine
394     /root/.wine/drive_c
340     /root/.wine/drive_c/windows


You started wine as root, why? Please don't do that, and remove /root/.wine again.
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: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: /dev/sda1 100%%

Postby duder » May 22nd, '16, 19:21

Awesome, thanks.
I am at 84% and that's after the updates installed.
I did not set up the partitions myself on the installation, I let the system do it.
duder
 
Posts: 62
Joined: Jan 7th, '14, 07:13

Re: /dev/sda1 100%%

Postby doktor5000 » May 22nd, '16, 19:43

duder wrote:I did not set up the partitions myself on the installation, I let the system do it.

Just out of curiosity, you installed with what Mageia media? And how much free space was there back then on that disk?
Because I think you should have definitely gotten a bigger / partition, this is why we changed the algorithm for Mageia 5 for automatic partitioning.
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: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: /dev/sda1 100% [SOLVED]

Postby duder » May 22nd, '16, 20:59

The computer came new with windows 8 and its been awhile. I installed Mageia 4 about two years ago.
I think I did a bootable thum drive then installed over the Internet if I remember right.

Thanks again!
duder
 
Posts: 62
Joined: Jan 7th, '14, 07:13


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest