Raw device mappings of multipath disks in RHEL5.4

Matty Sarro msarro at gmail.com
Tue Jan 25 18:17:18 UTC 2011


Hey everyone. I am trying to run Oracle ORION, which requires that we
provide raw disk mappings for it to run. This is to perform a SAN
evaluation.
I have created /dev/raw/.
I have edited the /etc/udev/rules.d/60-raw.rules file trying the
following configurations:

ACTION=="add", KERNEL="/dev/mpath/mpath0",RUN+="/bin/raw /dev/raw/raw0 %N"
ACTION=="add", KERNEL="/dev/mpath/mpath1",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL="/dev/mpath/mpath2",RUN+="/bin/raw /dev/raw/raw2 %N"

ACTION=="add", KERNEL="/dev/mapper/mpath0",RUN+="/bin/raw /dev/raw/raw0 %N"
ACTION=="add", KERNEL="/dev/mapper/mpath1",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL="/dev/mapper/mpath2",RUN+="/bin/raw /dev/raw/raw2 %N"

ACTION=="add", KERNEL="/dev/dm-0",RUN+="/bin/raw /dev/raw/raw0 %N"
ACTION=="add", KERNEL="/dev/dm-1",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL="/dev/dm-2",RUN+="/bin/raw /dev/raw/raw2 %N"

None of them work. After adding them, I run /sbin/start_udev.
Running raw -qa displays nothing.

Has anyone tried this? Any advice? I've managed to get ORION running
in a handicapped fashion but it dies after the first volley of tests.
Still some usable data, but it can't do any of the large writes.




More information about the redhat-list mailing list