Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

RHEL6: udev and ASM

user12175624Dec 6 2012 — edited Dec 6 2012
Hi,

As I found out, Oracle does not provide the RPM for asmlib any more for RHEL6.

The alternative is udev: you have to write some rules to get persistent names for your devices, i.e.:

KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff000112a6d0b0ebf5001000000",NAME+="oracleasm/disks/OCR1", OWNER="grid" GROUP="asmadmin" MODE="0660"

After the first tests I have some questions:

* using udev rules with the "NAME+=" option, the device is renamed. For example, /dev/sdc is not available any more if there is a rule that applies for this device. A bit strange, because in /proc/partition it is still listed. Is there a way to have both? The original device (/dev/sdc) and the "newly created" device (for example /dev/oracleasm/disks/OCR1)? I know that you can use SYMLINK but is this supported/recommended?

* is it recommended to use partitions here? If so, udev does not seem to map / rename partitions but devices only...

Any feedback is appreciated,

Werner

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 3 2013
Added on Dec 6 2012
3 comments
15,913 views