From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 02:28:23 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 15CEF6F5 for ; Fri, 23 Nov 2012 02:28:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7F58FC08 for ; Fri, 23 Nov 2012 02:28:21 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAKXerlDLevdH/2dsb2JhbABEFsAqc4IeAQEFOEEQCw4KCRMDDwkDAgECAUUGDQEHAQGICA2/X4w3hEEDpkODAg Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail04.adl6.internode.on.net with ESMTP; 23 Nov 2012 12:58:20 +1030 Message-ID: <50AEDD3E.8030007@ShaneWare.Biz> Date: Fri, 23 Nov 2012 12:49:42 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Warren Block Subject: Re: FreeBSD on SSD on ASUS P5KPL-C References: <50A83993.50401@ShaneWare.Biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd questions list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 02:28:23 -0000 On 22/11/2012 14:49, Warren Block wrote: > On Wed, 21 Nov 2012, Warren Block wrote: > >> Got a chance to set up a scratch drive and check this. Turns out >> I left out the step of creating a "slice" (MBR partition) to hold >> the FreeBSD partitions. Also, GPT labels cannot be used in an >> MBR. Fixed below. I will probably add this to my disk setup >> article because it has come up more than once. > > The fdisk/bsdlabel section of my disk setup article has been > rewritten to use gpart. Feedback welcome. > > http://www.wonkity.com/~wblock/docs/html/disksetup.html Something I meant to ask before - is there any benefit to following the steps described in http://www.aisecure.net/2012/01/16/rootzfs/ Abbreviated the steps are - gpart add -t freebsd-zfs -l disk0 ada0 gnop create -S 4096 /dev/gpt/disk0 zpool create zroot /dev/gpt/disk0.nop zpool export zroot gnop destroy /dev/gpt/disk0.nop zpool import zroot The step of using gnop is meant to trick zfs into believing the disk has 4K sector size to improve performance, which I would think zfs would be able to figure out by talking to the disk. Does partitioning hide the sector size or would the step of aligning the partition start to a 4k sector unhide the 4k size? Or are these steps just a waste of time?