Re: Need advice on how to partition a 10gig hdrive
From: Eric (nospam_at_email.com)
Date: Tue, 06 Jan 2004 18:16:11 GMT
Michael Heiming wrote:
> Bill Unruh <firstname.lastname@example.org> wrote:
>> Scarletdown <gsutton9503@MYTAILFEATHERScharter.net> writes:
>> ]J.O. Aho wrote:
>> ]> A small suggestion would be that you make
>> ]> /boot 100MB
>> Why have a boot partition? Again, it is liable to fill up when you
>> install your fourth kernel.
> Ack, unless there are multiple distro installed, /boot isn't
> really needed anymore.
>> I usually have
>> /partition 1GB
>> /usr partition 5 GB
>> /swap 1GB
>> /local partion (containing /local/home /and a pointer from /usr/local)
>> the rest of the disk.
> Usually I have in addition /var, /tmp and /home on separate
> partitions. Swap size depends on the RAM and the purpose of the
> box, anyway if the systems starts swapping constantly it's
> already (late) time to get more RAM.
>> This leaves lots of room for installing new software, and making sure
>> that /var/log does not overrun /
>> It also allows / and /usr to be erased in reinstalling a new version of
>> the system.
>> If you do not plan to install lots of new software, make /usr 3GB
> You can use lvm on /usr if unsure, albeit I'd avoid that if
> possible on the system partitions.
>> I would advise the same for a 40Gb hard drive (where did you nind a 10GB
>> drive. I did not think they existed anymore. -- And I recall when a
>> 100MB drive held the whole operating system and all the files I could
>> use for a SunOS system only 15 years ago.
> You can size down a Linux system like that if you like, but then
> you won't have a very comfortable box and working might get a
> pain in the ass quite fast, like on that old sun. With a few
> hundred MB you get a good comfortable Linux server.
Why 1 gig swap? You're wasting an awful lot of usable space, 32-64 megs of
swap would probably do fine. (Assuming you have a reasonable amount of ram)
I've run for a long time with no swap and never had any problems (512meg
ram). Linux seems to be quite intelligent about swap and rarely uses it if
it doesn't have to.