From owner-freebsd-isp Tue Dec 21 23:29:31 1999 Delivered-To: freebsd-isp@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id E62DB15204 for ; Tue, 21 Dec 1999 23:29:25 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 120dcO-00029k-00; Tue, 21 Dec 1999 20:43:20 -0800 Date: Tue, 21 Dec 1999 20:43:19 -0800 (PST) From: Tom To: Roger Marquis Cc: freebsd-isp@FreeBSD.ORG Subject: RE: partition sizes and securelevel questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 21 Dec 1999, Roger Marquis wrote: > > I just finished setting up a new mail server, and this is what I ended up > > with: > > /dev/da0s1a 127023 21254 95608 18% / > > /dev/da0s1e 2032623 726774 1143240 39% /usr > > /dev/da0s1f 6533601 98938 5911975 2% /var > > /dev/da1s1e 1016303 5892 929107 1% /var/log > > /dev/da1s1f 7417626 807885 6016331 12% /usr/home > > ... > > I wanted the highest performance possible, so I tried to think of things > > that HAVE to happen at the same time tried to arrange things so they affect > > different disks. > > This model has 5 partitions on 2 disks. That's 3 partitions more than > you need. It's also 3 times more likely to experience a full > partition than a system with only 1 partition per disk. Perhaps it > would be easier to use symbolic links to maintain /var/log on a > different disk than /var? Uhhh... some big problems with that. /tmp should be a separate file system. So that is 3 partitions so far. "/" should be simple, so that gives you "/", "/tmp", "/usr", and "/var" for a minimum of 4 filesystems. Sizing filesystems is difficult, but using as one filesystem per disk is just plain wrong. Filesystems should be created to separate the critical from the non-critical for one. For instance, if there isn't a separate /tmp filesystem (MFS or otherwise), any user can screw up your system by filling the root filesystem. If /var or /var/log isn't a separate isn't a separate filesystem, it is SO easy, either accidentally or deliberatelly for logs to run away to consume all free space. In each case, you have the risk of non-critical things (logs, and temporary files) shutting down actual important stuff. > -- > Roger Marquis > Roble Systems Consulting > http://www.roble.com/ Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message