oracle rac 增加asm盘
扫描新增设备
echo "- - -" > /sys/class/scsi_host/host0/scan
echo "- - -" > /sys/class/scsi_host/host1/scan
echo "- - -" > /sys/class/scsi_host/host2/scan
echo "- - -" > /sys/class/scsi_host/host3/scan
echo "- - -" > /sys/class/scsi_host/host4/scan
echo "- - -" > /sys/class/scsi_host/host5/scan
fdisk -l
multipath -ll 记录新增的盘号
mpathh (36005076708810139a000000000000018) dm-11 INSPUR ,MCS
size=700G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 4:0:0:7 sdae 65:224 active ready running
|-+- policy='service-time 0' prio=1 status=enabled
| `- 5:0:0:7 sdaf 65:240 active ready running
|-+- policy='service-time 0' prio=1 status=enabled
| `- 2:0:0:7 sdac 65:192 active ready running
`-+- policy='service-time 0' prio=1 status=enabled
`- 3:0:0:7 sdad 65:208 active ready running
添加到 /etc/udev/rules.d/99-oracle-asmdevices.rules,刷新系统
/sbin/udevadm control --reload-rules
/sbin/udevadm trigger --type=devices --action=change
[grid@~]$ asmcmd lsdsk --candidate
Path
/dev/mapper/mpathh
[grid@~]$ 后面加入数据库