分类: Oracle
2009-03-06 17:14:19
Oracleasm Createdisk Fails: Device '/dev/emcpoweraxx Is Not A Partition [Failed]
这个问题我在redhat 5.2 x86_64平台上碰到的,具体表现是无法对emc的powerpath创建asm disk,metalink告之powerpath 5.0.1和5.1版本和asm有兼容性问题,解决方法参考下面:
主题: Oracleasm Createdisk Fails: Device '/dev/emcpoweraxx Is Not A Partition [Failed]
文档 ID: 469163.1 类型: PROBLEM
Modified Date: 04-JUN-2008 状态: PUBLISHED
Applies to:
Linux Kernel - Version: 2.0.3.1
Linux x86-64
Linux x86
Symptoms
oracleasm createdisk fails with
Marking disk "/dev/emcpowera11" as an ASM disk: asmtool: Device "/dev/emcpowera11" is not a
partition
[FAILED]
even though the disk is properly formatted and has the requisite partition
Cause
EMC Powerpath Versions 5.0.1 and 5.1 do not properly support the i/o calls that oracleasm makes
.
Solution
To implement the solution, please execute the following steps:
1. Do the "/etc/init.d/oracleasm createdisk" operation using the "asmtool" command directly:
/usr/sbin/asmtool -C -l /dev/oracleasm -n
asmtool: Device "/dev/
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
References
Bug 6605620 - ORACLEASM CREATEDISK FAILS: DEVICE "/DEV/EMCPOWERB2" IS NOT A PARTITION [FAILED]