Chinaunix首页 | 论坛 | 博客
  • 博客访问: 788220
  • 博文数量: 185
  • 博客积分: 7434
  • 博客等级: 少将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-29 14:01
文章分类

全部博文(185)

文章存档

2013年(1)

2012年(2)

2011年(17)

2010年(25)

2009年(36)

2008年(104)

分类: 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 -s /dev/ -a force=yesThe 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

References
Bug 6605620 - ORACLEASM CREATEDISK FAILS: DEVICE "/DEV/EMCPOWERB2" IS NOT A PARTITION [FAILED]

阅读(1180) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~