lkml.org 
[lkml]   [2011]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Detection of Advanced Format drives
On Mon, Sep 26, 2011 at 3:48 PM, Joshua Scoggins
<theoretically.x64@gmail.com> wrote:
> Keep in mind that some AF drives will not report their actual sector
> sizes. I have this issue with the WD AV-25 series. This is to provide
> compatibility with older operating systems that don't support AF
> drives. These are called generation 1 devices. Newer drives will
> directly report their sector size as 4096 through the drive identify
> data older ones will say 512. At that point you just need to do a
> google search to see if it's AF or not.

Linux should publish the discrepancy with these <disk> specific sysfs files:

/sys/block/<disk>/queue/logical_block_size=512
/sys/block/<disk>/queue/physical_block_size=4096

But are you saying you have an AF disk that doesn't publish this
discrepancy via the IDENTIFY DEVICE (ATA) or READ CAPACITY 16 (SCSI)
command?


\
 
 \ /
  Last update: 2011-09-26 22:13    [W:0.399 / U:6.452 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site