- 最后登录
- 2016-10-31
- 在线时间
- 74 小时
- 威望
- 5
- 金钱
- 368
- 注册时间
- 2013-4-5
- 阅读权限
- 10
- 帖子
- 81
- 精华
- 0
- 积分
- 5
- UID
- 1017
|
1#
发表于 2013-8-13 09:42:18
|
查看: 4047 |
回复: 2
今天,做了一块3块磁盘的磁盘组,用于管理投票磁盘。
并对其中一个磁盘进行dd操作,本来想测试一下破坏的磁盘在指定时间被删除。
可是,发现删除的磁盘只是在投票磁盘检测时是OFFLINE状态。
但在ASM实例中却是ONLINE状态。
不知道这是不是Oracle内部处理?
测试手顺:
条件,3块1G的磁盘,做成一个磁盘组。
[grid@ol655v11rac1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 35330a4656584f77bf1d7aa621ed5fe6 (ORCL:T01) [TEST]
2. ONLINE 441adeb584c04f61bf59b3c041bc5a7e (ORCL:T03) [TEST]
3. ONLINE 40ccbfc668b54fd9bf440f835bdafc07 (ORCL:T02) [TEST]
[root@ol655v11rac1 ~]# dd if=/dev/zero of=/dev/sdi1 bs=1024k count=200
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.440083 seconds, 477 MB/s
[root@ol655v11rac1 ~]#
[grid@ol655v11rac1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 35330a4656584f77bf1d7aa621ed5fe6 (ORCL:T01) [TEST]
2. OFFLINE 441adeb584c04f61bf59b3c041bc5a7e (ORCL:T03) [TEST] ★
3. ONLINE 40ccbfc668b54fd9bf440f835bdafc07 (ORCL:T02) [TEST]
Located 3 voting disk(s).
SQL> select disk_number,name,mode_status,repair_timer
2 from v$asm_disk where group_number=
3 (select group_number from v$asm_diskgroup where name='TEST');
DISK_NUMBER NAME MODE_ST REPAIR_TIMER
----------- ------------------------------ ------- ------------
0 T01 ONLINE 0
2 T02 ONLINE 0
1 T03 ONLINE 0
SQL> select group_number,name,state,mount_status,header_status from v$asm_disk;
GROUP_NUMBER NAME STATE MOUNT_S HEADER_STATU
------------ ------------------------------ -------- ------- ------------
1 CRS1 NORMAL CACHED MEMBER
2 CRS2 NORMAL CACHED MEMBER
3 DATA NORMAL CACHED MEMBER
4 REC NORMAL CACHED MEMBER
5 T01 NORMAL CACHED MEMBER
5 T02 NORMAL CACHED MEMBER
5 T03 NORMAL CACHED CANDIDATE ★
SQL> select group_number,name,TOTAL_MB
2 from v$asm_diskgroup;
GROUP_NUMBER NAME TOTAL_MB
------------ ------------------------------ ----------
1 CRS1 2047
2 CRS2 2047
3 DATA 10197
4 REC 10275
5 TEST 2038 |
|