时间:2021-07-01 10:21:17 帮助过:3人阅读
分配
[root@rac2 ~]# cat /etc/udev/rules.d/99-oracle-asmdevices.rules KERNEL=="sd*[!0-9]", ENV{DEVTYPE}=="disk", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d $devnode", RESULT=="36000c29094e87ed8386bf78cd5dcb80e", RUN+="/bin/sh -c ‘mknod /dev/asmdisk01 b $major $minor; chown grid:oinstall /dev/asmdisk01; chmod0660 /dev/asmdisk01‘" KERNEL=="sd*[!0-9]", ENV{DEVTYPE}=="disk", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d $devnode", RESULT=="36000c2954a30394730cfbb390b97587c", RUN+="/bin/sh -c ‘mknod /dev/asmdisk02 b $major $minor; chown grid:oinstall /dev/asmdisk02; chmod0660 /dev/asmdisk02‘" KERNEL=="sd*[!0-9]", ENV{DEVTYPE}=="disk", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d $devnode", RESULT=="36000c293f44d71c233c240a4c150b475", RUN+="/bin/sh -c ‘mknod /dev/asmdisk03 b $major $minor; chown grid:oinstall /dev/asmdisk03; chmod0660 /dev/asmdisk03‘" [root@rac2 ~]#
[root@rac1 ~]# /sbin/udevadm trigger --type=devices --action=change
[root@rac1 ~]# /sbin/udevadm control --reload
[root@rac1 rules.d]# /sbin/udevadm test /sys/block/sdb [root@rac1 rules.d]# /sbin/udevadm test /sys/block/sdc [root@rac1 rules.d]# /sbin/udevadm test /sys/block/sdd
Oracle RAC集群搭建(三)--挂在磁盘
标签:min 搭建 oracle 检查 .com test disk system 查看