Home > Workload Solutions > Oracle > Guides > Implementation Guide—Oracle Database 19c Best Practices on PowerStore > UDEV rules
We used UDEV rules to assign Linux 0660 permission and ownership of disks to the grid user (the owner of the Oracle GI and Oracle ASM instance). The following scripts include the UDEV rules set for the disks as an entry of the custom script in: /etc/udev/rules.d/95oracleasm.rules:
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29dfb32d8c38abe3cc89cb46ab1", SYMLINK+="oraudev/disks/ora-ocr1", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c298e41c93e74d5bdbdbd7712790", SYMLINK+="oraudev/disks/ora-ocr2", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c2927b8c006c81f140601bcb77b2", SYMLINK+="oraudev/disks/ora-ocr3", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29278ba48aaed314d4386265b59", SYMLINK+="oraudev/disks/ora-data1", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c296e4e4e36df967fcc50aa0699d", SYMLINK+="oraudev/disks/ora-data2", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29d0929bb25a7855f1c2b8529e1", SYMLINK+="oraudev/disks/ora-data3", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29290b303b4ecaa771fb8992649", SYMLINK+="oraudev/disks/ora-data4", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29742d6c21ad60006fec5a328f0", SYMLINK+="oraudev/disks/ora-redo1", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29373beaca55d865c77a3e68c99", SYMLINK+="oraudev/disks/ora-redo2", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29030f50f193d11448ac05f5397", SYMLINK+="oraudev/disks/ora-redo3", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29434bf958b9a5b3eb2ac03ce25", SYMLINK+="oraudev/disks/ora-redo4", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29d2f3cc94b6f73cecee16d2ca1", SYMLINK+="oraudev/disks/ora-fra1", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29314f941860f660a53328e4425", SYMLINK+="oraudev/disks/ora-fra2", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29404582742e38a9682fc2651bb", SYMLINK+="oraudev/disks/ora-fra3", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c295c31d03eee81d528b52fb3bff", SYMLINK+="oraudev/disks/ora-fra4", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd[a-z]*[1-9]", SUBSYSTEM=="block", OPTIONS:="nowatch", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent", RESULT=="36000c29885601765374bae4633290905", SYMLINK+="oraudev/disks/ora-temp", OWNER="grid", GROUP="asmadmin", MODE="0660"