You are not logged in.

#1 2008-11-21 18:56:32

goatmale
Member
From: Chicago
Registered: 2008-09-09
Posts: 8
Website

No more room on my "/" partition.

I have a separate partition for my "/" and "/home" but now I have run out of space on my "/" drive. I know I could always boot gparted and downsize my "/home" for more room but is there any way to maybe purge programs I don't use or free up some space on the "/" partition?
Thanks.

Offline

#2 2008-11-21 19:00:48

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: No more room on my "/" partition.

You could clean out your package cache if you haven't done that already.


oz

Offline

#3 2008-11-21 19:04:53

string
Member
Registered: 2008-11-03
Posts: 286

Re: No more room on my "/" partition.

How big is you / partition? Run some `du -sh` in various directories under / (i.e. /usr, /var) to see where the hog is.

Offline

#4 2008-11-21 19:09:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: No more room on my "/" partition.

Definitely check /var/log and /var/cache. Log files can get way out of control. Installing logrotate will cure that after you clean them up. The cache gets filled up with old pacman files. You can clear it completely with pacman -Scc, or just older versions of installed packages with pacman -Sc.

Offline

#5 2008-11-21 19:14:30

goatmale
Member
From: Chicago
Registered: 2008-09-09
Posts: 8
Website

Re: No more room on my "/" partition.

pacman -Scc cleared out about 20 percent of the free space.

Offline

#6 2008-11-21 20:07:32

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: No more room on my "/" partition.

Clearing your pacman cache is generally a good idea from time to time, as it does tend to get rather large...  Using du -h --max-depth=1 does allow you to see the size of installation on your disk, but it doesn't take into account the size of different mount points, for example my home mount is 500gig, but my / is only 14.  Using df -h will give you a better idea of the amount of space that your partitions have free, and allow you to make some adjustments as needed.

Assuming that your installation is stable and you don't change desktop environments more frequently than your socks, you should find that the main directory which changes over time is /var, so it is a good idea to clean up now and again.

Offline

Board footer

Powered by FluxBB