From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 13:53:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DF12106566C for ; Mon, 4 Jun 2012 13:53:58 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id DC5628FC0C for ; Mon, 4 Jun 2012 13:53:57 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id q54Dru4R001972 for ; Mon, 4 Jun 2012 07:53:57 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <4FCCBDF4.1030008@dreamchaser.org> Date: Mon, 04 Jun 2012 07:53:56 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120528 Thunderbird/12.0.1 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Mon, 04 Jun 2012 07:53:57 -0600 (MDT) Subject: bsdlabel geometry params X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2012 13:53:58 -0000 According the the handbook, one should do the following to set up a new disk: 1 dd if=/dev/zero of=/dev/da1 bs=1k count=1 2 fdisk -BI da1 #Initialize your new disk 3 bsdlabel -B -w da1s1 auto #Label it. 4 bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. 5 mkdir -p /1 6 newfs /dev/da1s1e # Repeat this for every partition you created. 7 mount /dev/da1s1e /1 # Mount the partition(s) 8 vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In step #4, bsdlabel gives you a label with zeros for fsize, bsize, bps/cpg Is it necessary to fill these in, or is there a way to get some reasonable defaults? "newfs -N" will give you numbers for bsize and fsize, but what about bps/cpg? What does the install process do for this step? I don't remember ever having to deal with it. Gary