Re: gpart and sector size

From: Dimitry Andric <dimitry_at_andric.com>
Date: Thu, 08 Apr 2010 22:44:34 +0200
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?
Received on Thu Apr 08 2010 - 18:44:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC