Off Topic: Partitioning (was: Re: [olug] Upgrade HD ?)
Nick Walter
waltern at iivip.com
Tue Aug 5 18:36:07 UTC 2003
Actually, sometimes it can be necessary to have swap greater than 1 gig
:)
I would agree in principle that any extended periods of usage of swap
above 1 gig are a good sign a RAM upgrade is needed, but sometimes a
special case scenario comes up and then you want big swap so the system
doesn't crash. For example Oracle installs use a ton of memory for
reasons I've never figured out. I've had a system with 512MB Ram and
1.1 G swap die on me during Oracle install with an "out of swap"
message. The solution was to add another 400MB of swap. I find that a
big swap partition is a nice safety cushion for special-case scenarios.
Nick Walter
On Tue, 2003-08-05 at 12:10, Jay Swackhamer wrote:
> swap doesnt need to be more than 1gig, (if you are using that much, add
> memory)
>
> and I'd either add an /opt or /usr/local for additional applications that
> you dont want to re-install in the event of a distro switch......
>
> Also, you need a /tmp that is large enough..... Printing apps build image
> files in /tmp i.e. glabels, that can be hundreds of megs. Some browsers
> download to /tmp first, then copy to the final location, etc....
>
> if I was giving a recommendation for a disk 80+gig
> /boot 100M ext3
> / 2G ext3
> swap 1G swap
> /dev/hda4 LVM
> --
> /var lvm 500meg to start
> /usr lvm 6gig to start
> /usr/local lvm 500meg to start
> /home lvm 500meg to start
> /opt lvm 500meg to start
> /tmp (if / is smaller)lvm 1gig to start
> --
>
> For smaller drives/newer users
> /boot 100M
> swap 1gig
> / 10gig
> /opt or /usr/local whatevers leftover
>
>
>
>
> > I usually go with the following separate partitions on a production
> > system.
> > /boot 100 MB
> > swap 2.5 times size of RAM with max size of 2 GB
> > / 256 MB or greater
> > /var 256 MB or greater
> > /usr 6 GB or greater
> > /home remainder of drive
> >
>
More information about the OLUG
mailing list