Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 12:49:42 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd questions list <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD on SSD on ASUS P5KPL-C
Message-ID:  <50AEDD3E.8030007@ShaneWare.Biz>
In-Reply-To: <alpine.BSF.2.00.1211212118100.10378@wonkity.com>
References:  <CAAHVa8thx4_fjQrTUwwGxERtCvTX9NnR59JxH7gQ38tq7irCZw@mail.gmail.com> <CAHHBGkph5j86wDpobasdtM%2BJZMQKt2eqcn8LKd4V0NzyDxR3Tw@mail.gmail.com> <CAAHVa8vm6vFa8ajiOJT3VWnvcZasdQM%2BnaJdjG9eLx%2Bj5F80CA@mail.gmail.com> <50A83993.50401@ShaneWare.Biz> <CAAHVa8uf65aaEWcKehojc0M67Psrn8Mpfj9GT=XR4GK47c%2BBWA@mail.gmail.com> <alpine.BSF.2.00.1211191235400.28618@wonkity.com> <CAAHVa8tZBPGPyuuU0bSwyPdN5ZtW_d4t9cJN7CcxEEaUXO7OGw@mail.gmail.com> <alpine.BSF.2.00.1211191801060.31205@wonkity.com> <CAAHVa8vsXUPn%2BndPsbR3GCdneu5iQSfVt0v--GgDvRvZL8bSCA@mail.gmail.com> <alpine.BSF.2.00.1211212020420.10378@wonkity.com> <alpine.BSF.2.00.1211212118100.10378@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50AEDD3E.8030007>