linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Chris Fanning" <christopher.fanning@gmail.com>
To: linux-raid@vger.kernel.org
Subject: not resyncing after power cut.
Date: Mon, 21 May 2007 17:08:47 +0200	[thread overview]
Message-ID: <215ff4410705210808g779ba32dhee018f0bd81382d8@mail.gmail.com> (raw)

Hi,

I've got a couple of doubts.

Since more than a year ago I setup mdadm raid1 on new instalations
(thanks for your work).
On the older machines, mdadm -D shows them in a dirty state. I know
that this is/was as expected. If there is a power cut, the machine
boots and a dirty array is resynced, ¿right?

On newer installations, mdadm -D shows arrays in a clean state. I had
always thought that this was ok becuase I'd read somewhere that the
term 'dirty' was causing confusion and it got changed.
So, state: clean, is what I should expect?

Last week we had a power cut and when the machines booted all arrays
where brought up.
I'm running debian etch and got
INITRDSTART='all'
AUTOSTART="all"
Soon after one of the machines booted, I got users calling me saying
that documents were disappearing ar becoming corrupted. I looked at
cat /proc/mdstat and saw that nothing was being resynced.
I stopped the array, then removed and added one of the partitions to
resync it (could I have done the same using
/usr/share/mdadm/checkarray ?)
Then I ran fsck.ext3 on it (the /dev/md1) . it came back clean. so I
ran fsck.ext3 -f and got lots of errors. Anyway, things are back to
normal now.

So today I installed etch on a new box to try and learn more about this.
To test, I start copying onto the mdadm device and then hit the reset
button on the pc.
On boot, everything starts as normal. no resync, nothing.

Can someone shed some light on this for me please?
Does it have something to do with initramfs?

Thanks.
Chris.
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2007-05-21 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-21 15:08 Chris Fanning [this message]
2007-05-21 20:03 ` not resyncing after power cut thunder7
2007-05-22  9:10 ` Neil Brown
2007-05-22 10:21   ` Chris Fanning

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=215ff4410705210808g779ba32dhee018f0bd81382d8@mail.gmail.com \
    --to=christopher.fanning@gmail.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).