Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 10:52:03 +1030
From:      Greg Lehey <grog@lemis.com>
To:        lamaster@george.arc.nasa.gov
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Sendmail - low on space
Message-ID:  <19980128105203.52257@lemis.com>
In-Reply-To: <199801272034.MAA04209@george.arc.nasa.gov>; from lamaster@george.arc.nasa.gov on Tue, Jan 27, 1998 at 12:34:26PM -0800
References:  <199801272034.MAA04209@george.arc.nasa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 27, 1998 at 12:34:26PM -0800, lamaster@george.arc.nasa.gov wrote:
>>>> At 07:18 PM 1/27/98 +0000, Damian Hamill wrote:
>>>>> Mark Segal wrote:
>>>>>> dennis wrote:
>>>>>> will proably see the disk usage on /var is really high like 90%+ this is
>>>>>> probably do to some user with 14 megs of email.. :)
>>>>>
>>>>> Yes consider moving your mail queue (/var/spool/mqueue) to your /usr
>>>>> partition and symlinking to it.
>>>>
>>>> Unless disk IO and space is an issue, where a nth disk
>>>>    is mounted a /var, I symlink the entire /var to /usr/var
>>>>    when installing.  No sense deciding how much to reserve for
>>>>    /var and /usr and more economical for single disk installs.

> I know it is unfashionable right now to say this, and, each to his
> own taste, but, /var was created for a reason.  The reason hasn't
> really gone away.  I think it in multiple-user environments it is
> good planning to decide how much to reserve in advance for, e.g.,
> the user mail input queues.  As well as user home directories and
> other similar requirements.

We have quotas to limit bloat.  They're much more flexible.  You can
plan all you want, but you can't read the future.  The best thing that
planning can do is to give you a good starting position.

> In other words, while the original user needs help and probably
> doesn't feel like re-partitioning the disk at this point, in
> general, I recommend planning the /var partition in advance and
> partitioning the disk accordingly.  The FreeBSD sysinstall defaults
> are reasonable for smallish disks, but most people have more memory
> and bigger disks today, and would benefit from generally larger
> partitions (including swap).  But, the basic partitioning is very
> reasonable; the default sizes for /, swap, and /var, should probably
> be larger for larger disks.

I recommend that the system disk should contain a 40 MB root file
system, an appropriate amount of swap, and that the rest of the disk
should be the /usr file system.  Other disks should contain one file
system and a swap partition if necessary.  

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980128105203.52257>