当前位置:操作系统 > Unix/Linux >>

[FAILED]Marking disk "DATA02" as an ASM disk

[FAILED]Marking disk "DATA02" as an ASM disk
 
执行删除asm磁盘时报错!
 
[root@rac1 grid]# /etc/init.d/oracleasm deletedisk DATA01 /dev/sdc1

Marking disk "DATA02" as an ASM disk: [FAILED]

 

查看日志: cat /var/log/oracleasm 
Device "/dev/sdc1" is already labeled for ASM disk ""
说明asm硬盘标签存在,但其值是空。
处理:
[root@rac1 grid]# oracleasm renamedisk -f /dev/sdc1 DATA01
Writing disk header: done
Instantiating disk "DATA01": done

[root@rac1 grid]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [  OK  ]
[root@rac1 grid]# /etc/init.d/oracleasm listdisks
DATA01
OCR_VOTE

[root@rac1 grid]# /etc/init.d/oracleasm deletedisk DATA01 /dev/sdc1
Removing ASM disk "DATA01": [  OK  ]

 


CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,