Linux RAID subsystem development
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: lrhorer@satx.rr.com
Cc: 'Roman Mamedov' <rm@romanrm.ru>, linux-raid@vger.kernel.org
Subject: Re: Backup Server RAID Array Event Notification
Date: Fri, 10 Jun 2011 07:14:41 +1000	[thread overview]
Message-ID: <20110610071441.796e5f78@notabene.brown> (raw)
In-Reply-To: <12.BD.20202.F8811FD4@cdptpa-omtalb.mail.rr.com>

On Thu, 9 Jun 2011 14:01:34 -0500 "Leslie Rhorer" <lrhorer@satx.rr.com> wrote:

> > -----Original Message-----
> > From: Roman Mamedov [mailto:rm@romanrm.ru]
> > Sent: Thursday, June 09, 2011 1:47 PM
> > To: lrhorer@satx.rr.com
> > Cc: linux-raid@vger.kernel.org
> > Subject: Re: Backup Server RAID Array Event Notification
> > 
> > On Thu, 9 Jun 2011 13:35:59 -0500
> > "Leslie Rhorer" <lrhorer@satx.rr.com> wrote:
> > 
> > >
> > > 	After I created a pair of two member RAID1 arrays and then added
> > > them as members to a RAID6 array, I am now getting messages similar to
> > the
> > > following, complaining of "Wrong-level" issues.  When I check the RAID6
> > > array, however, it is clean and both RAID1 members are still there.
> > When I
> > > check both RAID1 arrays, they show clean with no events.  I am running a
> > > compare between all the data on this machine and its mirror (this is a
> > > backup machine).  So far everything looks good.  What does this imply?
> > Is
> > > there something about which I should be worried?
> > 
> > You said RAID1 twice, and your mdadm --detail doesn't agree with you and
> > says
> > "raid0" twice. Maybe you mistakenly used RAID1 instead of RAID0 somewhere
> > else as well, and the WrongLevel message is trying to tell you that?
> 
> 	No, that was just a typo.  (OK, three typos) I meant "RAID0".  The
> RAID0 members are all 1T drives.  The RAID6 array is made of 1.5T members.
> In order to use the 1T drives on the RAID6 array, I have to combine them
> into 2T arrays, which then can be used as members of the RAID6 array.  If
> md10 and md11 were RAID1 arrays, they would only be 1T in extent, and could
> not be members of md0.
> 

"mdadm --monitor" does not monitor RAID0 or Linear arrays.  There is nothing
to see.  Nothing can fail, they don't rebuilt, they are really just AID, not
RAID.

So if it thinks that it was asked to monitor a RAID0 it pretends that it has
disappeared with reason "Wrong Level".
So if you explicitly ask it to monitor a RAID0, it won't and it will tell you
why.

If you only implicitly ask with e.g. "mdadm --monitor --scan" with a RAID0
listing in mdadm.conf it probably shouldn't give the message as it might be
confusing... but it does.
Or maybe the message is just confusing and I should change it.

Or something.

NeilBrown

  reply	other threads:[~2011-06-09 21:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 18:35 FW: Backup Server RAID Array Event Notification Leslie Rhorer
2011-06-09 18:46 ` Roman Mamedov
2011-06-09 19:01   ` Leslie Rhorer
2011-06-09 21:14     ` NeilBrown [this message]
2011-06-10  1:10       ` Leslie Rhorer
2011-06-10 17:32         ` Leslie Rhorer

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=20110610071441.796e5f78@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=lrhorer@satx.rr.com \
    --cc=rm@romanrm.ru \
    /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