Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1177926
  • 博文数量: 398
  • 博客积分: 10110
  • 博客等级: 上将
  • 技术积分: 4055
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-23 20:01
个人简介

新博客http://www.cnblogs.com/zhjh256 欢迎访问

文章分类

全部博文(398)

文章存档

2012年(1)

2011年(41)

2010年(16)

2009年(98)

2008年(142)

2007年(100)

我的朋友

分类: Oracle

2011-03-09 13:00:05

因为oracle 11gr2 asm要求安装grid infra,就下载了asm包
rpm -Uvh oracleasm*之后,创建asm磁盘时报如下错误:
[root@ora11g soft]# oracleasm createdisk data1 /dev/sdc1
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done

原因:oracleasm configure不正确的造成的,除了/etc/init.d/oracleasm之外,还有一个在/usr/sbin/目录下,默认就调用了这个oracleasm,所以执行oracleasm configure没有任何输出反馈。

所以只要调用/etc/init.d/oracleasm就可以了。

[root@ora11g sbin]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets ('[]').  Hitting without typing an
answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]
[root@ora11g sbin]# oracleasm createdisk DATADISK1 /dev/sdc1
Writing disk header: done
Instantiating disk: done


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

chinaunix网友2011-03-27 15:38:00

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com