linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@cse.unsw.edu.au>
To: cwebster@ec.rr.com
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: RE: Software RAID Stopped Working With Aurora Kernel
Date: Thu, 30 May 2002 09:16:26 +1000 (EST)	[thread overview]
Message-ID: <15605.24906.442772.449984@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from Calvin Webster on Wednesday May 29

On Wednesday May 29, cwebster@ec.rr.com wrote:
> > > "mdadm --examine /dev/sda1" shows "State : dirty, no-errors". All other
> > > RAID drives show the same.
> > >
> > > "lsraid -D -a /dev/md0" shows "state		= good".
> > All other RAID devices
> > > show the same.
> >
> > I have never looked at "lsraid".  My guess is that "good" is
> > equivalent to "no-errors" and that lsraid doesn't bother to report
> > "dirty".  This shouldn't relate to the filesystem superblock though...
> >  still, a fsck every few months is a good idea.
> 
> What made this observation noteworthy, however, was that it persisted even
> _after_ e2fsck was run on /dev/md0.

The raid "dirty" or "error" flags are completely separate from any
filesystem "dirty" or "error" flags.  So fsck will not affect the raid
flags.

The raid "dirty" flag simply means that the array has been started and
not yet stopped.  Either it is active or you had an unclean shutdown
and will need to regenerate redundancy.

The raid "error" flag is meaningless.  It is never set by anything,
and I cannot think of any use that it might be put to.  But it is
there is the definition of the superblock, or mdadm reports it.

NeilBrown

      reply	other threads:[~2002-05-29 23:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-19 23:38 Software RAID Stopped Working With Aurora Kernel Calvin Webster
2002-05-20 11:26 ` Neil Brown
2002-05-20 19:25   ` Cal Webster
2002-05-20 21:09     ` Neil Brown
2002-05-20 21:33       ` Calvin D. Webster
2002-05-21 11:24   ` Calvin D. Webster
2002-05-21 12:10     ` Neil Brown
2002-05-21 17:30       ` Cal Webster
2002-05-21 20:46         ` Neil Brown
2002-05-21 22:12           ` Calvin D. Webster
2002-05-21 23:51             ` Neil Brown
2002-05-22 12:00               ` Calvin D. Webster
2002-05-27  4:59                 ` Neil Brown
2002-05-29 13:07                   ` Calvin Webster
2002-05-29 23:16                     ` Neil Brown [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=15605.24906.442772.449984@notabene.cse.unsw.edu.au \
    --to=neilb@cse.unsw.edu.au \
    --cc=cwebster@ec.rr.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).