From owner-freebsd-questions@FreeBSD.ORG Fri Nov 17 04:14:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4270D16A403 for ; Fri, 17 Nov 2006 04:14:19 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id B899143D46 for ; Fri, 17 Nov 2006 04:14:18 +0000 (GMT) (envelope-from maanjee@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so443303pyh for ; Thu, 16 Nov 2006 20:14:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Omsw34HYmdr5TUCph5exHL7/gWtPBn7v3xb4fuGAGYajuX7i3VTlsxGTX6E8xTlCHIQOcrlysp6WOh36Vxp5cnyOvDLn2xNSLk4Ainu8CI+huER1DEZhCnd3rLXCp42tblknl+BsDZ7WTNqhwIAHBTcD2YOyK0NILGKT8BeLpsE= Received: by 10.35.111.14 with SMTP id o14mr2301395pym.1163736858110; Thu, 16 Nov 2006 20:14:18 -0800 (PST) Received: by 10.35.32.17 with HTTP; Thu, 16 Nov 2006 20:14:17 -0800 (PST) Message-ID: <2cd0a0da0611162014m4b861697oe35e270c3487293f@mail.gmail.com> Date: Fri, 17 Nov 2006 05:14:18 +0100 From: VeeJay To: "Chuck Swiger" In-Reply-To: <5AD74162-CA4E-4859-B3BC-6C3CEEE3E6EE@mac.com> MIME-Version: 1.0 References: <2cd0a0da0611161446q4e11b83dm22cc597c39537fcd@mail.gmail.com> <5AD74162-CA4E-4859-B3BC-6C3CEEE3E6EE@mac.com> Content-Type: text/plain; charset=ISO-2022-JP; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.1 i386 Installation Questions! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 04:14:19 -0000 On 11/16/06, Chuck Swiger wrote: > > On Nov 16, 2006, at 2:46 PM, VeeJay wrote: > > Could you guys advise that > > > > 1. What should be the minimum / (Root) Partition Size? (So, I don't > > waste > > lot of space just for Root) > > It would help to mention which version of the OS you have: > > 128MB is probably a reasonable minimum, I tend to use 256MB. > > > 2. What should be the minimum /usr Partition Size? > > This depends on whether you are installing the ports tree and/or > rebuilding /usr/src to update the OS. > 2 GB is probably a reasonable low end, but 4GB would be much better. > > > 3. For a FreeBSD Web Server (with mysql), what should be ideal > > BLOCK and > > FRAGMENT sizes? > > The defaults are fine, unless you have unusual requirements or huge > (terabyte-size) disk volumes. > > > 4. Which shell is best to use and secure? is it BASH or TCSH? > > A matter of personal preference. > Note that /bin/sh is not BASH on FreeBSD, but a classic version of > the original Bourne shell. > > > 5. Network Confirgruations: > > a. host is just a machine unique name, to see/access on LAN, right? > > The hostname can be relevant over WAN. Depends on getting your DNS > configured. > > > b. If I don't have a domain name, so what "domain" I should > > give? could > > it be just the ip address? > > Some people use hostname.local or hostname.localdomain if they don't > have DNS available. > > > c. can I change the LAN ip address which was given during > > installation > > with WAN ip address when server is up and running with direct > > connection to > > world? > > Of course. Change /etc/rc.conf, or re-run sysinstall. > > -- > -Chuck > > Hello Guys Thanks for your reply. I will use around 256 MB for Root Partition and 4 GB for /usr Partition. Regarding Block Size, see the quote below from a Book, i.e. and pleae comment... * Block Size * This section contains options that can really impair system performance. If you're new to FreeBSD, take the defaults! This is for experienced UNIX administrators who know *exactly *what they're doing. Block size refers to the minimum size of a file. If you have a file that contains just one tiny character, it uses one whole block, even if it barely fills that block. By the same token, if your file is just over the block size, it takes up one block and a fragment of another. Each block can be divided into fragments, so that multiple, slightly oversized files can use one block to store their extra tidbits. FreeBSD defaults to 8KB blocks. If you're creating a large partition―say, 1GB or more―use 16KB blocks. When you do this, you also need to change your fragment size. The FreeBSD file system (UFS, or UNIX File System) works best with fragments one−eighth the size of a block. This would be 16,384−byte blocks and 2,048−bit fragments. Set the block size with the newfs program. From the Disklabel screen, press *N *while on a partition to display a pop−up dialog box containing newfs options. To use 16KB blocks and 2KB fragments, enter .................................................................................................... newfs −f 2048 −b 16384 .................................................................................................... -- Thanks! BR / vj