4k sector drives

Michael Monnerie michael.monnerie at is.it-management.at
Sat Jul 24 17:35:21 CDT 2010


On Samstag, 24. Juli 2010 Eric Sandeen wrote:
> > If it really is one using -s size=4096 is the right thing to do.
> 
> Haven't read the whole thread so maybe this is redundant, but make
> sure all partitions (if any) are 4k aligned as well (unless it has
> the secret-handshake sector 63 offset...)
 
Thank you Christoph for clarification, also thanks to Eric - I've been 
aligning all partitions to a multiple of 512 sectors since a long time, 
which fits all stripe set sizes up to 256k. Too bad that even Linux 
fdisk and parted still don't do something like that, today I setup a 
Novell SLES 11 with XEN VM, and everywhere parted would align the first 
partition (when using GPT) to sector 34.. what a number.. Good that 4K 
sector drives arrive now, so the tools will hopefully change for a 
better default.

BTW: AFAIK SSD drives have a (sometimes very large) internal alignment 
of bytes which should be used as a "stripe size" to meet the optimal I/O 
size. Is there a way to find out how big that is yet?

-- 
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/20100725/35ff0be4/attachment.sig>


More information about the xfs mailing list