gpart and sector size

Alexander Motin mav at FreeBSD.org
Fri Apr 9 11:59:25 UTC 2010


Alexander Motin wrote:
> Andriy Gapon wrote:
>> on 09/04/2010 14:00 Alexey Tarasov said the following:
>>> I've booted from dvd to fixit mode and got the following:
>>> /dev/ad4
>>>    512             # sectorsize
>>>    1500301910016   # mediasize in bytes (1.4T)
>>>    2930277168      # mediasize in sectors
>>>    0               # stripesize
>>>    0               # stripeoffset
>>>    2907021         # Cylinders according to firmware.
>>>    16              # Heads according to firmware.
>>>    63              # Sectors according to firmware.
>>>    WD-WMAVU1512579 # Disk ident.
>>>
>>> Seems that mav@ commit doesn't work? o_O
> 
> Commit was to "ada" driver, not to "ad".
> 
>> Or the disk doesn't actually report 4096 anywhere anyhow...  Have you considered
>> that?  If yes, can you verify using any tools of any OS that the disk reports 4K
>> in any way?
> 
> My testing WDC Green disk with Advanced Format doesn't reports it's
> physical sector size. I've studied it's IDENTIFY output even manually.
> `camcontrol devinfo ada0 -v` dumps full identify data.

Oops, I've meant `camcontrol identify ada0 -v`.

-- 
Alexander Motin


More information about the freebsd-current mailing list