xfs
[Top] [All Lists]

Re: 4k sector drives

To: xfs@xxxxxxxxxxx
Subject: Re: 4k sector drives
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Jul 2010 12:59:07 +0200
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
In-reply-to: <20100723095832.GA23174@xxxxxxxxxxxxx>
Organization: it-management http://it-management.at
References: <201007211333.48363.eye.of.the.8eholder@xxxxxxxxx> <201007230809.28111@xxxxxx> <20100723095832.GA23174@xxxxxxxxxxxxx>
User-agent: KMail/1.12.4 (Linux/2.6.34.1-zmi; KDE/4.3.5; x86_64; ; )
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/

Attachment: signature.asc
Description: This is a digitally signed message part.

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