You are not logged in.
Pages: 1
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
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
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
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
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
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
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
Pages: 1