You are not logged in.

#1 2005-06-19 00:59:57

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Really bizzare root "/" space usage issue....

I'll start by apologizing in advance....

Now that I have done that I can hopefully proceed without ticking off anyone... big_smile

I have Arch 0.7 installed and Kde which I just downloaded and installed last night.  Everything is running well,  no issues there.   

     My issue is with the space taken up by root "/".  During the partitioning process I had assigned it a generous ( I thought )  1GB.   /Var has 7Gb, /usr has 9Gb,  the swap is 734MB and /home is 30Gb.  So far so good.

For some strange reason when I run hwd -y  the usage indicator for root "/"  is 65% used.    That strikes me as a hell of a lot of space for root to use, especially if just Arch and KDE are on the system, at least I would think so.

I have had a wonderful time looking through the wiki and googleing over this issue and learned a lot of new and interesting things, but not why this is happening.  :x

du and df have helped a bit and /var/log has about 30 MB of log messages
so it is not there.   /tmp has virtually no usage   1 MB total or so.
I have also done pacman -Scc as well, however I am still at 65% usage.

Now it is entirely possible that I don't fully understand WHAT this truly means, but I do know I don't want to fill up the root filesystem.  Should I e ven be worried? 

Any assistance, ideas, RTFM comments are welcome...

BobL

Offline

#2 2005-06-19 01:17:31

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Really bizzare root "/" space usage issue....

Perhaps run du -hs on some of the directories in root... that'll tell you which is taking up all the space. It may be that KDE is that big... 65% of 1GB is 650MB... that's pretty high for KDE, yeah.

Dusty

Offline

#3 2005-06-19 01:19:42

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Really bizzare root "/" space usage issue....

Size  Used Avail Use% Mounted on
4.7G  627M  4.1G  14% /
32G  1.8G   30G   6% /home
92M  8.2M   79M  10% /boot

2.8M    bin
4.2M    boot
2.0M    etc
1.8G    home
33M     lib
544K    opt
897M    proc
5.6M    sbin
36K     tmp
472M    usr
80M     var
3.2G    total

proc does not report space properly with du. As many of the things in proc are virtual...It is possible that hwd -y is improperly reporting it..dunno.
try "df -h" to get a better result.

EDIT: Good point dusty, might be /opt being a problem too.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2005-06-19 01:23:34

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Really bizzare root "/" space usage issue....

Last I knew kde was around 250mg....

Offline

#5 2005-06-19 01:28:29

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Really bizzare root "/" space usage issue....

Penguin wrote:

Last I knew kde was around 250mg....

That was compressed too. I just looked at my opt folder (I also use kde) and it came up with 1.1GB.

Offline

#6 2005-06-19 01:59:33

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Re: Really bizzare root "/" space usage issue....

Well that was quick!   

Surprisingly  /opt has about 541 MB usage,  now I don't think I have a partion for /opt but no matter.   I wonder if I should just do a flatline, and redo arch with root at 5gb?   Or am I simply thinking the situation will go away?

Anyway, 

Thanks for the responses,  any more ideas are welcome.   I'll see what I can find out with more research and I will post back on the problem and what, solves it and what is causing it.   I suspect an innocent fubar on my part!

Thanks again,

BobL

Offline

#7 2005-06-19 02:04:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Really bizzare root "/" space usage issue....

personally, I feel there's no need to partition / and /usr and all those things seperately... the only one that makes sense is /home because that's the only one that a) could be used from distro to distro and b) would make sense backing up upon reinstall... other than that why would something like "/usr" need to be on another partition?

I usually do "/" at about 15G
and /home at whatever is left

Offline

#8 2005-06-19 02:19:35

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: Really bizzare root "/" space usage issue....

phrakture wrote:

personally, I feel there's no need to partition / and /usr and all those things seperately... the only one that makes sense is /home because that's the only one that a) could be used from distro to distro and b) would make sense backing up upon reinstall... other than that why would something like "/usr" need to be on another partition?

I agree. I would make the mistake of underestimating something and not having allocated enough space for /usr or /var, etc.

Offline

#9 2005-06-19 02:31:53

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Really bizzare root "/" space usage issue....

When I installed, I divvied it up into /, /home, and /boot. Now, mind you, I'm a greenhorn, so I wasn't sure how to divvy up the space and have 40G to / and 24G to /home.  /boot is small, as it probably ought to be.
Anywho, as it stands, I have 3.8G (10%) used on /, and 2.7G (12%) used on /home. 

Of course, this doesn't count my FAT32 partitions that I use to share data between Arch and Windows... tongue

Offline

#10 2005-06-19 05:55:31

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Really bizzare root "/" space usage issue....

"pacman -S filelight" if you're a KDE user (my /opt/kde here, info here)

Offline

#11 2005-06-19 06:06:31

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Really bizzare root "/" space usage issue....

phrakture wrote:

personally, I feel there's no need to partition / and /usr and all those things seperately... the only one that makes sense is /home

I had once /opt and /var in separate partition and they slowed down the speed.  In general, also in my opinion, separate partition for /home seems to be the best solution.


Markku

Offline

#12 2005-06-19 07:51:09

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: Really bizzare root "/" space usage issue....

If the idea behind having /usr backed up is for application preservation, it's not really the optimal solution in Arch.  All the really big applications (KDE, Gnome, Sun Java, OpenOffice...) get installed in /opt.
I would recomend moving everything from /opt to /usr/opt and symlinking /opt to /usr/opt to allow the big dogs to be installed in /usr.
eg:

su
mv /opt/* /usr/opt
rm /opt
ln -s /usr/opt /opt

v/r
Suds

Offline

#13 2005-06-19 09:53:38

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Really bizzare root "/" space usage issue....

I dont see the issue here.........

KDE is installed onto /opt/ which in your case is on /

and 650mb/1024mb for kde+base install seems reasonable to me.

what doesnt seem reasonable is a 7gb /var..... what the?

or even a 9gb /usr? that's massive! Your / should have more space than 1gb if you're throwing space around like above.

thats my 2 cents....

iphitus

Offline

#14 2005-06-19 17:47:37

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Re: Really bizzare root "/" space usage issue....

heh,

I liked that response...." 7gb Var  what the..."    I just did not realize that root needed massive space, any other article I have read indicated that 1gb would be MORE than sufficient.  Guess not.  Anyway I will move /opt to /usr and symlink it,  should be interesting to see what happens.


Again, thanks to all.

BobL

Offline

#15 2005-06-19 17:55:18

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Really bizzare root "/" space usage issue....

It will work.

When my /var was getting big because of cached pkg files, I've moved it to /home and symlink-ed it. It worked with no problem.

Offline

#16 2005-06-19 18:09:42

BobL
Member
From: USA
Registered: 2005-05-04
Posts: 19

Re: Really bizzare root "/" space usage issue....

Well now,

That certainly did it.   "/" is now at 13%.   Nice.   
Thanks IceRam and all.

BobL

Offline

Board footer

Powered by FluxBB