oracle不再支持asmlib,asmlib死活不自动启动

asmlib死活不自动启动...我第一次安装oracle configure -i时可能都回车了,记不住了。导致asmlib不能随os启动之后自动启动。[@more@]

[root@localhost ~]# oracleasm status

Checking if ASM is loaded: no

Checking if /dev/oracleasm is mounted: no

[root@localhost ~]# oracleasm exit

[root@localhost ~]# oracleasm init

Creating /dev/oracleasm mount point: /dev/oracleasm

Loading module "oracleasm": oracleasm

Mounting ASMlib driver filesystem: /dev/oracleasm

[root@localhost ~]# oracleasm status

Checking if ASM is loaded: yes

Checking if /dev/oracleasm is mounted: yes

[root@localhost ~]# cd /dev

[root@localhost dev]# cd oracleasm

[root@localhost oracleasm]# cd disks

[root@localhost disks]# ls

[root@localhost disks]# ls

[root@localhost disks]# oracleasm scandisks

Reloading disk partitions: done

Cleaning any stale ASM disks...

Scanning system for ASM disks...

Instantiating disk "ORCL1"

Instantiating disk "ORCL2"

Instantiating disk "ORCL3"

[root@localhost disks]# ls -l

total 0

brw------- 1 root root 8, 49 Feb 15 05:28 ORCL1

brw------- 1 root root 8, 65 Feb 15 05:28 ORCL2

brw------- 1 root root 8, 81 Feb 15 05:28 ORCL3

[root@localhost disks]# chown oracle.oinstall *

[root@localhost disks]# ls -l

total 0

brw------- 1 oracle oinstall 8, 49 Feb 15 05:28 ORCL1

brw------- 1 oracle oinstall 8, 65 Feb 15 05:28 ORCL2

brw------- 1 oracle oinstall 8, 81 Feb 15 05:28 ORCL3

--================================

--重配之后明确输入own是oracle,group是oinstall,其它都输入y,之后重启os asmlib自动加载了。

[root@localhost ~]# oracleasm configure -i

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 [oinstall]:

Start Oracle ASM library driver on boot (y/n) [y]:

Scan for Oracle ASM disks on boot (y/n) [y]:

Writing Oracle ASM library driver configuration: done

[root@localhost ~]# reboot

Broadcast message from root (pts/1) (Sun Feb 15 05:38:11 2015):

The system is going down for reboot NOW!

[root@localhost ~]#

Last login: Sun Feb 15 05:36:35 2015 from 192.168.0.149

[root@localhost ~]# oracleasm status

Checking if ASM is loaded: yes

Checking if /dev/oracleasm is mounted: yes

[root@localhost ~]# oracleasm status

Checking if ASM is loaded: yes

Checking if /dev/oracleasm is mounted: yes

[root@localhost init.d]# cd /dev/oracleasm

[root@localhost oracleasm]# ls

disks iid

[root@localhost oracleasm]# cd disks

[root@localhost disks]# ls

ORCL1 ORCL2 ORCL3

[root@localhost disks]# ls -l

total 0

brw-rw---- 1 oracle oinstall 8, 49 Feb 15 05:40 ORCL1

brw-rw---- 1 oracle oinstall 8, 65 Feb 15 05:40 ORCL2

brw-rw---- 1 oracle oinstall 8, 81 Feb 15 05:40 ORCL3

[root@localhost disks]# cd /

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值