oracleasm createdisk ASM: Device is already labeled for ASM disk
當一塊磁碟或分割槽已經被一個DataGroup用過,此時想用這塊磁碟或分割槽重新生成Asmlib生成Oracle磁碟裝置時即會報標題的錯。
類似如下:
[/root]#oracleasm deletedisk ASMDISK1
Disk "ASMDISK1" does not exist or is not instantiated
解決問題其實很簡單,把磁碟頭清一下就可以了:
[/root]#dd if=/dev/zero of=/dev/sdd1 bs=1024 count=100
100+0 records in
100+0 records out
102400 bytes (102 kB) copied, 0.0812539 s, 1.3 MB/s
繼續嘗試新增ASM DISK,可以正常新增。
[/root]#oracleasm createdisk ASMDISK1 /dev/sdd1
Writing disk header: done
Instantiating disk: done
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17086096/viewspace-1980908/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ASM: Device is already labeled for ASM diskASMdev
- Oracle ASM oracleasm createdisk "Device or resource busy"OracleASMdev
- oracleasm createdisk : Device '/dev/emcpowera1 is not a partitionOracleASMdev
- drop asm disk、撤銷drop asm diskASM
- 建立asm磁碟 報錯 oracleasm-write-label: Unable to clear deviceASMOracledev
- linux下asm裡如何找到asm disk和os device的對應關係LinuxASMdev
- Asm disk managerASM
- 手工建立ASM Disk Groups、為 ASM Disk Groups 新增 diskASM
- linux下如何使用raw device來建立管理asm diskLinuxdevASM
- Oracle ASM Disk DirectoryOracleASM
- Oracle ASM Disk PartnerOracleASM
- ASM Disk Group TemplateASM
- asm createdisk時提示沒有許可權ASM
- ASM 翻譯系列第十彈:ASM Internal ASM DISK headerASMHeader
- Oracle ASM Disk HeaderOracleASMHeader
- Oracle ASM spfile in a disk groupOracleASM
- Identify If A Disk/Part Is Still Used By ASM,Used by ASM Or Used by ASM_603210.1IDEASM
- Oracle ASM Disk Used Space DirectoryOracleASM
- Oracle ASM ACFS disk group rebalanceOracleASM
- Oracle ASM Disk Group AttributesOracleASM
- ASM DISK HEADER CORRUPTION & REPAIRASMHeaderAI
- ASM Normal需要3個disk ?ASMORM
- asm disk 的結構(1)ASM
- /etc/init.d/oracleasm createdisk錯誤OracleASM
- ASM 11g New Features - How ASM Disk Resync WorksASM
- Using ASMLIB Management ASM DiskASM
- [Oracle Script] ASM Disk Groups UsedOracleASM
- ASM磁碟組刪除DISK操作ASM
- [Oracle] Device Checks for ASM - This is a pre-check........OracledevASM
- Redhat 下 ASM oracleasm deletedisk -failed 的解決方法RedhatASMOracledeleteAI
- oracle10g_asm_v$asm_disk之header_statusOracleASMHeader
- Oracle ASM disk誤被格式化OracleASM
- V$ASM_DISK 檢視含義ASM
- RAC關鍵資訊(OCR/VOTE DISK/ASM DISK HEADER)備份ASMHeader
- 使用KFOD模擬ASM DISK DISCOVERY過程ASM
- ASM disk group mount fails with ORA-15036ASMAI
- ASM 11g新功能fast disk resyncASMAST
- 規劃ASM DISK GROUP、檢視asm 磁碟當前狀態、mount or dismount 磁碟組ASM