- 最后登录
- 2013-3-11
- 在线时间
- 10 小时
- 威望
- 30
- 金钱
- 213
- 注册时间
- 2012-7-12
- 阅读权限
- 10
- 帖子
- 17
- 精华
- 0
- 积分
- 30
- UID
- 601
|
1#
发表于 2012-8-20 17:50:47
|
查看: 6362 |
回复: 4
redhat5.4_64 11.2.0.3 单机asm + udev
SQL> select group_number,disk_number,name,mount_status,header_status,state,total_mb,free_mb,path from v$asm_disk;
GROUP_NUMBER DISK_NUMBER NAME MOUNT_S HEADER_STATU STATE TOTAL_MB FREE_MB PATH
------------ ----------- ------------------------------ ------- ------------ -------- ---------- ---------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 0 CLOSED CANDIDATE NORMAL 0 0 /dev/raw/raw2
1 0 DDD_0000 CACHED MEMBER NORMAL 583435 136459 /dev/raw/raw1
SQL> alter diskgroup DDD add disk '/dev/raw/raw2';
Diskgroup altered.
SQL> select group_number,disk_number,name,mount_status,header_status,state,total_mb,free_mb,path from v$asm_disk;
GROUP_NUMBER DISK_NUMBER NAME MOUNT_S HEADER_STATU STATE TOTAL_MB FREE_MB PATH
------------ ----------- ------------------------------ ------- ------------ -------- ---------- ---------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 0 DDD_0000 CACHED MEMBER NORMAL 583435 137235 /dev/raw/raw1
1 1 DDD_0001 CACHED MEMBER NORMAL 154783 154004 /dev/raw/raw2
SQL> select group_number gno,name,block_size,state,type,total_mb,free_mb from v$asm_diskgroup;
GNO NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
---------- ------------------------------ ---------- ----------- ------ ---------- ----------
1 DDD 4096 MOUNTED EXTERN 738218 291239
SQL> select group_number,operation,state,est_work,sofar,est_rate,est_minutes from v$asm_operation;
GROUP_NUMBER OPERA STAT EST_WORK SOFAR EST_RATE EST_MINUTES
------------ ----- ---- ---------- ---------- ---------- -----------
1 REBAL RUN 77482 7320 2909 24
SQL> select group_number,operation,state,est_work,sofar,est_rate,est_minutes from v$asm_operation;
no rows selected
数据库此时down
SQL> select group_number,disk_number,name,mount_status,header_status,state,total_mb,free_mb,path from v$asm_disk;
GROUP_NUMBER DISK_NUMBER NAME MOUNT_S HEADER_STATU STATE TOTAL_MB FREE_MB PATH
------------ ----------- ------------------------------ ------- ------------ -------- ---------- ---------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 1 CLOSED MEMBER NORMAL 0 0 /dev/raw/raw1
0 0 CLOSED MEMBER NORMAL 0 0 /dev/raw/raw2
SQL> alter diskgroup ddd mount;
Diskgroup altered.
SQL> select group_number,disk_number,name,mount_status,header_status,state,total_mb,free_mb,path from v$asm_disk;
GROUP_NUMBER DISK_NUMBER NAME MOUNT_S HEADER_STATU STATE TOTAL_MB FREE_MB PATH
------------ ----------- ------------------------------ ------- ------------ -------- ---------- ---------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 1 DDD_0001 CACHED MEMBER NORMAL 154783 77307 /dev/raw/raw2
1 0 DDD_0000 CACHED MEMBER NORMAL 583435 213932 /dev/raw/raw1
[oracle@asm ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue Aug 21 01:16:49 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DDD/jzhj/spfilejzhj.ora'
ORA-17503: ksfdopn:2 Failed to open file +DDD/jzhj/spfilejzhj.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:2 Failed to open file +DDD/jzhj/spfilejzhj.ora
ORA-15001: diskgroup "DDD" does not exist or is not mounted
ORA-06512: at line 4
SQL> select group_number gno,name,block_size,state,type,total_mb,free_mb from v$asm_diskgroup;
GNO NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
---------- ------------------------------ ---------- ----------- ------ ---------- ----------
0 DDD 4096 DISMOUNTED 0 0
[ 本帖最后由 sunstar3000 于 2012-8-20 18:10 编辑 ] |
|