You are not logged in.

#1 2009-08-17 21:13:33

M177ER
Member
Registered: 2008-06-15
Posts: 148

[Solved] / partition is full

My / partition is full and I'm not sure how to free up space. I know that I've seen a solution before but I can't seem to find it. I have tried doing pacman-optimize and cleaning out old / large log files but I have not freed up enough space. Suggestions?

[compiz@arch ~]$ firefox
** ERROR **: Resource problem creating '/tmp/orbit-compiz'
aborting...
Aborted
[compiz@arch ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb3             9.7G  9.3G     0 100% /
none                 1013M     0 1013M   0% /dev/shm
/dev/sdb1             997M   11M  935M   2% /boot
/dev/sdb4              60G  4.4G   53G   8% /home

Edit: solved

Last edited by M177ER (2009-08-18 22:49:04)

Offline

#2 2009-08-17 21:16:31

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: [Solved] / partition is full

Delete the crap you don't use?

Offline

#3 2009-08-17 21:22:37

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [Solved] / partition is full

# pacman -Scc

That will remove all downloaded (cached) packages which should free up quite a bit if you haven't run it in a while.  If you'd rather remove only the packages you no longer have installed, use this instead:

# pacman -Sc

thayer williams ~ cinderwick.ca

Offline

#4 2009-08-17 21:22:57

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: [Solved] / partition is full

Like what exactly? What I mean is what and how am I looking for it? I don't think I have a lot of extra installed packages that I don't use.

Edit:
Thanks Thayer that is what I needed to do.

Last edited by M177ER (2009-08-17 21:25:24)

Offline

#5 2009-08-17 21:44:19

pizmooz
Member
Registered: 2009-01-11
Posts: 21

Re: [Solved] / partition is full

you could use:

du -x / | sort -n -r | head -n 40

to see what directories are taking up the most space.  then you can figure out what you can delete.  as mentioned above the package cache is probably the key.

Offline

#6 2009-08-17 21:45:55

pizmooz
Member
Registered: 2009-01-11
Posts: 21

Re: [Solved] / partition is full

BTW the '-x' is what stops it from looking in the non-root filesystems smile

Offline

#7 2009-08-17 21:51:36

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

Re: [Solved] / partition is full

pizmooz has the right idea using du.  If you'd prefer a "graphical" version of du, try ncdu in the AUR.  It is very cool allowing you to see what is using the FS space.  Additionally, you can delete (if you ran it w/ a user who has permissions to delete) within the shell.  Have a look at it!


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

Offline

#8 2009-08-18 02:20:19

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: [Solved] / partition is full

You could also examine the results of a find that looked in your /usr/bin for access times older than some amount of time (three months, a year, etc.) and consider removing those applications, if they give enough of a space buffer.

Last edited by majiq (2009-08-18 02:20:32)

Offline

#9 2009-08-18 12:34:05

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [Solved] / partition is full

In my 'green' days with arch - I would make /var a symlink to a bigger fs (and yes, I did start with root being 8-10 gigs - these days I use 20). However, I would think that 'pacman -Scc' should do the trick (and keep doing it!!) - you dont really _need_ the installed packages.

Offline

#10 2009-08-18 14:44:14

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: [Solved] / partition is full

the cache these days is almost useless with the advent of the A.R.M. and a fast net connection.

Offline

#11 2009-08-18 22:48:26

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: [Solved] / partition is full

Thanks everyone. Cleaning the cache worked. I looked at pizmooz's method as well and didn't find anything out of the ordinary.

Marking as solved.

Offline

Board footer

Powered by FluxBB