Previous |
Next |
When udev
is started, it sequentially carries out rules (configuration directives) defined in rule files. These files are in the path /etc/udev/rules.d/
. Rules files are read in lexical order. For example, rules in the file 10-wacom.rules
are parsed and carried out before rules in the file 90-ib.rules
.
On Oracle Enterprise Linux 5, if two or more rules files describe the same devices, then the last file read is the one that is applied.
To create a rules file for shared disk devices, complete the following tasks:
On each node in the cluster, create a rules file in /etc/udev/rules.d
, to set the ownership and permissions for the Oracle Clusterware files. The contents of the 99-oracle.rules
file are as follows:
ASM disks, where oracle
is the installation user:
device_partition:oracle:dba:0660
For example, to specify rules for the disk device /dev/sda, which is used by an ASM disk group, create the following entry:
sda:oracle:dba:0660
Specify the device name for each storage location you configured previously.
As the root
user, enter the commands to restart the UDEV service on each node in the cluster. On Oracle Enterprise Linux 5.0 the commands are:
# udevcontrol reload_rules # start_udev