ASM: Device is already labeled for ASM disk
當一塊磁碟或分割槽已經被一個DataGroup用過,此時想用這塊磁碟或分割槽重新生成Asmlib生成Oracle磁碟裝置時即會報標題的錯。
[@more@]類似如下:
/etc/init.d/oracleasm createdisk VOL1 /dev/sda1
Marking disk "/dev/sda1" as an ASM disk: asmtool:
Device "/dev/sda1" is already labeled for ASM disk "" [FAILED]
/etc/init.d/oracleasm deletedisk VOL1
Removing ASM disk "VOL1" [FAILED]
解決問題其實很簡單,把磁碟頭清一下就可以了:
dd if=/dev/zero of=<your_raw_device> bs=1024 count=100
現在操作就該正常了:
dd if=/dev/zero of=/dev/sda1 bs=1024 count=100
100+0 records in
100+0 records out
/etc/init.d/oracleasm createdisk VOL /dev/sda1
Marking disk "/dev/sda1" as an ASM disk: [ OK ]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28258625/viewspace-2077649/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracleasm createdisk ASM: Device is already labeled for ASM diskOracleASMdev
- drop asm disk、撤銷drop asm diskASM
- 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 翻譯系列第十彈: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
- 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
- Oracle ASM oracleasm createdisk "Device or resource busy"OracleASMdev
- 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
- ASM Disk丟失的臨時解決方法ASM
- 幾個重要的 ASM Disk Groups 引數ASM
- ORA-15260: permission denied on ASM disk groupASM
- ASM的資料庫遷移回到DISK上ASM資料庫
- TROUBLESHOOTING - ASM disk not found/visible/discovered issuesASM