You are not logged in.

#1 2010-07-20 19:13:20

ubermensch00
Member
Registered: 2010-07-20
Posts: 29

Filesystem size problem.

Hello everyone. I'm fairly new to Arch, however very fluent in Linux based systems. I recently installed Arch and have so far loved it. I recently ran into a problem where I went to install Nexuiz via pacman to try it out, and as it installed the program, I recieved an error message saying the "disk was full". Suddenly most of my programs would not launch, and screenlets stopped working.

I ran a df -h and I saw this:

Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  244K  9.8M   3% /dev
/dev/disk/by-uuid/22a05fe3-4b78-4c13-8e9e-f958c259875f
                      7.3G  7.2G  1.3G  100% /
shm                   2.0G     0  2.0G   0% /dev/shm
/dev/sda1              99M   15M   79M  16% /boot
/dev/sda4             222G   59G  152G  28% /home
/dev/sdc1             995M  8.3M  987M   1% /media/disk
/dev/sdb1             466G   79G  388G  17% /media/FreeAgent Drive

When I saw the 100%, I did some searching and reading on the forums and found a thread that suggested I clean the pacman cache. So I ran a sudo pacman -Sc and now I see this:

Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  244K  9.8M   3% /dev
/dev/disk/by-uuid/22a05fe3-4b78-4c13-8e9e-f958c259875f
                      7.3G  5.6G  1.3G  82% /
shm                   2.0G     0  2.0G   0% /dev/shm
/dev/sda1              99M   15M   79M  16% /boot
/dev/sda4             222G   59G  152G  28% /home
/dev/sdc1             995M  8.3M  987M   1% /media/disk
/dev/sdb1             466G   79G  388G  17% /media/FreeAgent Drive

82% is still very high. What I'm slightly confused about is how to control the size of that disk partition. I haven't found anything in direct reference to /dev/disk/by-uuid/22a05fe3-4b78-4c13-8e9e-f958c259875f.

I would like to know if anyone has seen this before and if they have any other suggestions on how to maintain the size of this partition so I can be certain that it does not fill to 100% again.

My setup is:
Arch Linux 86_64, 2.6.34-ARCH
xfce4 + compiz

Thanks for the help and your time.

Last edited by ubermensch00 (2010-07-20 19:14:59)

Offline

#2 2010-07-20 19:26:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Filesystem size problem.

First of all, you should find out what's eating all that space. 7 GB should be enough, but somehow some people run into space-related problems.

Next time, partition you harddrive a bit differently: give / 20 GB, you will still have enough space for /home.

> I haven't found anything in direct reference to /dev/disk/by-uuid/22a05fe3-4b78-4c13-8e9e-f958c259875f.
It's your root -'/'. The number you get is IIRC random, so good luck finding another case with the same one.

Offline

#3 2010-07-20 19:28:59

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Filesystem size problem.

/dev/disk/by-uuid/... is your root (/) partition.  You've got /var on there too.  My / is 10GB of which just under 4GB is in use. 

I have /var on a separate 10GB partition.  The pacman cache does eat some space.  You can clear it altogether with "pacman -Scc" but if you ever need to downgrade you'll need to grab the older package from elsewhere.

edit:  karol beat me.

Last edited by loafer (2010-07-20 19:29:37)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2010-07-20 19:30:17

ubermensch00
Member
Registered: 2010-07-20
Posts: 29

Re: Filesystem size problem.

Oh I see what you're saying.
Give 20GB? I guess I didn't think about it when I installed for the first time. I went with the default settings.

Offline

#5 2010-07-20 19:32:21

ubermensch00
Member
Registered: 2010-07-20
Posts: 29

Re: Filesystem size problem.

loafer wrote:

/dev/disk/by-uuid/... is your root (/) partition.  You've got /var on there too.  My / is 10GB of which just under 4GB is in use. 

I have /var on a separate 10GB partition.  The pacman cache does eat some space.  You can clear it altogether with "pacman -Scc" but if you ever need to downgrade you'll need to grab the older package from elsewhere.

edit:  karol beat me.

I considered running Scc, however its just shy of 1 GiG, and I have a feeling there is something more substantial I could remove. Even though 1 GiG is a lot...

Offline

#6 2010-07-20 19:33:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Filesystem size problem.

Install ncdu - it's a tiny tool that will help you discover where did the space go.

Offline

#7 2010-07-20 19:38:38

ubermensch00
Member
Registered: 2010-07-20
Posts: 29

Re: Filesystem size problem.

ncdu is telling me that /usr is at 3.6gig...

Offline

#8 2010-07-20 19:42:12

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Filesystem size problem.

My /usr is 3.2GB.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#9 2010-07-20 19:43:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Filesystem size problem.

ubermensch00 wrote:

ncdu is telling me that /usr is at 3.6gig...

And what exactly is in /usr? Dig deeper. Enter enters the selected directory, left arrow climbs back.

Edit: As loafer pointed out, it's quite normal. You may simply need a bigger /

Last edited by karol (2010-07-20 19:44:55)

Offline

#10 2010-07-20 19:53:51

ubermensch00
Member
Registered: 2010-07-20
Posts: 29

Re: Filesystem size problem.

Yeah I going further in to the directories and seeing whats taking up the most room. To be honest there isn't anything unreasonable. I got rid of a few things I don't use. However is there a way to increase the size of / without re-installing?

Offline

#11 2010-07-20 19:56:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Filesystem size problem.

> However is there a way to increase the size of / without re-installing?
You can try but I would consult the wiki / google before attempting.

I personally am a lazy coward and tend to stick to the things I already know -> clean install.

Offline

#12 2010-07-20 19:57:12

ubermensch00
Member
Registered: 2010-07-20
Posts: 29

Re: Filesystem size problem.

lol yeah. I'm often the same way. But I'm feeling a little more ambitious today. smile
Thanks for the help, the ncdu tool is very nice and simple.
Thanks for your time, I can handle it from here.

Offline

#13 2010-07-20 19:59:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Filesystem size problem.

Offline

#14 2010-07-30 15:44:14

Spacenick
Member
From: Germany
Registered: 2010-04-02
Posts: 168

Re: Filesystem size problem.

I see how totally fluent you are in Linux based systems - but still.
Hope you know that you probably shouldn't be removing random files in / by hand even if you think, you don't need them, you probably do.
It would be a much better idea to look into your installed packages and use pacman to remove the ones you really don't need. Also you could try resizing your partitions from a live cd.
It's a little bit risky but usally works quite well these days.

Offline

Board footer

Powered by FluxBB