[Top] [All Lists]

RE: 4k sector drives

To: xfs@xxxxxxxxxxx
Subject: RE: 4k sector drives
From: Khelben Blackstaff <eye.of.the.8eholder@xxxxxxxxx>
Date: Wed, 21 Jul 2010 10:53:45 +0300
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=zknGcKASJU+00YXhX9oyL0x6asTWLyAtTjiOPHgKf1k=; b=OCJ/ltZRx90NzTiHjrz0sTWFxVpz+cKhVI/sMQKsiiQoN6xmNNsjTS/holhXDCFmdo Ide0sodDGLMxIaQmTUcTM6QG56qn/cM4XLpc/G7NTfIaSE03bAW8YebGY4W5GOEktYTc 8l8ZOUeRXsiw+wBTg4ZESbhstlalLLyF1TXnc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=hHLfv/uNHjVkfOfZRlMPi+JGuZ0Pp/DAr++wJw5Zs7emytwrUSbAAQYUKFl8KBU6hn cCM/G++j3WwoXm9NHUUgx6jFe7r3uJRv3BHPqx0pC3Pv5uh0/wcMR9P3Vf44C85tTAox yXGb4iyUMCrf+T3JWqijcSmXrxhY9L+xY0WNQ=
User-agent: KMail/1.13.5 (Linux/2.6.34; KDE/4.4.5; x86_64; ; )
> shows a jumper exists for "advanced format", but doesn't tell what it 
> does. I'll try to set or unset it depending on what it is now, and see 
> if there's a difference.

No, don't set the jumper.

Because DOS required the first head to be empty for some reason
and because allmost every geometry uses 63 sectors per track,
the first partition usually starts at sector 63. The jumper tells the
disk firmware to use a mapping so that the sectors fall in a 4096
boundary. (It uses either +1 or -7 offset). So, the OS thinks it writes
to sector 63 while it truly writes to sector 64 (or 56). Every sector
is transparently mapped using this offset.

This jumper exists to be used only with legacy OSes like Windows XP
and makes sense when there is only one primary partition which covers
the whole disk.

So, don't use the jumper in linux but align properly the partitions.
fdisk from util-linux-ng > 0.17 align on 1MB so everything will be fine.
If you use an older version then align the partitions manually.

WD EARS drives with 00Y model revision doesn't report the sector size
properly and only report 512 bytes. (Use hdparm to see it)
Those with 00Z revision report correctly that they have 4096 physical
sector size and 512 logical sector size.

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