- 最后登录
- 2013-12-6
- 在线时间
- 14 小时
- 威望
- 0
- 金钱
- 36
- 注册时间
- 2012-8-21
- 阅读权限
- 10
- 帖子
- 7
- 精华
- 0
- 积分
- 0
- UID
- 685
|
3#
发表于 2013-5-2 15:26:50
root@test2 luzheng]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@test2 luzheng]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
[root@test2 luzheng]# ls -l -R /dev/oracleasm/
/dev/oracleasm/:
total 0
drwxr-xr-x 1 root root 0 May 2 12:26 disks
drwxrwx--- 1 oracle dba 0 May 2 12:26 iid
/dev/oracleasm/disks:
total 0
brw-rw---- 1 oracle dba 8, 49 May 2 15:20 VOL1
brw-rw---- 1 oracle dba 8, 33 May 2 15:20 VOL2
brw-rw---- 1 oracle dba 8, 17 May 2 15:20 VOL3
/dev/oracleasm/iid:
total 0
-rwxr-x--- 1 oracle oinstall 0 May 2 12:29 0000000000000001
-rwxr-x--- 1 oracle oinstall 0 May 2 12:31 0000000000000002
-rwxr-x--- 1 oracle oinstall 0 May 2 12:33 0000000000000003
-rwxr-x--- 1 oracle oinstall 0 May 2 13:23 0000000000000004
-rwxr-x--- 1 oracle oinstall 0 May 2 13:26 0000000000000005
-rwxr-x--- 1 root root 0 May 2 13:31 0000000000000006
-rwxr-x--- 1 root root 0 May 2 13:54 0000000000000007
-rwxr-x--- 1 root root 0 May 2 14:00 0000000000000008
-rwxr-x--- 1 oracle oinstall 0 May 2 14:17 0000000000000009
-rwxr-x--- 1 oracle oinstall 0 May 2 14:26 000000000000000A
-rwxr-x--- 1 oracle oinstall 0 May 2 14:30 000000000000000B
-rwxr-x--- 1 oracle oinstall 0 May 2 14:38 000000000000000C
-rwxr-x--- 1 oracle oinstall 0 May 2 14:38 000000000000000D
-rwxr-x--- 1 oracle oinstall 0 May 2 15:02 000000000000000E
-rwxr-x--- 1 oracle oinstall 0 May 2 15:14 000000000000000F
-rwxr-x--- 1 oracle oinstall 0 May 2 15:15 0000000000000010
[root@test2 luzheng]# ls -l /etc/sysconfig/oracleasm
lrwxrwxrwx 1 root root 24 Mar 29 2010 /etc/sysconfig/oracleasm -> oracleasm-_dev_oracleasm
[root@test2 luzheng]# cat /etc/sysconfig/oracleasm
#
# This is a configuration file for automatic loading of the Oracle
# Automatic Storage Management library kernel driver. It is generated
# By running /etc/init.d/oracleasm configure. Please use that method
# to modify this file
#
# ORACLEASM_ENABELED: 'true' means to load the driver on boot.
ORACLEASM_ENABLED=true
# ORACLEASM_UID: Default user owning the /dev/oracleasm mount point.
ORACLEASM_UID=oracle
# ORACLEASM_GID: Default group owning the /dev/oracleasm mount point.
ORACLEASM_GID=dba
# ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot.
ORACLEASM_SCANBOOT=true
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER=""
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE=""
目前已经启动 |
|