From: Bill Davidsen <davidsen@tmr.com>
To: linux-raid@vger.kernel.org
Subject: Re: Raid-10 mount at startup always has problem
Date: Mon, 29 Oct 2007 09:22:51 -0400 [thread overview]
Message-ID: <4725DEAB.4050507@tmr.com> (raw)
In-Reply-To: <20071029074139.GA15475@percy.comedia.it>
Luca Berra wrote:
> On Sun, Oct 28, 2007 at 08:21:34PM -0400, Bill Davidsen wrote:
>>> Because you didn't stripe align the partition, your bad.
>>>
>> Align to /what/ stripe? Hardware (CHS is fiction), software (of the RAID
> the real stripe (track) size of the storage, you must read the manual
> and/or bug technical support for that info.
That's my point, there *is* no "real stripe (track) size of the storage"
because modern drives use zone bit recording, and sectors per track
depends on track, and changes within a partition. See
http://www.dewassoc.com/kbase/hard_drives/hard_disk_sector_structures.htm
http://www.storagereview.com/guide2000/ref/hdd/op/mediaTracks.html
>> you're about to create), or ??? I don't notice my FC6 or FC7 install
>> programs using any special partition location to start, I have only
>> run (tried to run) FC8-test3 for the live CD, so I can't say what it
>> might do. CentOS4 didn't do anything obvious, either, so unless I
>> really misunderstand your position at redhat, that would be your
>> bad. ;-)
>>
>> If you mean start a partition on a pseudo-CHS boundary, fdisk seems
>> to use what it thinks are cylinders for that.
> Yes, fdisk will create partition at sector 63 (due to CHS being
> braindead,
> other than fictional: 63 sectors-per-track)
> most arrays use 64 or 128 spt, and array cache are aligned accordingly.
> So 63 is almost always the wrong choice.
As the above links show, there's no right choice.
>
> for the default choice you must consider what spt your array uses, iirc
> (this is from memory, so double check these figures)
> IBM 64 spt (i think)
> EMC DMX 64
> EMC CX 128???
> HDS (and HP XP) except OPEN-V 96
> HDS (and HP XP) OPEN-V 128
> HP EVA 4/6/8 with XCS 5.x state that no alignment is needed even if i
> never found a technical explanation about that.
> previous HP EVA versions did (maybe 64).
> you might then want to consider how data is laid out on the storage, but
> i believe the storage cache is enough to deal with that issue.
>
> Please note that "0" is always well aligned.
>
> Note to people who is now wondering WTH i am talking about.
>
> consider a storage with 64 spt, an io size of 4k and partition starting
> at sector 63.
> first io request will require two ios from the storage (1 for sector 63,
> and one for sectors 64 to 70)
> the next 7 io (71-78,79-86,97-94,95-102,103-110,111-118,119-126) will be
> on the same track
> the 8th will again require to be split, and so on.
> this causes the storage to do 1 unnecessary io every 8. YMMV.
No one makes drives with fixed spt any more. Your assumptions are a
decade out of date.
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
next prev parent reply other threads:[~2007-10-29 13:22 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-27 18:14 Raid-10 mount at startup always has problem Daniel L. Miller
[not found] ` <46D49F1A.7030409@tmr.com>
2007-09-10 1:53 ` Daniel L. Miller
2007-09-10 2:04 ` Richard Scobie
[not found] ` <46E4A5F0.9090407@sauce.co.nz>
2007-09-10 2:11 ` Daniel L. Miller
2007-10-24 14:22 ` Daniel L. Miller
2007-10-24 16:25 ` Doug Ledford
2007-10-24 20:01 ` Bill Davidsen
2007-10-25 5:43 ` Daniel L. Miller
2007-10-25 6:40 ` Doug Ledford
2007-10-26 9:15 ` Luca Berra
2007-10-26 16:53 ` Gabor Gombas
2007-10-27 7:57 ` Luca Berra
2007-10-26 19:26 ` Doug Ledford
2007-10-27 7:50 ` Luca Berra
2007-10-27 15:07 ` Gabor Gombas
2007-10-27 20:47 ` Doug Ledford
2007-10-28 13:37 ` Luca Berra
2007-10-28 17:55 ` Doug Ledford
2007-10-29 0:21 ` Bill Davidsen
2007-10-29 7:41 ` Luca Berra
2007-10-29 13:22 ` Bill Davidsen [this message]
2007-10-29 15:21 ` Doug Ledford
2007-10-29 15:54 ` Gabor Gombas
2007-10-29 14:31 ` Doug Ledford
2007-10-29 5:59 ` Daniel L. Miller
2007-10-29 8:18 ` Luca Berra
2007-10-29 15:47 ` Doug Ledford
2007-10-29 21:29 ` Luca Berra
2007-10-29 23:15 ` Doug Ledford
2007-10-30 0:03 ` Daniel L. Miller
2007-11-01 13:56 ` Bill Davidsen
2007-12-17 14:58 ` Daniel L. Miller
2007-10-29 17:08 ` Doug Ledford
2007-10-29 18:56 ` Richard Scobie
2007-10-25 6:12 ` Neil Brown
2007-10-25 6:51 ` Doug Ledford
2007-10-25 13:13 ` Daniel L. Miller
2007-10-25 13:33 ` Daniel L. Miller
2007-10-26 6:12 ` Neil Brown
2007-10-25 14:46 ` Bill Davidsen
2007-10-25 16:13 ` Daniel L. Miller
2007-10-26 5:59 ` Neil Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4725DEAB.4050507@tmr.com \
--to=davidsen@tmr.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).