Re: cannot mount ASM disk
Posted by ErmanArslansOracleBlog on Sep 25, 2017; 3:37pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/cannot-mount-ASM-disk-tp3539p3596.html
In addition,
ensure that the permissions of the disks are okay and udev rules are present and the asm_diskstring is set properly.
Here is an example:
Udev rule:
cat 99-oracle-asmdevices.rules
KERNEL=="sde", OWNER="oracle", GROUP="oinstall", MODE="0660"
KERNEL=="sdf", OWNER="oracle", GROUP="oinstall", MODE="0660"
KERNEL=="sde1", OWNER="oracle", GROUP="oinstall", MODE="0660"
KERNEL=="sdf1", OWNER="oracle", GROUP="oinstall", MODE="0660"
Udev restart
udevadm control --reload-rules && udevadm trigger
SQL> alter system set asm_diskstring='ORCL:*','/dev/sd*' scope=memory;
Mount:
SQL> alter diskgroup ERMAN mount;
Diskgroup altered.
Sometimes, when you don't use asmlib/oracleasm for adding ASM devices, these udev rules may be missing. Also when you don't use oracleasm/asmlib, ASM needs to see the /dev device name directly (/dev/sd devices), so you should configure your asm_diskstring properly.