ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 数据库实例中查询V$asm_disk磁盘头信息为unknown

数据库实例中查询V$asm_disk磁盘头信息为unknown

原创 Linux操作系统 作者:paulyibinyi 时间:2012-02-14 15:38:42 0 删除 编辑

SQL> select group_number, name, state, total_mb, free_mb from v$asm_diskgroup;

GROUP_NUMBER NAME                           STATE         TOTAL_MB    FREE_MB
------------ ------------------------------ ----------- ---------- ----------
           1 DGDATA01                       CONNECTED      1024000     981822
           3 DGRECOVER                      MOUNTED         409600     407832

SQL>

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
--------------------------------------------------------------------------------
           1           0 OPENED  UNKNOWN      DGDATA01_0000
/dev/rhdiskpower10

           1           1 OPENED  UNKNOWN      DGDATA01_0001
/dev/rhdiskpower11

           1           2 OPENED  UNKNOWN      DGDATA01_0002
/dev/rhdiskpower12


GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU NAME
------------ ----------- ------- ------------ ------------------------------
PATH
--------------------------------------------------------------------------------
           1           3 OPENED  UNKNOWN      DGDATA01_0003
/dev/rhdiskpower8

           1           4 OPENED  UNKNOWN      DGDATA01_0004
/dev/rhdiskpower9
          
  

进入到asm实例中,查询v$asm_diskgroup磁盘组中的状态为mounted,查询v$asm_disk中的header_status为member --这个正确

 

SQL> select group_number, name, state, total_mb, free_mb from v$asm_diskgroup;

GROUP_NUMBER NAME                           STATE         TOTAL_MB    FREE_MB
------------ ------------------------------ ----------- ---------- ----------
           1 DGDATA01                       MOUNTED        1024000     981822
           3 DGRECOVER                      MOUNTED         409600     407832

SQL>

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
--------------------------------------------------------------------------------
           1           0 OPENED  MEMBER      DGDATA01_0000
/dev/rhdiskpower10

           1           1 OPENED  MEMBER      DGDATA01_0001
/dev/rhdiskpower11

           1           2 OPENED  MEMBER      DGDATA01_0002
/dev/rhdiskpower12


GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU NAME
------------ ----------- ------- ------------ ------------------------------
PATH
--------------------------------------------------------------------------------
           1           3 OPENED  MEMBER      DGDATA01_0003
/dev/rhdiskpower8

           1           4 OPENED  MEMBER      DGDATA01_0004
/dev/rhdiskpower9

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7199859/viewspace-716261/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
学习数据库

注册时间:2007-12-11

  • 博文量
    903
  • 访问量
    6525134