You are not logged in.

#1 2016-06-15 07:31:02

doblerone
Member
Registered: 2011-12-08
Posts: 215

[SOLVED] good partition scheme but / full!

Yesterday I tried to update my pc and got a message saying something like "/ too full". I checked the wiki and it suggested to clean pacman cache, which I did, although my /var partition is separated from / partition. During the installation, I separated them. The partition scheme of my computer is:

df -h
S.ficheros     Tamaño Usados  Disp Uso% Montado en
dev              3,9G      0  3,9G   0% /dev
run              3,9G   1,1M  3,9G   1% /run
/dev/sda3         15G    15G     0 100% /
tmpfs            3,9G   156K  3,9G   1% /dev/shm
tmpfs            3,9G      0  3,9G   0% /sys/fs/cgroup
tmpfs            3,0G   136K  3,0G   1% /tmp
/dev/sdb2        9,8G   2,4G  6,9G  26% /var
/dev/sda2        142M    39M   93M  30% /boot
/dev/sda4         44G   5,2G   37G  13% /home
/dev/sdb3        904G   422G  437G  50% /datos
tmpfs            799M    39M  760M   5% /run/user/1000
overlaid         799M    39M  760M   5% /run/user/1000/david-firefox-mstkqzip.default

Checking with Filelight, I can see that my / partition is full mainly by /usr. Inside /usr, more than a half belongs to /usr/lib and more than 1/3 to /usr/share.

I'm using KDE5 and, in my newbie opinion, I don't have too many packages installed (according to screenfetch, the exact number is 1600). Probably LaTeX, R, RStudio and python are the heaviest packages I have installed.

What I can see from filelight is that /usr/lib/ghc-8.0.1 is taking 1.9 and /usr/share/texmf-dist 1.2 GB, respectively.

In order to remove things, I don't need KDE games, for example and I would like to get rid of them. Also could I just delete documentation of LaTeX packages (I saw this option in Ubuntu forums)?

I'm open to your suggestions.

Thanks in advance.

Last edited by doblerone (2016-06-15 10:38:37)

Offline

#2 2016-06-15 08:02:23

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [SOLVED] good partition scheme but / full!

Sorry. No magical answers. Per your post, sda3 (/) is full. That's a lot for the root file system, especially in light of your scheme. As with any "house cleaning" you must sort through the fill. Prioritize: 1) That which is needed to run the machine. 2) Life's necessities. 3) Those items you use regularly. 4) Items used (truly) on occasion. 5) "Stuff" you just like. 6) Unnecessary and redundant (duplicate) items. (Demolition begins at #6.)

Yes. You'll have to discard a number of "old friends" amidst the tears. Then again, you can always buy a "new garage" and rearrange things a bit. ;-)

Good luck.

All the best.

Last edited by madpierre (2016-06-15 08:09:38)

Offline

#3 2016-06-15 08:58:21

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: [SOLVED] good partition scheme but / full!

15 Gb for 1600 packages looks like a way too small space. On pacman wiki page there are tips how to list packages sorted by size.


bing different

Offline

#4 2016-06-15 09:16:31

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] good partition scheme but / full!

Normally, I would start with suggesting you clean your pacman cache, but you put /var on a separate partition, so that won't help.

As for how to solve your predicament: Either remove the packages which are not needed (like GHC, do you develop Haskell or do you have xmonad installed?) or resize your root partition to around 20 - 25 GB (so remove home and put everything on /).

If you want to start over, you could use LVM and get rid of this problem completely by adding both disks to a volume group, but that might be over your head atm.

Offline

#5 2016-06-15 09:23:24

Gosi
Member
From: Vienna, Austria
Registered: 2010-02-25
Posts: 100

Re: [SOLVED] good partition scheme but / full!

If you don't find anything substantial for deletion, you can resize your partitions.

home (/dev/sda4) can be reduced by lets say 5G to increase root (/dev/sda3) by the same amount.

There is enough space on datos (/dev/sdb3) to backup your partitions during resize phase.

Offline

#6 2016-06-15 09:55:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] good partition scheme but / full!

I would check if there is anything filling your root partition when it shouldn't be. Of course this depends on what you have installed, you can really be using all that space with the right combination of big packages.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2016-06-15 10:38:09

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: [SOLVED] good partition scheme but / full!

Thank you guys for all your suggestions.

I think my best shot will be use Gosi's approach!

I will mark the thread as solved.

Offline

Board footer

Powered by FluxBB