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

Dharmesh Kamdar kamdard71 at yahoo.com
Wed Feb 27 18:48:10 UTC 2008


Hi,

Thanks for the reply. But since the "dm-X" is NOT
persistent, Red Hat recommends NOT to use that and
recommends to use /dev/mapper/mpathX instead as per
this article
http://kbase.redhat.com/faq/FAQ_96_11196.shtm

But specifying /dev/mapper/<ALIAS> did not work for
us.

Regards,
Dharmesh.


--- malahal at us.ibm.com wrote:

> 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
> > #-------------------------#
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping




More information about the dm-devel mailing list