RE: Raw device mappings of multipath disks in RHEL5.4

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

 



Hi,

I've setup something similar with Oracle RAC which also requires raw
device mappings. For this I used both multipathing (which creates the
/dev/mapper/<file_names>), and rc.local (which provides the /dev/raw/
mappings to the /dev/mapper/ file names.

There's a very good how-to document on Oracle's Metalink site explaining
how to do this on rhel 5.

Regards,
Geoff.


-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of raj sourabh
Sent: Wednesday, 26 January 2011 8:27 a.m.
To: General Red Hat Linux discussion list
Subject: Re: Raw device mappings of multipath disks in RHEL5.4

Hi,

If the mapper device have been created suceesfully then you may try to
map
the raw devices on rc script (rc.local)

This worked for me. My rc.local looks like;


MAKEDEV raw

sleep 2

raw /dev/raw/raw1 /dev/mapper/mpath1p1
Hope this helps.


Regards,

Raj

On Tue, Jan 25, 2011 at 10:17 PM, Matty Sarro <msarro@xxxxxxxxx> wrote:

> 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.
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux