mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Gooch <rgooch@ras.ucalgary.ca>
To: Mike Fedyk <mfedyk@matchmail.com>
Cc: Andreas Dilger <adilger@clusterfs.com>, linux-kernel@vger.kernel.org
Subject: Re: RAID superblock confusion
Date: Wed, 10 Apr 2002 15:39:09 -0600	[thread overview]
Message-ID: <200204102139.g3ALd9m15133@vindaloo.ras.ucalgary.ca> (raw)
In-Reply-To: <20020410213645.GE23513@matchmail.com>

Mike Fedyk writes:
> On Wed, Apr 10, 2002 at 02:37:48PM -0600, Richard Gooch wrote:
> > Andreas Dilger writes:
> > > On Apr 10, 2002  13:24 -0600, Richard Gooch wrote:
> > > > Andreas Dilger writes:
> > > > > On Apr 10, 2002  09:33 -0600, Richard Gooch wrote:
> > > > > > Even though I'm using persistent superblockss, which is supposed to
> > > > > > allow one to move devices from one controller to another, I can't
> > > > > > use my RAID) set in this configuration. Looks like a bug.
> > > > > > 
> > > > > > md0: former device scsi/host2/bus0/target1/lun0/part2 is unavailable,
> > > > > >      removing from array!
> > > > > > md: md0, array needs 6 disks, has 5, aborting.
> > > > > 
> > > > > Note that this appears to be your real problem.
> > > > 
> > > > No. I tested all 6 partitions used in the RAID set. They are all
> > > > available.
> > > 
> > > Well, MD seems to think it is unavailable...  I would check the
> > > codepath that generates this message and see why it is happening.
> > > Maybe it is a timing issue or something, that MD autostart is
> > > starting before this device is set up or something?  I don't know.
> > 
> > The device is set up (i.e. SCSI host driver is loaded) long before I
> > do raidstart /dev/md/0
> 
> But kernel auto-detection doesn't depend on the raidstart command.  If
> things are setup correctly, you can remove that from your init scripts.

I'm not (explicitely) using auto-detection. When I insmod the raid0
module, there are no messages about finding devices. All I get is:
md: raid0 personality registered as nr 2

Only when I run raidstart do I get kernel messages about the devices.

In any case, I should be able to move my devices around (especially
if /etc/raidtab is still correct), whether or not autostart is
running. The behaviour I'm observing is a bug (I assume it's not a
mis-feature, since the raidstart man page tells me that moving devices
around should be safe).

				Regards,

					Richard....
Permanent: rgooch@atnf.csiro.au
Current:   rgooch@ras.ucalgary.ca

  reply	other threads:[~2002-04-10 21:40 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 15:33 Richard Gooch
2002-04-10 18:40 ` Andreas Dilger
2002-04-10 19:24   ` Richard Gooch
2002-04-10 19:38     ` Andreas Dilger
2002-04-10 20:37       ` Richard Gooch
2002-04-10 21:36         ` Mike Fedyk
2002-04-10 21:39           ` Richard Gooch [this message]
2002-04-10 22:09             ` Mike Fedyk
2002-04-10 22:49               ` Richard Gooch
2002-04-10 23:36                 ` Mike Fedyk
2002-04-11 10:07                   ` Luigi Genoni
2002-04-13 19:29                     ` Richard Gooch
2002-04-13 23:55                       ` Mike Fedyk
2002-04-14  0:00                         ` Richard Gooch
2002-04-14  0:17                           ` Mike Fedyk
2002-04-11  1:38         ` Neil Brown
2002-04-11  2:41           ` Mike Fedyk
2002-04-11  6:42             ` Keith Owens
2002-04-11  8:37             ` Helge Hafting
2002-04-13 19:26           ` Richard Gooch
2002-04-18  1:54             ` Neil Brown
2002-04-18  2:10               ` Mike Fedyk
2002-04-18  2:23                 ` Neil Brown
2002-04-18  2:59                   ` Mike Fedyk
2002-04-18 14:49                   ` Richard Gooch
2002-04-19 13:42                     ` Luigi Genoni
2002-04-19 13:48                       ` Richard Gooch
2002-04-20  0:50                         ` Luigi Genoni
2002-04-11  3:18 Neil Brown
2002-04-11 10:19 ` Luigi Genoni
2002-04-11 20:18   ` Mike Fedyk
2002-04-18  3:05 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=200204102139.g3ALd9m15133@vindaloo.ras.ucalgary.ca \
    --to=rgooch@ras.ucalgary.ca \
    --cc=adilger@clusterfs.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mfedyk@matchmail.com \
    /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

all inboxes | Powered by JetHome®