xfs
[Top] [All Lists]

Re: 4k sector drives

To: xfs@xxxxxxxxxxx
Subject: Re: 4k sector drives
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jul 2010 15:30:00 -0500
In-reply-to: <201007202058.35141@xxxxxx>
References: <201007202058.35141@xxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
Michael Monnerie put forth on 7/20/2010 1:58 PM:
> Dear list, I don't know who else to ask this:
> 
> I recently bought 2 new 4k sector drives (WD Caviar Green 2TB, 
> WD20EARS), but Linux kernel 2.6.34.1 still says:
> 
> # blockdev --getss /dev/sdd
> 512
> 
> Shouldn't that be 4096? Where is the problem?

Firmware sector size translation is the problem.  The WD20EARS is apparently
not a native 4096K sector size drive, but a transitional product.  It is 4k
sector size internally but the firmware translates this to 512B sectors to the
OS driver.  It's a hybrid.

Google "WD20EARS sector size"

-- 
Stan

<Prev in Thread] Current Thread [Next in Thread>