Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2011 10:08:05 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Robert Simmons <rsimmons0@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: GPT and disk alignment
Message-ID:  <20110608100805.71572h6edc04klid@webmail.leidinger.net>
In-Reply-To: <BANLkTikuZRL=x1iZ8KXP0LHs4Ea6prAhZA@mail.gmail.com>
References:  <BANLkTik0MsD1fWcsshZ2u0Xj7t2gJOyBbg@mail.gmail.com> <op.vwqpfipr34t2sn@skeletor.feld.me> <BANLkTikuZRL=x1iZ8KXP0LHs4Ea6prAhZA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Robert Simmons <rsimmons0@gmail.com> (from Wed, 8 Jun 2011  
01:29:43 -0400):

> Ok, is there some way to tell gpart(8) what the LBA size is, or do I
> have to calculate the offset of each partition manually?  In Linux it
> would be "fdisk -b 1024" for the example of SSDs or "fdisk -b 4096"
> for 4K HDDs.

Here is what I did to align to 4k sectors with gpart:
http://www.leidinger.net/blog/2011/05/03/another-root-on-zfs-howto-optimized-for-4k-sector-drives/

Bye,
Alexander.

-- 
I love dogs, but I hate Chihuahuas.  A Chihuahua isn't a dog.
It's a rat with a thyroid problem.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



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