From owner-freebsd-questions Fri Nov 16 4:10:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 08F5A37B405 for ; Fri, 16 Nov 2001 04:10:01 -0800 (PST) Received: (qmail 93673 invoked by uid 100); 16 Nov 2001 12:10:00 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15349.536.202897.910642@guru.mired.org> Date: Fri, 16 Nov 2001 06:10:00 -0600 To: Henrik Hudson Cc: brain_damaged@florida-wireless.com, questions@freebsd.org Subject: Re: Setup Questions on system with 3 hds. In-Reply-To: <33790016@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Format recovered from top posting.] Henrik Hudson types: > On Thursday 15 November 2001 15:10, brain_damaged wrote: > > Currently I have two freebsd 4-3 machines running > > ad0 is the 1.2 gig > > ad1 is the 4.3 gig > > ad2 is the 13 gig > > > > I also want to log all logs to another machine as in the security page > > description setup. However in case that doesn't work well or dies then I > > want to be able to have a /var slice to change the logging back too. > > So little confused on the best long run setup This is a common question, and the best answer is to think about what you're going to be doing with the system, and set things up the best way for that. > You ALWAYS want to break up your mount points, this minimizes file corruption > and keeps the / partition safer. While that used to be true, and may still be true for linux systems, it's not true for FreeBSD systems. There are three reasons for this: 1) File systems are much more robust than they used to be, though you can break that with carefully chosen mount flags 2) Disks drives have higher MTBF than they used to. RA81s used to be very popular on unix machines, and few of them lasted a year without a major failure. These days you get five year warranties. 3) The cost of having a system down is much lower than it used to be. When all the companies computing was done on a VAX of some kind, having it down meant the company was dead in the water. Now that everyone has a machine on their desk, the company as a whole can pretty much ignore one machine being down. With those three things in mind, all creating extra mount points does is creates more things to run out of space. The only reason to break things off the root is for administrative reasons. So, here's what my opinion is, assuming you want swap: ad0: /, swap ad1: /usr/local, swap ad2: /home, swap Splitting swap is a good thing, and should be as close to the same size as possible. If you know some directory on / or /usr/local is going to hold lots of data, create a directory for it on /home and symlink from / or /usr/local to that directory. /var/log is a good example. Databases would be another. -- Mike Meyer http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message