Re: /dev/md* Device Files

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

 



On Wednesday January 26, sawitt@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
> > A useful trick I discovered yesterday: Add --auto to your mdadm commandline
> > and it will create the device for you if it is missing :)
> >
> 
> Well, it seems that this machine is using the udev scheme for managing 
> device files. I didn't realize this as udev is new to me, but I probably 
> should have mentioned the kernel version (2.6.8) I was using. So I need to 
> research udev and how one causes devices to be created, etc.

Beware.... udev has an understanding of how device files are meant to
work which is quite different from how md actually works.

udev thinks that devices should appear in /dev after the device is
actually known to exist in the kernel.  md needs a device to exist in
/dev before the kernel can be told that it exists.

This is one of the reasons that --auto was added to mdadm - to bypass
udev.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux