- 最后登录
- 2015-10-8
- 在线时间
- 42 小时
- 威望
- 70
- 金钱
- 476
- 注册时间
- 2012-4-23
- 阅读权限
- 50
- 帖子
- 101
- 精华
- 2
- 积分
- 70
- UID
- 382
|
7#
发表于 2012-4-27 09:12:14
按您的提示我确认了一下,四个节点,其中一个节点的权限的确不对 是root:root
我修改过来了,查询了一下
SQL> select GROUP_NUMBER,DISK_NUMBER,MOUNT_STATUS,HEADER_STATUS,NAME,PATH from v$asm_disk;
GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU NAME PATH
------------ ----------- ------- ------------ ------------------------------ ------------------------------
0 0 CLOSED MEMBER /dev/raw/raw8
0 1 CLOSED MEMBER /dev/raw/raw9
3 1 CACHED MEMBER OCRVDG_0001 /dev/raw/raw7
3 0 CACHED MEMBER OCRVDG_0000 /dev/raw/raw6
2 2 CACHED MEMBER DG2_0002 /dev/raw/raw5
2 1 CACHED MEMBER DG2_0001 /dev/raw/raw4
2 0 CACHED MEMBER DG2_0000 /dev/raw/raw3
1 1 CACHED MEMBER DG1_0001 /dev/raw/raw2
1 0 CACHED MEMBER DG1_0000 /dev/raw/raw1
SQL> ALTER DISKGROUP DG1 ADD DISK '/dev/raw/raw8';
ALTER DISKGROUP DG1 ADD DISK '/dev/raw/raw8'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15033: disk '/dev/raw/raw8' belongs to diskgroup "DG1"
SQL> select GROUP_NUMBER,DISK_NUMBER,MOUNT_STATUS,HEADER_STATUS,NAME,PATH from v$asm_disk;
GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU NAME PATH
------------ ----------- ------- ------------ ------------------------------ ------------------------------
0 0 CLOSED MEMBER /dev/raw/raw8
0 1 CLOSED MEMBER /dev/raw/raw9
3 1 CACHED MEMBER OCRVDG_0001 /dev/raw/raw7
3 0 CACHED MEMBER OCRVDG_0000 /dev/raw/raw6
2 2 CACHED MEMBER DG2_0002 /dev/raw/raw5
2 1 CACHED MEMBER DG2_0001 /dev/raw/raw4
2 0 CACHED MEMBER DG2_0000 /dev/raw/raw3
1 1 CACHED MEMBER DG1_0001 /dev/raw/raw2
1 0 CACHED MEMBER DG1_0000 /dev/raw/raw1
9 rows selected.
运行:
SQL> ALTER DISKGROUP DG1 ADD DISK '/dev/raw/raw8' force
Diskgroup altered.
SQL> select GROUP_NUMBER,DISK_NUMBER,MOUNT_STATUS,HEADER_STATUS,NAME,PATH from v$asm_disk;
GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU NAME PATH
------------ ----------- ------- ------------ ------------------------------ ------------------------------
0 1 CLOSED MEMBER /dev/raw/raw9
3 1 CACHED MEMBER OCRVDG_0001 /dev/raw/raw7
3 0 CACHED MEMBER OCRVDG_0000 /dev/raw/raw6
2 2 CACHED MEMBER DG2_0002 /dev/raw/raw5
2 1 CACHED MEMBER DG2_0001 /dev/raw/raw4
2 0 CACHED MEMBER DG2_0000 /dev/raw/raw3
1 1 CACHED MEMBER DG1_0001 /dev/raw/raw2
1 0 CACHED MEMBER DG1_0000 /dev/raw/raw1
1 2 CACHED MEMBER DG1_0002 /dev/raw/raw8
9 rows selected.
SQL> select disk_number, path, name, total_mb, free_mb from v$asm_disk where group_number =1;
DISK_NUMBER PATH NAME TOTAL_MB FREE_MB
----------- ------------------------------ ------------------------------ ---------- ----------
1 /dev/raw/raw2 DG1_0001 51199 1395
0 /dev/raw/raw1 DG1_0000 51199 1395
2 /dev/raw/raw8 DG1_0002 51199 48408
扩展完毕。 |
|