* [gentoo-user] software raid, mdadm is not finding disks
@ 2009-07-08 12:07 Dave
2009-07-08 13:35 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Dave @ 2009-07-08 12:07 UTC (permalink / raw
To: gentoo-user
Hello,
I'm a new user trying out Gentoo though not a new Linux user. I
wanted to try software raid1. I've got only one machine so this had to go in
to a virtual machine, i installed from the 2008 minimal iso image, the
install went fine, while chrooted /dev/md* devices were working fine, fdisk,
mke2fs, and software installs all worked fine. Upon reboot i'm seeing mdadm
trying to detect the two disks, and not succeeding, therefor unable to mount
/dev/md3 and i'm getting a kernel panic. The disks are /dev/sda and /dev/sdb
two scsi disks on a virtual LSI controller.
I then thought boot with the minimal iso again, which i did and
atempt to mount /dev/md3 manually. I'm getting an error that i must specify
the filesystem type and when i do type mdraid is unknown. Any help welcome.
Thanks.
Dave.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] software raid, mdadm is not finding disks
2009-07-08 12:07 [gentoo-user] software raid, mdadm is not finding disks Dave
@ 2009-07-08 13:35 ` Neil Bothwick
2009-07-08 21:12 ` Nick Pappin
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2009-07-08 13:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
On Wed, 8 Jul 2009 08:07:04 -0400, Dave wrote:
> Upon reboot i'm seeing mdadm
> trying to detect the two disks, and not succeeding,
Did you set the partition type to Linux RAID Autodetect (FD)?
--
Neil Bothwick
If at first you do succeed, try to hide your astonishment.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] software raid, mdadm is not finding disks
2009-07-08 13:35 ` Neil Bothwick
@ 2009-07-08 21:12 ` Nick Pappin
2009-07-09 19:44 ` Dave
0 siblings, 1 reply; 7+ messages in thread
From: Nick Pappin @ 2009-07-08 21:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 774 bytes --]
A couple of things when you reboot into the live cd you need to tell mdadm
to assemble the drive /dev/md3 with the command mdadm -A /dev/md3 /dev/sda3
/dev/sdb3. As for the booting problem i think it may be that you are missing
a driver did you put the md raid 1 driver into the kernel. Last Neil has a
point when you ran fdisk did you change the partition type to auto detect
raid.
--
W. Nick Pappin
On Wed, Jul 8, 2009 at 6:35 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 8 Jul 2009 08:07:04 -0400, Dave wrote:
>
> > Upon reboot i'm seeing mdadm
> > trying to detect the two disks, and not succeeding,
>
> Did you set the partition type to Linux RAID Autodetect (FD)?
>
>
> --
> Neil Bothwick
>
> If at first you do succeed, try to hide your astonishment.
>
[-- Attachment #2: Type: text/html, Size: 1159 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [gentoo-user] software raid, mdadm is not finding disks
2009-07-08 21:12 ` Nick Pappin
@ 2009-07-09 19:44 ` Dave
2009-07-09 19:58 ` Nick Pappin
0 siblings, 1 reply; 7+ messages in thread
From: Dave @ 2009-07-09 19:44 UTC (permalink / raw
To: gentoo-user
Hello,
Thanks for your reply. I did change the type of the partitions on
both disks to fd linux raid autodetect. When i rebooted in to the live CD i
gave it the mdadm -A /dev/md3 /dev/sda3 /dev/sdb3 it found both drives and
brought them up. I was then able to mount the array.
In my kernel config file i do have CONFIG_MD_RAID1 set to Y.
I've just tried compiling a genkernel and got the same error when i tried to
load it. Any suggestions welcome.
Thanks.
Dave.
-----Original Message-----
From: Nick Pappin [mailto:npappin@latahfcu.org]
Sent: Wednesday, July 08, 2009 5:12 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] software raid, mdadm is not finding disks
A couple of things when you reboot into the live cd you need to tell mdadm
to assemble the drive /dev/md3 with the command mdadm -A /dev/md3 /dev/sda3
/dev/sdb3. As for the booting problem i think it may be that you are missing
a driver did you put the md raid 1 driver into the kernel. Last Neil has a
point when you ran fdisk did you change the partition type to auto detect
raid.
--
W. Nick Pappin
On Wed, Jul 8, 2009 at 6:35 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
On Wed, 8 Jul 2009 08:07:04 -0400, Dave wrote:
> Upon reboot i'm seeing mdadm
> trying to detect the two disks, and not succeeding,
Did you set the partition type to Linux RAID Autodetect (FD)?
--
Neil Bothwick
If at first you do succeed, try to hide your astonishment.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] software raid, mdadm is not finding disks
2009-07-09 19:44 ` Dave
@ 2009-07-09 19:58 ` Nick Pappin
2009-07-10 2:03 ` Dave
0 siblings, 1 reply; 7+ messages in thread
From: Nick Pappin @ 2009-07-09 19:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]
Do you have the lsi fusion kernel driver installed?
--
W. Nick Pappin
On Thu, Jul 9, 2009 at 12:44 PM, Dave <dave.mehler@gmail.com> wrote:
> Hello,
> Thanks for your reply. I did change the type of the partitions on
> both disks to fd linux raid autodetect. When i rebooted in to the live CD i
> gave it the mdadm -A /dev/md3 /dev/sda3 /dev/sdb3 it found both drives and
> brought them up. I was then able to mount the array.
> In my kernel config file i do have CONFIG_MD_RAID1 set to Y.
> I've just tried compiling a genkernel and got the same error when i tried
> to
> load it. Any suggestions welcome.
> Thanks.
> Dave.
>
> -----Original Message-----
> From: Nick Pappin [mailto:npappin@latahfcu.org]
> Sent: Wednesday, July 08, 2009 5:12 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] software raid, mdadm is not finding disks
>
> A couple of things when you reboot into the live cd you need to tell mdadm
> to assemble the drive /dev/md3 with the command mdadm -A /dev/md3 /dev/sda3
> /dev/sdb3. As for the booting problem i think it may be that you are
> missing
> a driver did you put the md raid 1 driver into the kernel. Last Neil has a
> point when you ran fdisk did you change the partition type to auto detect
> raid.
>
> --
> W. Nick Pappin
>
>
> On Wed, Jul 8, 2009 at 6:35 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
>
>
> On Wed, 8 Jul 2009 08:07:04 -0400, Dave wrote:
>
> > Upon reboot i'm seeing mdadm
> > trying to detect the two disks, and not succeeding,
>
>
> Did you set the partition type to Linux RAID Autodetect (FD)?
>
>
> --
> Neil Bothwick
>
> If at first you do succeed, try to hide your astonishment.
>
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2410 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [gentoo-user] software raid, mdadm is not finding disks
2009-07-09 19:58 ` Nick Pappin
@ 2009-07-10 2:03 ` Dave
2009-07-10 17:07 ` Nick Pappin
0 siblings, 1 reply; 7+ messages in thread
From: Dave @ 2009-07-10 2:03 UTC (permalink / raw
To: gentoo-user
Hello,
I had the LSI driver loading as a module. I recompiled the kernel
and made it monolithic, put in the raid and other drivers in that way and
rebooted. It is working!
That also explains another unrelated issue.
Thanks a lot.
Dave.
-----Original Message-----
From: Nick Pappin [mailto:npappin@latahfcu.org]
Sent: Thursday, July 09, 2009 3:58 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] software raid, mdadm is not finding disks
Do you have the lsi fusion kernel driver installed?
--
W. Nick Pappin
On Thu, Jul 9, 2009 at 12:44 PM, Dave <dave.mehler@gmail.com> wrote:
Hello,
Thanks for your reply. I did change the type of the
partitions on
both disks to fd linux raid autodetect. When i rebooted in to the
live CD i
gave it the mdadm -A /dev/md3 /dev/sda3 /dev/sdb3 it found both
drives and
brought them up. I was then able to mount the array.
In my kernel config file i do have CONFIG_MD_RAID1 set to Y.
I've just tried compiling a genkernel and got the same error when i
tried to
load it. Any suggestions welcome.
Thanks.
Dave.
-----Original Message-----
From: Nick Pappin [mailto:npappin@latahfcu.org]
Sent: Wednesday, July 08, 2009 5:12 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] software raid, mdadm is not finding disks
A couple of things when you reboot into the live cd you need to tell
mdadm
to assemble the drive /dev/md3 with the command mdadm -A /dev/md3
/dev/sda3
/dev/sdb3. As for the booting problem i think it may be that you are
missing
a driver did you put the md raid 1 driver into the kernel. Last Neil
has a
point when you ran fdisk did you change the partition type to auto
detect
raid.
--
W. Nick Pappin
On Wed, Jul 8, 2009 at 6:35 AM, Neil Bothwick <neil@digimed.co.uk>
wrote:
On Wed, 8 Jul 2009 08:07:04 -0400, Dave wrote:
> Upon reboot i'm seeing mdadm
> trying to detect the two disks, and not succeeding,
Did you set the partition type to Linux RAID Autodetect (FD)?
--
Neil Bothwick
If at first you do succeed, try to hide your astonishment.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] software raid, mdadm is not finding disks
2009-07-10 2:03 ` Dave
@ 2009-07-10 17:07 ` Nick Pappin
0 siblings, 0 replies; 7+ messages in thread
From: Nick Pappin @ 2009-07-10 17:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2592 bytes --]
Not a problem
--
W. Nick Pappin
On Thu, Jul 9, 2009 at 7:03 PM, Dave <dave.mehler@gmail.com> wrote:
> Hello,
> I had the LSI driver loading as a module. I recompiled the kernel
> and made it monolithic, put in the raid and other drivers in that way and
> rebooted. It is working!
> That also explains another unrelated issue.
> Thanks a lot.
> Dave.
>
>
> -----Original Message-----
> From: Nick Pappin [mailto:npappin@latahfcu.org]
> Sent: Thursday, July 09, 2009 3:58 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] software raid, mdadm is not finding disks
>
> Do you have the lsi fusion kernel driver installed?
>
> --
> W. Nick Pappin
>
>
> On Thu, Jul 9, 2009 at 12:44 PM, Dave <dave.mehler@gmail.com> wrote:
>
>
> Hello,
> Thanks for your reply. I did change the type of the
> partitions on
> both disks to fd linux raid autodetect. When i rebooted in to the
> live CD i
> gave it the mdadm -A /dev/md3 /dev/sda3 /dev/sdb3 it found both
> drives and
> brought them up. I was then able to mount the array.
> In my kernel config file i do have CONFIG_MD_RAID1 set to Y.
> I've just tried compiling a genkernel and got the same error when i
> tried to
> load it. Any suggestions welcome.
> Thanks.
> Dave.
>
>
> -----Original Message-----
> From: Nick Pappin [mailto:npappin@latahfcu.org]
> Sent: Wednesday, July 08, 2009 5:12 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] software raid, mdadm is not finding disks
>
> A couple of things when you reboot into the live cd you need to tell
> mdadm
> to assemble the drive /dev/md3 with the command mdadm -A /dev/md3
> /dev/sda3
> /dev/sdb3. As for the booting problem i think it may be that you are
> missing
> a driver did you put the md raid 1 driver into the kernel. Last Neil
> has a
> point when you ran fdisk did you change the partition type to auto
> detect
> raid.
>
> --
> W. Nick Pappin
>
>
> On Wed, Jul 8, 2009 at 6:35 AM, Neil Bothwick <neil@digimed.co.uk>
> wrote:
>
>
> On Wed, 8 Jul 2009 08:07:04 -0400, Dave wrote:
>
> > Upon reboot i'm seeing mdadm
> > trying to detect the two disks, and not succeeding,
>
>
> Did you set the partition type to Linux RAID Autodetect (FD)?
>
>
> --
> Neil Bothwick
>
> If at first you do succeed, try to hide your astonishment.
>
>
>
>
>
>
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3570 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-10 17:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-08 12:07 [gentoo-user] software raid, mdadm is not finding disks Dave
2009-07-08 13:35 ` Neil Bothwick
2009-07-08 21:12 ` Nick Pappin
2009-07-09 19:44 ` Dave
2009-07-09 19:58 ` Nick Pappin
2009-07-10 2:03 ` Dave
2009-07-10 17:07 ` Nick Pappin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox