On Thu, 17 Oct 2002 12:45:39 +0200, Sagi Bashari <[EMAIL PROTECTED]> wrote:
> 
> I'm setting up a new server and I wondered about hdd partitioning - I 
> need big /var and also a big /home - I thought about creating one big 
> /home and symlinking the /var to /home/var .
 
I divide the disk into 3 partitions:
  1. / (root) which includes all the distribution and system used
     files (including /home, /tmp /var /usr but see note below),
     about 5 GB will be more than enough for /. 
  2. swap area - I usually set it to 2 GB (the maximum possible)
     and hope it will never (almost) used.

  3. User data partition - rest of the disk.

I have about 16 servers configured like this and all works very
well and I never had any performance issues.

Note. The user's real home and application data are NFS mounted. So
    /home, /var and so on are for local system account only (root,
    httpd, etc.). If I know that I need a lot of disk space (e.g.
    A Data Base server uses lots of /tmp, A mail server may need
    space on /var/spool/mail, debug logs on /var/log) the needed
    directory is a symbolic links to a directory on the 3rd
    partition.

Ehud.


-- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:[EMAIL PROTECTED]                  Better  Safe  Than  Sorry

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to