Page 1 of 1

/dev/sda1 100% [SOLVED]

PostPosted: May 22nd, '16, 05:03
by duder
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

Re: /dev/sda1 100%

PostPosted: May 22nd, '16, 11:26
by doktor5000
Please show the output as root of
Code: Select all
df -Pm
du -mx / | sort -rn | head -35

Re: /dev/sda1 100%

PostPosted: May 22nd, '16, 14:35
by duder
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

Re: /dev/sda1 100%

PostPosted: May 22nd, '16, 17:37
by doktor5000
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.

Re: /dev/sda1 100%%

PostPosted: May 22nd, '16, 19:21
by duder
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.

Re: /dev/sda1 100%%

PostPosted: May 22nd, '16, 19:43
by doktor5000
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.

Re: /dev/sda1 100% [SOLVED]

PostPosted: May 22nd, '16, 20:59
by duder
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!