About Me

Fremont, CA, United States

Friday, September 12, 2008

Oracleasm Createdisk Fails EMC Powerpath

Oracleasm Createdisk Fails: Device '/dev/emcpoweraxx Is Not A Partition [Failed] 


oracleasm createdisk fails with Marking disk "/dev/emcpowerxxx" as an ASM disk: asmtool: 

Device "/dev/emcpowerxxx" is not a partition 
EMC Powerpath Versions 5.0.1 and 5.1 do not properly support the i/o calls that oracleasm makes. 
 1. Do the "/etc/init.d/oracleasm createdisk" operation using the "asmtool" command directly:
/usr/sbin/asmtool -C -l /dev/oracleasm -n -s /dev/ -a force=yes 
The tool will report: asmtool: Device "/dev/" is not a partition asmtool: Continuing anyway 
 2. The permissions of the volume under /dev/oracleasm/disks/ will be "root: root" Reboot the system to correct this. 
 3. Further use of the device can now be done normally using the powerpath device name You dont need to reboot, you can manually do chown oracle:dba to /dev/oracleasm/disks/volume_name.

No comments: