系统环境:
操作系统:RedHat EL5(64)
Oracle 软件:Oracle 10gR2
故障现象:
12:47:25 SYS@ +ASM>create diskgroup dg1
12:47:31 2 normal redundancy
12:48:35 3 failgroup fg1 disk 'ORCL:ASM_DSK1',(多了逗号)
12:48:40 4 failgroup fg2 disk 'ORCL:ASM_DSK2';
failgroup fg2 disk 'ORCL:ASM_DSK2'
*
ERROR at line 4:
ORA-15106: missing or invalid operating system disk locator string
Elapsed: 00:00:00.08
12:48:44 SYS@ +ASM>create diskgroup dg1
12:49:49 2 normal redundancy
12:49:53 3 failgroup fg1 disk '/dev/oracleasm/disks/ASM_DSK1', (多了逗号)
12:50:12 4 failgroup fg2 disk '/dev/oracleasm/disks/ASM_DSK2';
failgroup fg2 disk '/dev/oracleasm/disks/ASM_DSK2'
*
ERROR at line 4:
ORA-15106: missing or invalid operating system disk locator string
其实问题很简单,是语句语法错误:
12:50:33 SYS@ +ASM>create diskgroup dg1
12:53:57 2 normal redundancy
12:54:01 3 failgroup fg1 disk 'ORCL:ASM_DSK1'
12:54:06 4 failgroup fg2 disk 'ORCL:ASM_DSK2';
Diskgroup created.
@以上错误,实属不应该,呵呵