创建ASM磁盘时,出现以下异常 [root@hisdb1 ~]# oracleasm createdisk DATA02 /dev/mapper/mpatha
Device "/dev/mapper/mpatha" is already labeled for ASM disk ""
[root@hisdb1 ~]# oracleasm createdisk VOTEDATA01 /dev/mapper/mpathb
Device "/dev/mapper/mpathb" is already labeled for ASM disk "" 最初的解决方案是通过rename来创建DATA02以及5块投票盘,如下操作: [root@hisdb1 etc]# oracleasmrenamedisk -f /dev/mapper/mpatha DATA02 [root@hisdb1 mapper]# oracleasm renamedisk -f /dev/mapper/mpathbVOTEDATA01 [root@hisdb1 mapper]# oracleasm renamedisk -f /dev/mapper/mpathcVOTEDATA02 [root@hisdb1 mapper]# oracleasm renamedisk -f /dev/mapper/mpathdVOTEDATA03 [root@hisdb1 mapper]# oracleasm renamedisk -f /dev/mapper/mpatheVOTEDATA04 [root@hisdb1 mapper]# oracleasmrenamedisk -f /dev/mapper/mpathg VOTEDATA05 [root@hisdb1 mapper]# oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks... Scanning system for ASM disks... [root@hisdb1 mapper]# oracleasm listdisks DATA01 DATA02 VOTEDATA01 VOTEDATA02 VOTEDATA03 VOTEDATA04 VOTEDATA05
注意虽然此处显示创建OK,但当我们图形界面创建GI到第9步时,弹不出磁盘. |