mapper device perms on reboot
How can I get the mapper device permissions set on reboot?
When I attempted to try this...
# cat /etc/udev/permissions.d/50-udev.permissions | grep mapper mapper/mpath*:oracle:dba:0660
But it did not seem to work...
# ls -l /dev/mapper/mpath* brw-rw---- 1 root disk 253, 2 Feb 26 20:56 /dev/mapper/mpath0 brw-rw---- 1 root disk 253, 5 Feb 26 20:56 /dev/mapper/mpath0p1 brw-rw---- 1 root disk 253, 3 Feb 26 20:56 /dev/mapper/mpath1 brw-rw---- 1 root disk 253, 4 Feb 26 20:56 /dev/mapper/mpath1p1
Am I doing something wrong? Is there another way to do this?
Thanks,
Scott
Hi Scott,
This weblink may help -->
http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/
I've not tried this, but the author of the article claims that it works..
We are also facing similar issue(s) with Oracle and RHEL 5.1 using UDEV/Device-mapper..I've also posted a query on the same
(https://www.redhat.com/archives/dm-devel/2008-February/msg00201.html)
...But it just discusses the changing of permissions, however creation of raw devices using UDEV is not specified, hence we are still looking for that answer.
Hope it helps somewhat.
Let us know.
Regards,
Dharmesh.
Quoted 24 lines · --- Scott Moseman
How can I get the mapper device permissions set on reboot?
When I attempted to try this...
# cat /etc/udev/permissions.d/50-udev.permissions | grep mapper mapper/mpath*:oracle:dba:0660But it did not seem to work...
# ls -l /dev/mapper/mpath* brw-rw---- 1 root disk 253, 2 Feb 26 20:56 /dev/mapper/mpath0 brw-rw---- 1 root disk 253, 5 Feb 26 20:56 /dev/mapper/mpath0p1 brw-rw---- 1 root disk 253, 3 Feb 26 20:56 /dev/mapper/mpath1 brw-rw---- 1 root disk 253, 4 Feb 26 20:56 /dev/mapper/mpath1p1Am I doing something wrong? Is there another way to do this?
Quoted 8 lines
Thanks,
Scott--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Thanks for the info. Our problem has been isolated as lack of direct i/o support on our Red Hat box. The problem does not appear to be MPIO related, at least not from what Oracle support is telling me. So now I'm off to deal with Red Hat support to see how they counter.
Thanks,
Scott
Quoted 53 lines · Dharmesh Kamdar
Hi Scott,
This weblink may help -->
http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/
I've not tried this, but the author of the article claims that it works..We are also facing similar issue(s) with Oracle and RHEL 5.1 using UDEV/Device-mapper..I've also posted a query on the same
(https://www.redhat.com/archives/dm-devel/2008-February/msg00201.html)
...But it just discusses the changing of permissions, however creation of raw devices using UDEV is not specified, hence we are still looking for that answer.Hope it helps somewhat.
Let us know.
Regards,
Dharmesh.Quoted 27 lines · --- Scott Moseman
How can I get the mapper device permissions set on reboot?
When I attempted to try this...
# cat /etc/udev/permissions.d/50-udev.permissions | grep mapper mapper/mpath*:oracle:dba:0660But it did not seem to work...
# ls -l /dev/mapper/mpath* brw-rw---- 1 root disk 253, 2 Feb 26 20:56 /dev/mapper/mpath0 brw-rw---- 1 root disk 253, 5 Feb 26 20:56 /dev/mapper/mpath0p1 brw-rw---- 1 root disk 253, 3 Feb 26 20:56 /dev/mapper/mpath1 brw-rw---- 1 root disk 253, 4 Feb 26 20:56 /dev/mapper/mpath1p1Am I doing something wrong? Is there another way to do this?
Thanks,
Scott
Actually I need to take that back now. The direct i/o support works fine on local disks and even my iSCSI SAN connections direct through an HBA or NIC. But it's when I try to access them via multipath devices they fail and have the i/o errors. I updated my ticket with Red Hat, but so far they're not coming back with anything at all.
Thanks,
Scott
Quoted 65 lines · Scott Moseman
Thanks for the info. Our problem has been isolated as lack of direct
i/o support on our Red Hat box. The problem does not appear to be MPIO related, at least not from what Oracle support is telling me. So now I'm off to deal with Red Hat support to see how they counter.Thanks,
ScottQuoted 53 lines · Dharmesh Kamdar
Hi Scott,
This weblink may help -->
http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/
I've not tried this, but the author of the article claims that it works..We are also facing similar issue(s) with Oracle and RHEL 5.1 using UDEV/Device-mapper..I've also posted a query on the same
(https://www.redhat.com/archives/dm-devel/2008-February/msg00201.html)
...But it just discusses the changing of permissions, however creation of raw devices using UDEV is not specified, hence we are still looking for that answer.Hope it helps somewhat.
Let us know.
Regards,
Dharmesh.Quoted 27 lines · --- Scott Moseman
How can I get the mapper device permissions set on reboot?
When I attempted to try this...
# cat /etc/udev/permissions.d/50-udev.permissions | grep mapper mapper/mpath*:oracle:dba:0660But it did not seem to work...
# ls -l /dev/mapper/mpath* brw-rw---- 1 root disk 253, 2 Feb 26 20:56 /dev/mapper/mpath0 brw-rw---- 1 root disk 253, 5 Feb 26 20:56 /dev/mapper/mpath0p1 brw-rw---- 1 root disk 253, 3 Feb 26 20:56 /dev/mapper/mpath1 brw-rw---- 1 root disk 253, 4 Feb 26 20:56 /dev/mapper/mpath1p1Am I doing something wrong? Is there another way to do this?
Thanks,
Scott
I removed the multipath, rebooted, made successful tests the HBA and NIC, reinstalled multipath, rebooted and this time the I/O works fine!
After my initial multipath install, I partitioned, formated and
mounted the LUNs to verify they were working. I think that must've caused some kind of corruption that would not allow them to work with my Oracle installation until they were reset fresh. Interesting. What a fun process that was to go through.
For the Oracle 10g record, I used the /dev/dm-* devices instead of the mapper devices. Permissions were able to be set and there's no problem accessing the devices.
Thanks,
Scott
Quoted 76 lines · Scott Moseman
Actually I need to take that back now. The direct i/o support works
fine on local disks and even my iSCSI SAN connections direct through an HBA or NIC. But it's when I try to access them via multipath devices they fail and have the i/o errors. I updated my ticket with Red Hat, but so far they're not coming back with anything at all.Thanks,
ScottQuoted 64 lines · Scott Moseman
Thanks for the info. Our problem has been isolated as lack of direct
i/o support on our Red Hat box. The problem does not appear to be MPIO related, at least not from what Oracle support is telling me. So now I'm off to deal with Red Hat support to see how they counter.Thanks,
ScottQuoted 53 lines · Dharmesh Kamdar
Hi Scott,
This weblink may help -->
http://www.ardentperf.com/2008/02/13/oracle-clusterware-on-rhel5oel5-with-udev-and-multipath/
I've not tried this, but the author of the article claims that it works..We are also facing similar issue(s) with Oracle and RHEL 5.1 using UDEV/Device-mapper..I've also posted a query on the same
(https://www.redhat.com/archives/dm-devel/2008-February/msg00201.html)
...But it just discusses the changing of permissions, however creation of raw devices using UDEV is not specified, hence we are still looking for that answer.Hope it helps somewhat.
Let us know.
Regards,
Dharmesh.Quoted 27 lines · --- Scott Moseman
How can I get the mapper device permissions set on reboot?
When I attempted to try this...
# cat /etc/udev/permissions.d/50-udev.permissions | grep mapper mapper/mpath*:oracle:dba:0660But it did not seem to work...
# ls -l /dev/mapper/mpath* brw-rw---- 1 root disk 253, 2 Feb 26 20:56 /dev/mapper/mpath0 brw-rw---- 1 root disk 253, 5 Feb 26 20:56 /dev/mapper/mpath0p1 brw-rw---- 1 root disk 253, 3 Feb 26 20:56 /dev/mapper/mpath1 brw-rw---- 1 root disk 253, 4 Feb 26 20:56 /dev/mapper/mpath1p1Am I doing something wrong? Is there another way to do this?
Thanks,
Scott