Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Apr 2010 22:44:34 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Alexey Tarasov <me@lexasoft.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gpart and sector size
Message-ID:  <4BBE4032.3030806@andric.com>
In-Reply-To: <AE6BA21B-243B-4A6D-A5B1-B8ACC1AFBC9E@lexasoft.ru>
References:  <1A417529-F467-4411-970A-3FF41080AC61@lexasoft.ru>	<868w8yukuy.fsf@ds4.des.no>	<6313EB8E-D3DA-459F-A372-0E871359FA1C@lexasoft.ru>	<86zl1et4rv.fsf@ds4.des.no>	<F2541C05-A42C-486F-9709-56315C2F49FF@lexasoft.ru>	<86mxxet437.fsf@ds4.des.no>	<F3A5CE7A-894E-4A4C-80DB-7D418E66FA91@lexasoft.ru>	<86eiiqt3kp.fsf@ds4.des.no>	<846676C4-C1B8-44DB-AA01-B664614DE59F@lexasoft.ru> <20100408172421.62d73a90@ernst.jennejohn.org> <4BBDF7D3.3050300@andric.com> <AE6BA21B-243B-4A6D-A5B1-B8ACC1AFBC9E@lexasoft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-04-08 21:34, Alexey Tarasov wrote:
> Thank you for the information.
> In 8-STABLE snapshot 201002 diskinfo shows 512k sector size yet.
> I will try CURRENT tomorrow.

It looks like the code was MFC'd to stable/8 in r199443.  However, even
in -CURRENT, the sector size you see in diskinfo will also be 512B.

For ada(4) disks, it seems the d_sectorsize field of geom_disk's struct
disk is initialized using the _logical_ sector size, not the physical
sector size (which may be a multiple of the logical sector size).

That said, if the physical sector size is larger than the logical
sector size, the d_stripesize field is initialized with it.  So if you
run "diskinfo -v" on the disk, what is the output for stripesize?



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