建立asm磁碟 報錯 oracleasm-write-label: Unable to clear device
今天建立ASM磁碟報錯,如下:
[root@db1 ~]# /etc/init.d/oracleasm createdisk VOL2 /dev/asmc1
Marking disk "VOL2" as an ASM disk: [FAILED]
因為使用了udev,以前又配置過 Multipathing 多路徑模組,初步懷疑是 Multipathing 的問題,停止服務,註釋掉配置檔案,重新載入配置和重新啟動系統,問題依舊。
懷疑是udev的問題,嘗試使用核心裝置名,問題依舊。
google一下,記起asm是有日誌的,檢查日誌(tail -f /var/log/oracleasm) 發現如下報錯:
Disk "VOL1" does not exist or is not instantiated
Writing disk header: oracleasm-write-label: Unable to clear device "/dev/asma1": No space left on device
failed
Unable to label device "/dev/asma1"
新裝置怎麼會沒有空間呢?也不會是Inode的問題,再次使用fdisk檢查,突然發現分割槽型別是擴充套件分割槽:
[root@db1 ~]# fdisk /dev/asma
Command (m for help): p
Disk /dev/asma: 5268 MB, 5268045824 bytes
163 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 10106 * 512 = 5174272 bytes
Device Boot Start End Blocks Id System
/dev/ocrb1 10 1018 5143923 83 Extended
改成主磁碟分割槽
Disk /dev/asma: 5268 MB, 5268045824 bytes
163 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 10106 * 512 = 5174272 bytes
Device Boot Start End Blocks Id System
/dev/asma1 1 1018 5143923 83 Linux
重新嘗試,建立asm磁碟成功,看來是上一步做磁碟分割槽時疏忽了,做個mark。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14184018/viewspace-702153/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 建立ASM磁碟組報錯ORA-15063ASM
- 【ASM】如何建立ASM磁碟ASM
- ASM之建立ASM磁碟ASM
- DBCA建立ASM報錯ORA-27125: unable to create shared memory segmentASM
- 如何建立ASM磁碟ASM
- asm磁碟組建立錯誤,用中轉儲存,重建磁碟組ASM
- ASM學習筆記_配置RAW Device磁碟組ASM筆記dev
- ASM之磁碟建立及管理ASM
- 建立ASM磁碟有兩種方式!ASM
- Oracle下建立ASM磁碟總結OracleASM
- oracle rac 無法建立asm磁碟OracleASM
- ASM 磁碟組的建立及擴容ASM
- ASM例項啟動報錯:ORA-29701 :unable to connect to Cluster ManagerASM
- 建立ASM啟動SPFILE報錯ORA-17502ASM
- 使用CREATE DISKGROUP語句建立ASM磁碟組,提示找不到相應的ASM磁碟ASM
- asm磁碟組依賴導致資料庫自啟動報錯ASM資料庫
- linux下如何使用raw device來建立管理asm diskLinuxdevASM
- ASM: Device is already labeled for ASM diskASMdev
- Linux 無許可權建立資料夾( 報錯:Unable to create ... directory.)Linux
- pip install scrapy報錯:error: UnableError
- (grid重灌後圖形介面報錯)ASM磁碟組字元介面配置ASM字元
- RAC建立ASM單個磁碟不能操作2TASM
- 【轉】配置RAW Device磁碟組dev
- 完美解決xhost +報錯: unable to open display
- oracleasm createdisk ASM: Device is already labeled for ASM diskOracleASMdev
- asm報錯一例-support 報錯rename failedASMAI
- ASM磁碟頭ASM
- ASM 增加磁碟ASM
- Oracle asm磁碟中新加磁碟OracleASM
- 建立raw device tablespace報Linux Error: 13: Permission denieddevLinuxError
- dbca建立oracle 11g rac發現不了asm磁碟OracleASM
- nmap報錯: Failed to open device ethxxxAIdev
- [Oracle] Device Checks for ASM - This is a pre-check........OracledevASM
- Oracle ASM oracleasm createdisk "Device or resource busy"OracleASMdev
- 新增ASM磁碟報錯ORA-02097和ORA-15014ASM
- 【資料遷移】RMAN遷移資料庫到ASM(一)建立ASM磁碟組資料庫ASM
- 解決Ubuntu報錯 E: Unable to locate package yumUbuntuPackage
- iptables報錯!iptables-restore unable to initialize table 'filterRESTFilter