[dm-devel] UDEV with DM-MULTIPATH issue in RHEL 5.1....

malahal at us.ibm.com malahal at us.ibm.com
Wed Feb 27 18:28:03 UTC 2008


The kernel names of DM devices show up as /dev/dm-X where X is some
integer. The /dev/mapper/XXX are created by the DM/MULTIPATH software
without any help from udev as far as I know.

So, use dm-X pattern instead. It may work.

--Malahal.

Dharmesh Kamdar [kamdard71 at yahoo.com] wrote:
> Hi,
> 
> The UDEV rules are as follows:
> /etc/udev/rules.d/51-oracle-raw.rules
> ACTION=="add", KERNEL="/dev/mpath/OCR1p1",
> RUN+="/bin/raw /dev/raw/rawX %N"
> ACTION=="add", KERNEL="/dev/mpath/OCR2p1",
> RUN+="/bin/raw /dev/raw/rawX %N"
> ACTION=="add", KERNEL="/dev/mpath/VOTE1p1",
> RUN+="/bin/raw /dev/raw/rawX %N"
> ACTION=="add", KERNEL="/dev/mpath/VOTE2p1",
> RUN+="/bin/raw /dev/raw/rawX %N"
> ACTION=="add", KERNEL="/dev/mpath/VOTE3p1",
> RUN+="/bin/raw /dev/raw/rawX %N"
> ~                                                     
> 2) /etc/udev/rules.d/99-raw.rules
> #-------------------------#




More information about the dm-devel mailing list