Re: Need advice on how to partition a 10gig hdrive

From: Eric (nospam_at_email.com)
Date: 01/06/04


Date: Tue, 06 Jan 2004 18:16:11 GMT

Michael Heiming wrote:

> Bill Unruh <unruh@string.physics.ubc.ca> 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
>> instead.
>
> 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.
Eric



Relevant Pages

  • Re: kernel panic on mounting root fs
    ... > Grub came up ok and had no problems loading kernel ... Above you say hda5 is /, so it can not be swap. ... This shows two logical partitions, ... system on the first SUSE install disk. ...
    (alt.os.linux)
  • Re: [SLE] Recover Update of 10.1 from power failure hard crash.
    ... If I were you, since you can't backup your data, I'd pull hda out of the ... I created a 2 GB swap on the ... I seems I am going to have to install 10.0 on the drive and then ... CD's going into rescue system and creating partitions did not seem to ...
    (SuSE)
  • Re: Recommended partitioning scheme
    ... >> event a reinstall is necessary. ... don't install test releases on my main machine. ... > less critical partitions are filled up for some reason. ... > swap be twice what your memory is. ...
    (Fedora)
  • Re: New first time install
    ... > first one has two partitions both XP NTFS. ... > Linux and if possible, use part of it with both systems for file storage. ... /swap 256MB to 1GB swap ... > install, or would it be better to wait for the disk to arrive. ...
    (alt.os.linux.suse)
  • Re: Drive bigger than 250 gigs for late Imac 2006
    ... which came with one gig of RAM and a 250-gig drive inside. ... How much RAM can I add to that computer? ... I wouldn't want to risk doing the swap, so I would take my Imac to a Mac ... install and learn Istat Pro and to shop for Torx screwdrivers. ...
    (comp.sys.mac.system)