Voytek Eymont wrote:
> I'm installing RH7.3 for a small web/mail/mysql/php/dns whatever server;
> 
> default RH7.3 install on P2 64MB 4 GB IDE suggests this:
> 47MB /boot
> 2392 /usr
> 871 /home
> 384 /
> 259 /var
> 165 swap
> 
> *no* X installed
> 
> my current (non *nix) server already has about 852 MB in
> httpd/mail data files, plus a bit more elsewhere,
> 
> I guess I need more in /home ..? at the expense of /usr ?
> 
> do I need 2392 in /usr ?

With only 4GB I'd seriously think about

    /boot   50MB
    swap    2 * RAM (including likely upgrades)
    /       the rest

If you want to be slightly more sophisticated then
put bits of /var that grow without bound (like /var/spool
and /var/log) into their own partition.  Easiest way to do
this is to put /var into its own partition and move /var/www
somewhere else

      mv /var/www /var-www
      cd /var
      ln -s www ../var-www

Note the use of relative symlinks.  This is important should
you ever use a rescue disk.

If you mail server puts stuff in /var/sppol/mail then
you might want to move /var/sppol/mail as well.  Or
better still, deliver the mail under people's home directories
(so directory quotas can be used to bound growth) and
access these using a IMAP server (so reconfigure the e-mail
client to use IMAP rather than change client's mail folder,
as then you don't need to touch the clients for any future
changes).

> once installed, is there any non-destructive resizing option ?

The current option is lvm + ext2resize (which works with
ext3 as well).  Non-destructive but the disks can't be
mounted at the time.  Tricky to do if you don't have a
CD-ROM drive.

This should improve a lot next year.  Looks like 2.5 will
have a choice of logical volume managers and online resizing
for some filesystem types.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to