[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mdadm+udev needs testing!

On Sun, May 22, 2005 at 11:47:07AM +0200, martin f krafft wrote:
> also sprach Andreas Gredler <jimmy@g-tec.co.at> [2005.05.22.1052 +0200]:
> > brw-rw----  1 root disk 9,  2 May 22 10:31 /dev/md2
> > brw-r--r--  1 root root 9, 20 May 22 10:31 /dev/md20
> > 
> > I'm not sure why some devices are group root.
> Only devices with minors up to and including 15 are created by
> MAKEDEV. I have no idea where your other devices are coming from.
> This should not be a problem though.


> Nevertheless, are you using udev? If yes, then this *is* weird. If
> not, then you can probably delete the device nodes /dev/md16 and up,
> or chown/chmod them, depending on how many software RAID devices you
> need.

Yes, of course udev, because the bugs are udev-related, too :-)
In debian/mdrun you are creating devices with mdrun. There's one sed
script, which parses partitions but there's also a for loop for mknod:
0-24. I thinks that's the reason for 24 md devices :-) 

> Thanks for your time!

No problem, I need a good mdadm package ;-)

greets Jimmy

                 Andreas "Jimmy" Gredler 
   ,'"`.         http://www.g-tec.co.at/ | jimmy@g-tec.co.at
  (  grml.org -» Linux for texttool-users and sysadmins
   `._,          http://www.grml.org/    | jimmy@grml.org

Reply to: