From owner-freebsd-isp Thu Jan 29 09:18:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08713 for freebsd-isp-outgoing; Thu, 29 Jan 1998 09:18:57 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from Radford.i-Plus.net (root@NS.i-Plus.net [208.24.67.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08699 for ; Thu, 29 Jan 1998 09:18:51 -0800 (PST) (envelope-from rewt@i-plus.net) Received: from abyss (old@b.nu [208.24.67.58]) by Radford.i-Plus.net (8.8.8/8.8.5) with SMTP id MAA25726 for ; Thu, 29 Jan 1998 12:18:39 -0500 (EST) Message-ID: <018401bd2cda$3a4d2970$3a4318d0@abyss.b.nu> From: "Troy Settle" To: "(ML) FreeBSD ISP" Subject: filesystems Date: Thu, 29 Jan 1998 12:20:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-isp" In light of the recent 'Sendmail - low on space' thread, here's a few thoughts on partitioning disk space... A year ago, when faced with the prospect of setting up an ISP, I wasn't sure how to go about allocating disk space. I had a single server, and 2 HDs totaling about 3.5 gig. I ended up creating a number of smallish (250-500 meg) partitions, and playing musical filesystems with them. Last month, I realized that I had a totally crappy filesystem, so I got a 4.3 gig SCSI drive to replace the 2 IDE drives, and started fresh. For a 1000 user system, here's what I came up with: /dev/sd0a 95359 38469 49262 44% / /dev/sd0s1d 1813583 364656 1303841 22% /home /dev/sd0s1h 508655 247143 220820 53% /play /dev/sd0s1g 127151 685 116294 1% /tmp /dev/sd0s1f 289231 152536 113557 57% /usr /dev/sd0s1e 1017327 482766 453175 52% /var / ~100 megs (plenty of breathing room) swap ~250 megs /usr ~300 megs /tmp ~128 megs /var ~1 gig /home ~1.8 gig /play ~500 megs The /play partition is temporary, it will soon be /var/local (/usr/local/var) for my mysql databases The /var partition holds mail and my squid cache until I get a seperate server for squid. I originally wanted to mount /usr as read-only, and have /usr/local on a seperate partition, but found myself running out of room. Eventually, I'll have /home moved over to a second HD, then move /var to where /home was, and /var/local to where /var was, freeing up ~500 megs for /usr/local so I can mount /usr as readonly. comments? Perhaps we could combine our experiences, and add a section to the handbook, "Being a FreeBSD ISP" -- Troy Settle Network Administrator, iPlus Internet Services http://www.i-plus.net