Click to See Complete Forum and Search --> : Partition sizes?


D-Termind
12-08-2000, 10:54 PM
I've dedicated 15G for Linux, however I'm not sure how to partition it. At the moment I've got:

/ has 3.5G
Swap has 256M (I have 256M RAM)
/home has 3.5G
/usr has the rest.

I know there's no perfect sizes but does anyone see anything way out of whack?

Thanks...


------------------

D-Termind
2
Leave
Win-DUHs

Strike
12-08-2000, 11:08 PM
Yeah, if you have a big /usr partition, you don't need a huge / partition. You can always see what is used, just run df.

D-Termind
12-09-2000, 12:21 AM
Originally posted by Strike:
Yeah, if you have a big /usr partition, you don't need a huge / partition. You can always see what is used, just run df.

But how big is TOO big?

MDK wants to create a /, a /swap, and a /home, but that didn't work out. Someone said that /home should be /usr and that worked better.

I would place everything in / with only a swap but then I'd run into problems about saving info later I guess...

So...how big is TOO big if I have a big /usr partition?

Also, how big does /home need to be, and why?


------------------

D-Termind
2
Leave
Win-DUHs

[This message has been edited by D-Termind (edited 08 December 2000).]

Strike
12-09-2000, 02:01 AM
Okay, it really depends upon your HD size, but here's what I'd do with 15GB:

/ - 1GB
/var - 500MB
/tmp - 250MB
/usr - 8GB
/home - 5GB
swap - 256MB

Here's my justifications:
/usr - needs to be big because all the apps and sources go here
/var - needs to be fairly big because I like to use Debian and it uses a big chunk of space in there with apt stuff (if this were a non-Debian system, I'd make /var more like 200MB or 100MB).
/tmp - doesn't need to be too big, this should do
/home - this is where all my personal stuff goes, and with MP3's and movies (pr0n http://www.linuxnewbie.org/ubb/biggrin.gif) and all my code and binaries, this can get up there pretty quickly, but I can always clean out the cruft
/ - needs to hold all my config files and boot stuff, but other than that, not a whole lot, 1GB is more than enough, really - but it's a safe number in case I have lots of stuff in /etc or if I make a lot of different kernels that I want to be able to boot