linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Craig Hollabaugh <craig@hollabaugh.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>, Neil Brown <neilb@suse.de>,
	linux-raid@vger.kernel.org
Subject: Re: RAID5 kicks non-fresh drives
Date: Fri, 26 May 2006 11:49:07 -0600	[thread overview]
Message-ID: <1148665748.2836.40.camel@hendrix.hollabaugh.com> (raw)
In-Reply-To: <44773BAC.9090002@tmr.com>

Mikael and others,
I forgot to answer your question from a previous post. Yes, if I had
received a warning in dmesg, I would have spotted this problem. Or at
least been pointed to something to research. When I switched to the
newest kernel, I didn't even get the kicking non-fresh message, just a
list of added drives. The lack of information got me even more
concerned. 

From a user perspective, here's where the disconnect occurred for me.
After the re-sync and my array was stable running with a spare, I could
start it and stop it, mount it and unmount it without any issues. Whew,
things are looking good, my data is safe. I thought everything was good
to go. I reboot the machine and my array comes up degraded. mdadm -D
reports something completely different than what it reported before the
reboot. dmesg gives little clues about kernel raid build process. 

The disconnect for me occurs between mdadm assembling the array from
userspace and the kernel auto-detecting, binding and running. I was
under the impression that mdadm and the kernel assemble arrays in the
same fashion. In my situation where my new drive's partition types were
different, that's not quite true. 

Thanks for the help.
Craig
ps. I'm old-school here, none of my 10+ Linux hosts run logwatch, dmesg
is fine for me.



On Fri, 2006-05-26 at 13:32 -0400, Bill Davidsen wrote:
> Mikael Abrahamsson wrote:
> 
> > On Thu, 25 May 2006, Craig Hollabaugh wrote:
> >
> >> That did it! I set the partition FS Types from 'Linux' to 'Linux raid 
> >> autodetect' after my last re-sync completed. Manually stopped and 
> >> started the array. Things looked good, so I crossed my fingers and 
> >> rebooted. The kernel found all the drives and all is happy here in 
> >> Colorado.
> >
> >
> > Would it make sense for the raid code to somehow warn in the log when 
> > a device in a raid set doesn't have "Linux raid autodetect" partition 
> > type? If this was in "dmesg", would you have spotted the problem before?
> >
> As long as it is written where logwatch will see it, not recognize it, 
> and report it... People who don't read their logwatch reports get no 
> sympathy from me.
> 
-- 
------------------------------------------------------------
Dr. Craig Hollabaugh, craig@hollabaugh.com, 970 240 0509
Author of Embedded Linux: Hardware, Software and Interfacing
www.embeddedlinuxinterfacing.com


  reply	other threads:[~2006-05-26 17:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 15:38 RAID5 kicks non-fresh drives Craig Hollabaugh
2006-05-25 21:18 ` Neil Brown
2006-05-25 21:39   ` Craig Hollabaugh
2006-05-25 22:30   ` Craig Hollabaugh
2006-05-26  7:57     ` Mikael Abrahamsson
2006-05-26 14:11       ` Craig Hollabaugh
2006-05-26 16:45         ` Mark Hahn
2006-05-26 17:06           ` Craig Hollabaugh
2006-05-26 17:30             ` Mark Hahn
2006-05-26 18:01               ` Craig Hollabaugh
2006-05-26 18:38             ` Luca Berra
2006-05-26 19:37               ` Mark Hahn
2006-05-27 12:21                 ` Luca Berra
2006-05-29  4:34           ` Neil Brown
2006-05-26 17:32       ` Bill Davidsen
2006-05-26 17:49         ` Craig Hollabaugh [this message]
2006-05-29  5:20       ` Neil Brown

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=1148665748.2836.40.camel@hendrix.hollabaugh.com \
    --to=craig@hollabaugh.com \
    --cc=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=swmike@swm.pp.se \
    /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).