SQL> col path for a30
SQL>select group_number, disk_number, mount_status, header_status, path from v$asm_disk
GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU PATH
------------ ----------- ------- ------------ ------------------------------
0 0 CLOSED CANDIDATE ORCL:ASMDISK01
0 1 CLOSED CANDIDATE ORCL:ASMDISK02
0 2 CLOSED CANDIDATE ORCL:ASMDISK03
0 3 CLOSED CANDIDATE ORCL:ASMDISK04
1 0 CACHED MEMBER ORCL:ASMDISK05
1 1 CACHED MEMBER ORCL:ASMDISK06
1 2 CACHED MEMBER ORCL:ASMDISK07
3 0 CACHED MEMBER ORCL:ASMDISK08
3 1 CACHED MEMBER ORCL:ASMDISK09
3 2 CACHED MEMBER ORCL:ASMDISK10
3 3 CACHED MEMBER ORCL:ASMDISK11
1 3 CACHED MEMBER ORCL:ASMDISK12
--创建磁盘组
SQL> create diskgroup data normal redundancy
disk 'ORCL:ASMDISK01','ORCL:ASMDISK02','ORCL:ASMDISK03','ORCL:ASMDISK04'
attribute 'compatible.asm'='11.2.0.0.0', 'compatible.rdbms'='11.2.0.0.0';
--这里 compatible.asm 必须是'11.2.0.0.0' 以上,否则, 后面在这个磁盘组创建参数文件,
会报:ORA-15221: ASM operation requires compatible.asm of 11.2.0.0.0 or higher
3.8.创建参数文件
SQL> create spfile='+data' from pfile='/home/oracle/initasm.ora';