1. Add the "options=-g" line to the /etc/scsi_id.config file as the root user.
2. Obtain the SCSI ID for your disks as the root user:
/sbin/scsi_id -g -s /block/{sd_device}
3. Create a udev rules file in /etc/udev/rules.d directory as the root user with entries similar to the below:
vi /etc/udev/rules.d/99-udev-oracle.rules
# ####################################################
# FILE: 99-udev-oracle.rules
# DESC: UDEV rules file for Oracle ASM functionality.
# Should be placed under /etc/udev/rules.d
# ####################################################
# DATA disks
KERNEL=="sd*",BUS=="scsi",ENV{ID_SERIAL}=="{scsi_id}", NAME="asm1", OWNER="oracle", GROUP="oinstall", MODE="660"
# FRA disks
KERNEL=="sd*",BUS=="scsi",ENV{ID_SERIAL}=="{scsi_id}", NAME="asm2", OWNER="oracle", GROUP="oinstall", MODE="660"
4. Stop and start udev as the root user:
/etc/init.d/boot.udev stop
/etc/init.d/boot.udev start
2. Obtain the SCSI ID for your disks as the root user:
/sbin/scsi_id -g -s /block/{sd_device}
3. Create a udev rules file in /etc/udev/rules.d directory as the root user with entries similar to the below:
vi /etc/udev/rules.d/99-udev-oracle.rules
# ####################################################
# FILE: 99-udev-oracle.rules
# DESC: UDEV rules file for Oracle ASM functionality.
# Should be placed under /etc/udev/rules.d
# ####################################################
# DATA disks
KERNEL=="sd*",BUS=="scsi",ENV{ID_SERIAL}=="{scsi_id}", NAME="asm1", OWNER="oracle", GROUP="oinstall", MODE="660"
# FRA disks
KERNEL=="sd*",BUS=="scsi",ENV{ID_SERIAL}=="{scsi_id}", NAME="asm2", OWNER="oracle", GROUP="oinstall", MODE="660"
4. Stop and start udev as the root user:
/etc/init.d/boot.udev stop
/etc/init.d/boot.udev start