From: Bob Glamm <glamm@a-s-i.com>
To: linux-raid@vger.kernel.org
Subject: Re: RAID migration from 2.4 -> 2.6
Date: Mon, 16 Aug 2004 17:35:41 -0500 [thread overview]
Message-ID: <20040816223541.GA1197@romulus.a-s-i.com> (raw)
In-Reply-To: <20040812152939.GD5326@romulus.a-s-i.com>
As a follow-up, I tried using md=10,/dev/sda1,/dev/sdf1 as a kernel
parameter. Still no luck:
Loading md10: /dev/sda1
could not lock sda1
md_import_device returned -6
could not lock sdf1
md_import_device returned -6
bug in file drivers/md/md.c, line 1513.
But apparently this error is misleading (-6 == ENXIO, no such device).
I traced the code all the way back to do_open in fs/block_dev.c
which is where it appears to be coming from.
I'm not sure why the devices can't be found: the Adaptec driver appears
to go through its initialization routines just fine and find all the
disks.
Anyone have any ideas here?
-Bob
> At the moment I'm stumped, so I wonder if someone might be able
> to give me a hand.
>
> First, my RAID setup: I have a pair of Adaptec 7899 controllers
> with five 9GB SCSI disks on each. The first disks on each controller
> are allocated in a RAID 1 configuration for boot, swap, /usr, etc.,
> while the next three disks on each controller are allocated in
> a RAID 5 configuration to our running services and data. The last
> disk on each controller is designated as a spare disk for each RAID.
>
> These RAIDs work well with 2.4. I've got them configured
> for autodetect, so the system brings them up at startup in 2.4.
>
> Now I'm trying to migrate to 2.6.7, and autodetection basically
> ignores all my SCSI disks. I get three lines:
>
> Autodetecting RAID arrays:
> .. autodetecting
> Done.
>
> when I try to boot 2.6.7. (Additional note: all SCSI controllers
> and disks are discovered just fine, although I am using the new
> Adaptec driver in 2.6.)
next prev parent reply other threads:[~2004-08-16 22:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-12 15:29 RAID migration from 2.4 -> 2.6 Bob Glamm
2004-08-12 18:51 ` Bernd Schubert
2004-08-16 22:35 ` Bob Glamm [this message]
2004-08-16 22:55 ` Michael Tokarev
2004-08-17 3:23 ` Bob Glamm
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=20040816223541.GA1197@romulus.a-s-i.com \
--to=glamm@a-s-i.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.