From owner-freebsd-questions Sun Jan 25 19:12:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA24503 for questions-outgoing; Sun, 25 Jan 1998 19:12:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dove.peace.com.my (peace.com.my [202.184.153.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA24490 for ; Sun, 25 Jan 1998 19:12:17 -0800 (PST) (envelope-from panda@peace.com.my) Received: from lovebox (love.com.my [202.184.153.17]) by dove.peace.com.my (8.8.5/8.8.5) with SMTP id KAA00227 for ; Mon, 26 Jan 1998 10:34:35 +0800 (SGT) Date: Mon, 26 Jan 1998 10:34:35 +0800 (SGT) Message-Id: <3.0.32.19970126104132.00956210@peace.com.my> X-Sender: panda@peace.com.my X-Mailer: Windows Eudora Pro Version 3.0 (32) To: questions@FreeBSD.ORG From: chas Subject: Filesystem allocation Recommendations. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Well, I learned the hard way that the default file system set up with the "(A)utomatic" allocation was not the most ideal for a mailserver : Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a 31775 23647 5586 81% / /dev/wd0s1f 1801823 66841 1590837 4% /usr /dev/wd0s1e 29727 13940 13409 51% /var Needless to say, /usr has been pretty unused and /var got full a lot. So, I'm going to set up a new FBSD machine and move everything from the one above to the new one. Since I really would like to only do this once, could I please seek some advice from experience admins 1) My initial thoughts this time are to allocate : 50 MB to / (my current 81% utilisation seemed a bit too close for comfort. i've had enough "root filesystem full" errors on other platforms) 150 MB to /usr (mail, httpd - and allowing for a few extras in future) 1.7 GB to /var (ie. everything else in /var since it needs it for all the mail accounts.) Is there any reason not to go with this ? (any better method from a maintenance standpoint) My only worry is that in the past, /var sometimes got full because of over enthusiastic logging (or when system errors were rife). It would be nice not to disrupt mail in such circumstances. 2) Transfering users - simply copy the /etc/passwd file and shadow passwd ? 3) If I remember correctly, on AIX, I could change the size of filesystems in realtime... yes, even decreasing them. Is there no way to do this on FBSD ? (i fear that such a useful feature seems to be unique to AIX) 4) Do experienced users actually not allocate all of the space to filesystems on installation and then allocate on a needs basis, over the months/years ? Thank you very much, chas