4k sector drives

Michael Monnerie michael.monnerie at is.it-management.at
Fri Jul 23 05:59:07 CDT 2010


On Freitag, 23. Juli 2010 Christoph Hellwig wrote:
> -b size=4096 is the default anyway, for 4k sector drivers you also
>  want -s size=4096, which you do not want for 512 byte sector disks.

Thanks for clarification. Should I use "-s size=4096" despite the drive 
saying 512b sectors? It's a "hidden" 4K sector drive, so maybe declaring 
it extra for XFS helps performance? Or does it not matter at all?
 
> What values do the files
> 
>         /sys/block/<device>/queue/logical_block_size
>         /sys/block/<device>/queue/physical_block_size
>         /sys/block/<device>/alignment_offset
> 
> say about your disk?

512, 512, 0 for a Western Digital D20EARS-00MVWB0 (2TB) which has 4K 
sectors but obviously hides it.

-- 
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31

****** Aktuelles Radiointerview! ******
http://www.it-podcast.at/aktuelle-sendung.html

// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100723/76fc50bc/attachment.sig>


More information about the xfs mailing list