/etc/init.d/oracleasm createdisk錯誤
failed之後檢視日誌 /var/log/oracleasm
錯誤1:Device "/dev/sdb" is not a partition
命令:/etc/init.d/oracleasm createdisk OCR_VOTE01 /dev/sdb
需要對/dev/sdb分割槽/dev/sdb1
fdisk /dev/sdb
n-p-1-回車-回車-p-w
fdisk -l
錯誤2:Unable to create ASM disk "OCR_VOTE01": Permission denied
命令:/etc/init.d/oracleasm createdisk OCR_VOTE01 /dev/sdb1
[root@rac02 ~]# getenforce
Enforcing
[root@rac02 ~]# setenforce 0
[root@rac02 ~]# cat /etc/sysconfig/selinux
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux
reboot生效
錯誤1:Device "/dev/sdb" is not a partition
命令:/etc/init.d/oracleasm createdisk OCR_VOTE01 /dev/sdb
需要對/dev/sdb分割槽/dev/sdb1
fdisk /dev/sdb
n-p-1-回車-回車-p-w
fdisk -l
錯誤2:Unable to create ASM disk "OCR_VOTE01": Permission denied
命令:/etc/init.d/oracleasm createdisk OCR_VOTE01 /dev/sdb1
[root@rac02 ~]# getenforce
Enforcing
[root@rac02 ~]# setenforce 0
[root@rac02 ~]# cat /etc/sysconfig/selinux
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux
reboot生效
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26972107/viewspace-777208/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle ASM oracleasm createdisk "Device or resource busy"OracleASMdev
- oracleasm createdisk : Device '/dev/emcpowera1 is not a partitionOracleASMdev
- oracleasm createdisk ASM: Device is already labeled for ASM diskOracleASMdev
- 昨天裝RAC時遇到的一個錯誤Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]OracleASMAI
- centos7.6 容器執行報錯 /etc/rc.d/init.d/functions: No such file or directoryCentOSFunction
- 【Mysql】指定/etc/init.d/mysql載入的配置檔案MySql
- 更改/etc/init.d/mysql,讓HeartBeat只是監控MYSQL的狀態MySql
- 建立asm磁碟 報錯 oracleasm-write-label: Unable to clear deviceASMOracledev
- oracleasm命令檢視OracleASM
- LeetCode-278-第一個錯誤的版本LeetCode
- postfix出現錯誤“fatal:opendatabase/etc/aliases.db”(轉)Database
- sh: /etc/init.d/sshd: not found Docker中的Alpine映象安裝sshd無法啟動Docker
- 解決aix下不能執行netca的錯誤AI
- 在IBM Aix下netca時出現錯誤IBMAI
- redhatserver5下/etc/fstab中輸入的資料錯誤RedhatServer
- asm createdisk時提示沒有許可權ASM
- 更牛的開機啟動方法,轉《/etc/rc.local 與 /etc/init.d Linux 開機自動執行程式》Linux行程
- 更改oracleasm_scanorder引數OracleASM
- How to check oracleasm configOracleASM
- oracleasm enable顯示失敗OracleASM
- ORACLE 異常錯誤 錯誤號大全Oracle
- ASP.NETCore統一處理404錯誤都有哪些方式?ASP.NETNetCore
- ORA-00600: 內部錯誤程式碼, 引數: [qertbFetchByRowID], [], [],
- oracle 10.2 for linux 5.7 netca錯誤解決辦法OracleLinux
- /etc/fstab的錯誤設定導致系統啟動失敗
- nginx 錯誤除錯Nginx除錯
- rac錯誤除錯除錯
- PbootCMS錯誤提示:執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- oracleasm各個選項含義OracleASM
- Error:/etc/fstab:Read-only file system錯誤的解決辦法Error
- Linux因/etc/fstab配置錯誤啟動失敗後的恢復Linux
- ORACLE 錯誤Oracle
- 前端錯誤前端
- JAVA 錯誤Java
- JavaFx 錯誤Java
- 記錄一次根據錯誤資訊無法定位錯誤的錯誤
- Promise基礎(消化錯誤和丟擲錯誤)Promise
- Linux中init.d目錄詳解Linux