linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* not resyncing after power cut.
@ 2007-05-21 15:08 Chris Fanning
  2007-05-21 20:03 ` thunder7
  2007-05-22  9:10 ` Neil Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Fanning @ 2007-05-21 15:08 UTC (permalink / raw)
  To: linux-raid

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-22 10:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21 15:08 not resyncing after power cut Chris Fanning
2007-05-21 20:03 ` thunder7
2007-05-22  9:10 ` Neil Brown
2007-05-22 10:21   ` Chris Fanning

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).