You are not logged in.

#1 2011-04-12 20:39:44

Enk
Member
Registered: 2010-02-17
Posts: 7

Root is getting full - solutions?

Hi

When installing Arch I just made the root-folder partition 8gb, and didn't make any partitions for /tmp and /var (I thought it would hold tongue ).

But now (after 4-5 days of use) I'm already getting warnings about "/" soon being full.

So I wonder what I should do. I've used most of the space on my harddisk for the /home-partition. Should I shrink it down and make / bigger. Or own partitions for /tmp or /var?

And can I do it from Arch, or must it be done via a LiveCD?


I feel very newbie about this, and don't want to ruin my perfect Arch-install XD (everthing, including Gnome3, has worked flawlessly since I switched to Arch from Ubuntu. Even wine-applications runs better :> ).

All replies are welcome!


Edit: my disk:

Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  228K  9.8M   3% /dev
/dev/disk/by-uuid/7d2e9459-95c0-4e5d-a3cb-1d2b10a0a8d5
                      7.3G  6.7G  160M  98% /
shm                   2.0G  276K  2.0G   1% /dev/shm
/dev/sda4             908G  8.0G  854G   1% /home
/dev/sda1              99M   16M   79M  17% /boot

Last edited by Enk (2011-04-12 20:41:01)

Offline

#2 2011-04-12 20:54:22

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Root is getting full - solutions?

sudo pacman -Sc

This will remove all the packages that are not currently installed from your cache giving you some space.

But in the long term you should just grab some space from home and give it to root. You have enough in home. You can use gparted live disk for this.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-04-12 21:02:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,601
Website

Re: Root is getting full - solutions?

Also check out bleachbit in the AUR.  I run mine from the shell but you can use the GUI.

$ sudo bleachbit --delete system.cache system.localizations system.trash system.tmp

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-04-12 22:26:24

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Root is getting full - solutions?

I suggest reinstalling with a somewhat larger / partion. (stupid old installer defaulting to 7.5gb...)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-04-13 13:41:40

Enk
Member
Registered: 2010-02-17
Posts: 7

Re: Root is getting full - solutions?

I'll try booting from CD and running gparted to shrink the /home partition and give more space to /.

Clearing cache didn't give me that much more space hmm

Offline

#6 2011-04-13 16:31:01

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: Root is getting full - solutions?

You can create another partition and mount /var/pacman/cache on it.

I use this trick to have a smaller / and to share pkg over nfs with my girldfriend's computer.

Regards.

Offline

Board footer

Powered by FluxBB