NAME STATE
------------------------------ -----------
DATADG DISMOUNTED
OCRDG MOUNTED
SQL> alter diskgroup datadg mount;
Diskgroup altered.
SQL> select name,state from v$asm_diskgroup;
NAME STATE
------------------------------ -----------
DATADG MOUNTED
OCRDG MOUNTED
grid@sundb01:/home/grid>asmcmd
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED NORMAL N 512 4096 1048576 358400 358192 0 179096 0 N DATADG/
MOUNTED NORMAL N 512 4096 1048576 15360 14434 5120 4657 0 Y OCRDG/
ASMCMD>
ASMCMD> exit
grid@sundb01:/home/grid>sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Fri Oct 10 12:39:41 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> select name,path from v$asm_disk;
NAME PATH
------------------------------ ----------------------------------------
OASMDGDATA01_0000 /dev/rhdisk1 -----从此处发现,其实即使更改了diskgroup的name,disk name也没有改变。
OASMDGDATA01_0001 /dev/rhdisk2 -----通过kfed查看磁盘头信息仍然会发现diskgroup name 还是之前的那个名称。
OCRDG_0000 /dev/rhdisk3
OCRDG_0001 /dev/rhdisk4
OCRDG_0002 /dev/rhdisk5