From: Robin Hill <robin@robinhill.me.uk>
To: linux-raid@vger.kernel.org
Subject: Re: raid10 How do I tell what side of the mirror a disk is on?
Date: Sat, 30 Jan 2010 11:01:09 +0000 [thread overview]
Message-ID: <20100130110109.GA14000@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <1264777247.29409.64.camel@thor>
[-- Attachment #1: Type: text/plain, Size: 994 bytes --]
On Fri Jan 29, 2010 at 10:00:47AM -0500, Rick Bragg wrote:
> Another puzzle is with raid10, there are 2 used in a stripe, then that
> stripe is mirrored with the other 2. My question is how can I tell
> "what 2 disks can fail?" In other words, how can I tell for example if
> sda and b are stiped? and that c and d are a mirror of a and b? How can
> I see what is happening with that? Is there a way to tell?
>
Reading the RAID10 documentation (man md, or check Wikipedia), with
four disks the adjacent disks should always contain the same data. So
for sda, sdb, sdc, sdd (in that order in the array), you can lose one of
sda/sdb and one of sdc/sdd. This holds for any layout (near, far or
offset) with the default 2 copies.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2010-01-30 11:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-29 15:00 raid10 How do I tell what side of the mirror a disk is on? Rick Bragg
2010-01-29 23:50 ` Goswin von Brederlow
2010-01-30 0:13 ` Michał Sawicz
2010-01-30 7:22 ` Michael Evans
2010-01-30 14:09 ` Michał Sawicz
2010-01-30 11:01 ` Robin Hill [this message]
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=20100130110109.GA14000@cthulhu.home.robinhill.me.uk \
--to=robin@robinhill.me.uk \
--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).