* [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
@ 2005-11-23 15:21 Jesse, Rich
2005-11-23 15:37 ` Patrick Lauer
2005-11-23 15:40 ` Ewald Wasscher
0 siblings, 2 replies; 5+ messages in thread
From: Jesse, Rich @ 2005-11-23 15:21 UTC (permalink / raw
To: gentoo-server
Hey all,
I've got two RAID-0 sets (I know, I know, but they really are expendable
and it's my test box) but when I reboot, the RAID sets are not
reallocated. I've looked in /etc/init.d/mdadm and
/lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and
consequently the RAIDs aren't mounted. Here's the pertinent lines from
/etc/mdadm.conf:
#DEVICE /dev/sd*
#ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
#ARRAY /dev/md1 devices=/dev/sde,/dev/sdf
ARRAY /dev/md0 level=raid0 num-devices=4
UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a
ARRAY /dev/md1 level=raid0 num-devices=2
UUID=96ba9471:e161224f:6bac7812:23c3f914
I've tried the commented out lines first, but no autostart so I went
with the bottom ones, which are the output of "mdadm --examine --scan".
And still no autostart. Not that I really thought so, since there's no
"mdadm --assemble" found in the startup, but I'm still kinda green on
mdadm so I thought I'd try.
And Google hasn't really helped. The Gentoo Wiki's great for
installation and setup, but I wasn't able to find anything about this.
Thoughts? This must be really simple...
TIA,
Rich
--
gentoo-server@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
2005-11-23 15:21 Jesse, Rich
@ 2005-11-23 15:37 ` Patrick Lauer
2005-11-23 15:40 ` Ewald Wasscher
1 sibling, 0 replies; 5+ messages in thread
From: Patrick Lauer @ 2005-11-23 15:37 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
On Wed, 2005-11-23 at 09:21 -0600, Jesse, Rich wrote:
> Hey all,
>
> I've got two RAID-0 sets (I know, I know, but they really are expendable
> and it's my test box) but when I reboot, the RAID sets are not
> reallocated. I've looked in /etc/init.d/mdadm and
> /lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and
> consequently the RAIDs aren't mounted. Here's the pertinent lines from
> /etc/mdadm.conf:
>
> #DEVICE /dev/sd*
> #ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
> #ARRAY /dev/md1 devices=/dev/sde,/dev/sdf
> ARRAY /dev/md0 level=raid0 num-devices=4
> UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a
> ARRAY /dev/md1 level=raid0 num-devices=2
> UUID=96ba9471:e161224f:6bac7812:23c3f914
add a DEVICE line ...
mdadm will only use disks that are listed there, e.g.
DEVICE /dev/sd[abcd]1
[snip]
> And Google hasn't really helped. The Gentoo Wiki's great for
> installation and setup, but I wasn't able to find anything about this.
man mdadm / mdadm --help
> Thoughts? This must be really simple...
It usually is :-)
wkr,
Patrick
--
Stand still, and let the rest of the universe move
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
2005-11-23 15:21 Jesse, Rich
2005-11-23 15:37 ` Patrick Lauer
@ 2005-11-23 15:40 ` Ewald Wasscher
1 sibling, 0 replies; 5+ messages in thread
From: Ewald Wasscher @ 2005-11-23 15:40 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]
Jesse, Rich wrote:
> Hey all,
>
> I've got two RAID-0 sets (I know, I know, but they really are expendable
> and it's my test box) but when I reboot, the RAID sets are not
> reallocated. I've looked in /etc/init.d/mdadm and
> /lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and
> consequently the RAIDs aren't mounted. Here's the pertinent lines from
> /etc/mdadm.conf:
>
> #DEVICE /dev/sd*
> #ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
> #ARRAY /dev/md1 devices=/dev/sde,/dev/sdf
> ARRAY /dev/md0 level=raid0 num-devices=4
> UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a
> ARRAY /dev/md1 level=raid0 num-devices=2
> UUID=96ba9471:e161224f:6bac7812:23c3f914
>
> I've tried the commented out lines first, but no autostart so I went
> with the bottom ones, which are the output of "mdadm --examine --scan".
> And still no autostart. Not that I really thought so, since there's no
> "mdadm --assemble" found in the startup, but I'm still kinda green on
> mdadm so I thought I'd try.
>
> And Google hasn't really helped. The Gentoo Wiki's great for
> installation and setup, but I wasn't able to find anything about this.
>
> Thoughts? This must be really simple...
>
>
You do have raid0 compiled in your kernel or loaded as a kernel module,
do you? I forgot that once.
Ewald Wasscher
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 208 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
@ 2005-11-23 16:37 Jesse, Rich
0 siblings, 0 replies; 5+ messages in thread
From: Jesse, Rich @ 2005-11-23 16:37 UTC (permalink / raw
To: gentoo-server
Well yes, I had previously tried the lines that were commented out,
including the DEVICE statement as listed. And I had followed one of the
conventions given in mdadm.conf(5) -- using the "*" to wildcard the
devices. I had seen other examples on the net where an SA had used
multiple DEVICE statement to separate out the devices with their
respective ARRAYs, but there's no mention of that being needed in the
man pages of mdadm/mdadm.conf that I could find.
And I may be a little dense here, but I still don't see an "mdadm
--assemble" in the startup anywhere, so I'm a little confused as to how
this is supposed to happen. Rough being a raidtools kinda guy for all
those years... ;)
Thanks!
Rich
-----Original Message-----
From: Patrick Lauer [mailto:patrick@gentoo.org]
Sent: Wednesday, November 23, 2005 9:38 AM
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
On Wed, 2005-11-23 at 09:21 -0600, Jesse, Rich wrote:
> Hey all,
>
> I've got two RAID-0 sets (I know, I know, but they really are
expendable
> and it's my test box) but when I reboot, the RAID sets are not
> reallocated. I've looked in /etc/init.d/mdadm and
> /lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and
> consequently the RAIDs aren't mounted. Here's the pertinent lines
from
> /etc/mdadm.conf:
>
> #DEVICE /dev/sd*
> #ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
> #ARRAY /dev/md1 devices=/dev/sde,/dev/sdf
> ARRAY /dev/md0 level=raid0 num-devices=4
> UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a
> ARRAY /dev/md1 level=raid0 num-devices=2
> UUID=96ba9471:e161224f:6bac7812:23c3f914
add a DEVICE line ...
mdadm will only use disks that are listed there, e.g.
DEVICE /dev/sd[abcd]1
[snip]
> And Google hasn't really helped. The Gentoo Wiki's great for
> installation and setup, but I wasn't able to find anything about this.
man mdadm / mdadm --help
> Thoughts? This must be really simple...
It usually is :-)
wkr,
Patrick
--
Stand still, and let the rest of the universe move
--
gentoo-server@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
@ 2005-11-23 17:01 Jesse, Rich
0 siblings, 0 replies; 5+ messages in thread
From: Jesse, Rich @ 2005-11-23 17:01 UTC (permalink / raw
To: gentoo-server
Yep! I've been using the RAID sets for awhile, but I rebooted to get
sound (*that* I forgot in the kernel) and saw that they didn't come
back.
Thanks!
Rich
-----Original Message-----
From: Ewald Wasscher [mailto:ewald@wasscher.net]
Sent: Wednesday, November 23, 2005 9:40 AM
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
Jesse, Rich wrote:
> Hey all,
>
> I've got two RAID-0 sets (I know, I know, but they really are
expendable
> and it's my test box) but when I reboot, the RAID sets are not
> reallocated. I've looked in /etc/init.d/mdadm and
> /lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and
> consequently the RAIDs aren't mounted. Here's the pertinent lines
from
> /etc/mdadm.conf:
>
> #DEVICE /dev/sd*
> #ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
> #ARRAY /dev/md1 devices=/dev/sde,/dev/sdf
> ARRAY /dev/md0 level=raid0 num-devices=4
> UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a
> ARRAY /dev/md1 level=raid0 num-devices=2
> UUID=96ba9471:e161224f:6bac7812:23c3f914
>
> I've tried the commented out lines first, but no autostart so I went
> with the bottom ones, which are the output of "mdadm --examine
--scan".
> And still no autostart. Not that I really thought so, since there's
no
> "mdadm --assemble" found in the startup, but I'm still kinda green on
> mdadm so I thought I'd try.
>
> And Google hasn't really helped. The Gentoo Wiki's great for
> installation and setup, but I wasn't able to find anything about this.
>
> Thoughts? This must be really simple...
>
>
You do have raid0 compiled in your kernel or loaded as a kernel module,
do you? I forgot that once.
Ewald Wasscher
--
gentoo-server@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-23 17:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23 17:01 [gentoo-server] Auto allocating RAID sets on reboot w/mdadm Jesse, Rich
-- strict thread matches above, loose matches on Subject: below --
2005-11-23 16:37 Jesse, Rich
2005-11-23 15:21 Jesse, Rich
2005-11-23 15:37 ` Patrick Lauer
2005-11-23 15:40 ` Ewald Wasscher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox