Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Michael Li <michael.li@netgear.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID10 status when you remove the first disk and last disk
Date: Wed, 21 Jul 2010 13:06:50 +1000	[thread overview]
Message-ID: <20100721130650.3b23b960@notabene> (raw)
In-Reply-To: <F03AFE7E8C7E644392BE79B102C8B5A50489FCD5@MAIL3.netgear.com>

On Tue, 20 Jul 2010 19:34:06 -0700
"Michael Li" <michael.li@netgear.com> wrote:

> Hi ,
> 
>  
> 
> I am using RAID10 far copy 2 by 4 disks, when I removed the first disk
> and last disk, I think this raid should be failed, but mdadm -D
> /dev/md2, I saw it was degraded, but when I try to read/write, there
> will be I/O error. And when I added the two disks again, the raid will
> be recovery, so that's normal? why it is designed like this?
> 
>  
> 
> Anyone know the detail about that? Thanks so much!
> 

Sounds like a bug.  You have definitely lost data if the first and last
devices of such an array go missing, so it should not try to recover a spare
in to either slot.

What kernel version are you using?

NeilBrown

       reply	other threads:[~2010-07-21  3:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F03AFE7E8C7E644392BE79B102C8B5A50489FCD5@MAIL3.netgear.com>
2010-07-21  3:06 ` Neil Brown [this message]
2010-07-21  5:36   ` RAID10 status when you remove the first disk and last disk Michael Li

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=20100721130650.3b23b960@notabene \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=michael.li@netgear.com \
    /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