Problem creating ASM disks with EMC PowerPath

If you encounter a problem creating ASM disks using EMC PowerPath psuedo devices do the following.

put in a file ‘/tmp/file’ the devices and the names you want to give for the ASM disk and run the script:

cat /tmp/file | while read DEV NAME
do
asmtool -C -l /dev/oracleasm -n $NAME -s $DEV -a force=yes
done
This entry was posted in EMC, Linux, Oracle. Bookmark the permalink.