标签:targe done ted device block acl mapper oracl oracle
在配置asm磁盘的时候,openfiler通过识别,fdisk -l 后需要配置网卡绑定。fdisk -l
for i in b c d e f g h i j k l m n o p q r s t u ; do echo "KERNEL==\"sd\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\", RESULT==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i
\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\"" >> /etc/udev/rules.d/99-oracle-asmdevices.rules; done
/sbin/start_udev
ls -l /dev/asm
more /etc/udev/rules.d/99-oracle-asmdevices.rules
cd /dev/mapper/
linux 7
for i in b c d e f g h i j k l m n o p q r s t u ; do echo "KERNEL==\"sd*\", SUBSYSTEM==\"block\", PROGRAM==\"/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\", RESULT==\"/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i
\", SYMLINK+=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\"" >> /etc/udev/rules.d/99-oracle-asmdevices.rules ; done
vim /etc/udev/rules.d/99-oracle-asmdevices.rules
/sbin/udevadm trigger --type=devices --action=change
udevadm control --reload-rules
标签:targe done ted device block acl mapper oracl oracle
原文地址:https://blog.51cto.com/lishiyan/2548453