Date: Thu, 29 Jan 1998 12:20:42 -0500 From: "Troy Settle" <rewt@i-plus.net> To: "(ML) FreeBSD ISP" <isp@FreeBSD.ORG> Subject: filesystems Message-ID: <018401bd2cda$3a4d2970$3a4318d0@abyss.b.nu>
next in thread | raw e-mail | index | archive | help
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 <st@i-Plus.net> Network Administrator, iPlus Internet Services http://www.i-plus.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018401bd2cda$3a4d2970$3a4318d0>