* udev and mdX where X > 0
@ 2005-05-13 8:16 Phil Dibowitz
2005-05-13 8:18 ` Marco d'Itri
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Phil Dibowitz @ 2005-05-13 8:16 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
This has been discussed previously on the list:
http://sourceforge.net/mailarchive/message.php?msg_id=8778276
But I'm not really clear on a solution here - how do I get udev to
create /dev/md1 for my second raid array.
I found a page that mentioned adding (in debian) the following to
/etc/udev/links.conf:
M md1 b 9 1
Which appears to work, but given the text at the top of the file:
# This file does not exist. Please do not ask the debian maintainer
about it.
# You may use it to do strange and wonderful things, at your risk.
This is probably not the "right" way to do it - not only is that file
Debian-specific (best I can tell), it's, I'm guessing, interpreted by a
script that writes out proper udev rules.
So what's the "right" way to tell udev "hey, I need md1, always" ?
Thanks,
--
Phil Dibowitz phil@ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: udev and mdX where X > 0
2005-05-13 8:16 udev and mdX where X > 0 Phil Dibowitz
@ 2005-05-13 8:18 ` Marco d'Itri
2005-05-13 8:38 ` Phil Dibowitz
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Marco d'Itri @ 2005-05-13 8:18 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
On May 13, Phil Dibowitz <phil@ipom.com> wrote:
> So what's the "right" way to tell udev "hey, I need md1, always" ?
Either use RAID devices autostart or fix the kernel driver.
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: udev and mdX where X > 0
2005-05-13 8:16 udev and mdX where X > 0 Phil Dibowitz
2005-05-13 8:18 ` Marco d'Itri
@ 2005-05-13 8:38 ` Phil Dibowitz
2005-05-13 8:55 ` Marco d'Itri
2005-05-14 10:11 ` Phil Dibowitz
3 siblings, 0 replies; 5+ messages in thread
From: Phil Dibowitz @ 2005-05-13 8:38 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 743 bytes --]
Marco d'Itri wrote:
> On May 13, Phil Dibowitz <phil@ipom.com> wrote:
>
>
>>So what's the "right" way to tell udev "hey, I need md1, always" ?
>
> Either use RAID devices autostart or fix the kernel driver.
What do you mean by "RAID devices autostart"? I'm using the in-kernel
autodetection... it finds my RAID devices just fine... but without the
aforementioned hack, it errors on /dev/md1 not existing.
--
Phil Dibowitz phil@ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: udev and mdX where X > 0
2005-05-13 8:16 udev and mdX where X > 0 Phil Dibowitz
2005-05-13 8:18 ` Marco d'Itri
2005-05-13 8:38 ` Phil Dibowitz
@ 2005-05-13 8:55 ` Marco d'Itri
2005-05-14 10:11 ` Phil Dibowitz
3 siblings, 0 replies; 5+ messages in thread
From: Marco d'Itri @ 2005-05-13 8:55 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
On May 13, Phil Dibowitz <phil@ipom.com> wrote:
> What do you mean by "RAID devices autostart"? I'm using the in-kernel
> autodetection... it finds my RAID devices just fine... but without the
I don't think so, or the devices would be created.
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: udev and mdX where X > 0
2005-05-13 8:16 udev and mdX where X > 0 Phil Dibowitz
` (2 preceding siblings ...)
2005-05-13 8:55 ` Marco d'Itri
@ 2005-05-14 10:11 ` Phil Dibowitz
3 siblings, 0 replies; 5+ messages in thread
From: Phil Dibowitz @ 2005-05-14 10:11 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
Marco d'Itri wrote:
> > What do you mean by "RAID devices autostart"? I"m using the
> > in-kernel autodetection... it finds my RAID devices just fine... but
> > without the
>
> I don"t think so, or the devices would be created.
Oh, I stand corrected - the raid-tools init scripts were doing it.
I started using auto-detection and the devices are created. Excellent.
Thanks.
--
Phil Dibowitz phil@ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-05-14 10:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-13 8:16 udev and mdX where X > 0 Phil Dibowitz
2005-05-13 8:18 ` Marco d'Itri
2005-05-13 8:38 ` Phil Dibowitz
2005-05-13 8:55 ` Marco d'Itri
2005-05-14 10:11 ` Phil Dibowitz
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).