Sector size導致ORA-27061: waiting for async I/Os failed with root.sh
測試環境:
資料庫節點系統:rhel 6.8 x86_64
資料庫版本:Oracle 11.2.0.4 RAC
背景:
對比分散式儲存和IBM傳統儲存效能對比。
共三塊磁碟,冗餘模式採取normal。
在安裝資料庫叢集時,節點一執行root.sh執行失敗,提示ORA-27061: waiting for async I/Os failed with root.sh
初步懷疑由於磁碟屬性或陣列問題,對比兩臺資料庫主機對映磁碟正常,許可權正確。
使用grid使用者讀寫共享盤,驗證透過
dd if=/dev/urandom of=/dev/asm/asm-diskb bs=4096 count=1000
dd if= =/dev/asm/asm-diskb of=/dev/zero bs=4096 count=1000
多次搜尋無果,打算採取外部冗餘,測試每塊磁碟,此時分散式管理人員該問題可能由於三塊共享盤sector size不一致導致。
檢查分散式磁碟,發現一塊磁碟sector size 是4096,其他兩臺為512。
[root@htdb01 ~]# fdisk -l
......
Disk /dev/mapper/c1p1: 1600.3 GB, 1600321314816 bytes
255 heads, 63 sectors/track, 194561 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 524288 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/c2p1: 1600.3 GB, 1600321314816 bytes
255 heads, 63 sectors/track, 194561 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 524288 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/c3p1: 1600.3 GB, 1600321314816 bytes
255 heads, 63 sectors/track, 194561 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 524288 bytes
Disk identifier: 0x00000000
確認問題後,調整分散式系統上磁碟屬性,涉及命令為hdm,軟體為:hdm-core-3.3.0-25.ga-x86_64.rpm
安裝後檢查分散式磁碟資訊:
[root@yxcel03 soft]# hdm scan
[1C58SDM00001F5A7HUSMR7632BHP3010023]
Product Name = Ultrastar SN260
Device Type = NVMe Controller
Device Path = /dev/nvme0
UID = 1C58SDM00001F5A7HUSMR7632BHP3010023
Alias = @nvme0
Vendor Name = HGST
Model Name = HUSMR7632BHP301
Vendor ID = 1C58
Device ID = 0023
NVM Subsystem UID = 1C58SDM00001F5A7HUSMR7632BHP301
[000CCA0B018E1280]
Device Type = NVMe Namespace
Device Path = /dev/nvme0n1
UID = 000CCA0B018E1280
Alias = @nvmens0
Parent Product Name = Ultrastar SN260
Parent Device Type = NVMe Controller
Parent Device Path = /dev/nvme0
Parent UID = 1C58SDM00001F5A7HUSMR7632BHP3010023
NVM Subsystem UID = 1C58SDM00001F5A7HUSMR7632BHP301
Namespace ID = 1
......
調整磁碟sector大小
[root@htcel02 soft]# hdm format --sector-size 512 -p /dev/nvme0
This operation will erase all user data on the specified devices. Before starting this operation, unmount any mounted file
systems on the devices or take the devices offline. After this operation is complete, the specified devices will be reset,
which may cause other operations to be interrupted.
Press 'y' to continue: y
[Notes]
A system restart or shutdown is required to complete the operation.
Device Reference = /dev/nvme0
Results for format: Operation succeeded. See Notes.
[root@htcel02 soft]# reboot
重啟系統後,資料庫叢集root.sh指令碼執行完成。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24585765/viewspace-2374949/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL:Analyze table導致'waiting for table flush'MySqlAI
- Standby OS i/o問題導致Primary 庫不能正常歸檔問題
- Warning: OS async I/O limit 128 is lower than recovery batch 1024MITBAT
- IP packet reassembles failed導致例項被驅逐AI
- 9i java_pool_size 設定不當 導致無法使用者exp 邏輯匯出Java
- linux vdo驗證 oracle asm diskgroup sector_size 4096 udev asmlibLinuxOracleASMdev
- Intent傳遞資料過大導致:javabinder !!! FAILED BINDER TRANSACTION !!!IntentJavaAI
- MySQL:MGR修改max_binlog_cache_size引數導致異常MySql
- 12.2.0.1bug導致的Failed to register in OCRLOCAL group.錯誤AI
- 【轉】How to recover from root.sh on 11.2 Grid Infrastructure FailedASTStructAI
- 網路原因導致rac安裝過程中節點2跑root.sh失敗
- mysql crash with disk sector errorMySqlError
- goldengate extract abended unable to queue I/O, I/O beyond file sizeGo
- Oracle RAC root.sh 報錯 Timed out waiting for the CRS stack to start 解決方法OracleAI
- Root.sh failed at Failure at final check of Oracle CRS stack 10 問題AIOracle
- 11.2.0.1 Grid Infrastructure Installation Failed at .... While Running root.shASTStructAIWhile
- OS臨時埠耗盡導致無法建立資料庫連線資料庫
- Mac os的防火牆導致開的熱點手機連不上Mac防火牆
- root script (root.sh or rootupgrade.sh) Failed to start resource ora.onsAI
- 設定MEMORY_TARGET會導致RESULT_CACHE_MAX_SIZE在重啟後歸零
- PostgreSQL Detail: Failed on request of size 8192 in memory context "ErrorContexSQLAIContextError
- ORA-21561: OID generation failed hostname與/etc/hosts不一致導致安裝報錯AI
- Oracle8i中SORT_AREA_SIZE和SORT_AREA_RETAINED_SIZE的理解OracleAI
- 解決ora-27061的案例
- Failed to connect to ESP8266: Timed out waiting for packet headerAIHeader
- 效能分析(7)- 未利用系統快取導致 I/O 緩慢案例快取
- db file async I/O submit 等待事件優化MIT事件優化
- db file async I/O submit 等待事件說明MIT事件
- Spring中非同步註解@Async的使用、原理及使用時可能導致的問題Spring非同步
- 根目錄空間不足導致開啟Managed Server狀態變成FAILED_NOT_RESTARTABLEServerAIREST
- 執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configurationAIOracle
- linux 下filesystemio_options disk_asynch_io 導致的I/O效能下降Linux
- db_recovery_file_dest_size設定小 導致聯機日誌不能歸檔 Oracle不能起來Oracle
- ORA-27300: OS system dependent operation:fork failed with statusAI
- ORA-27300: OS system dependent operation: CreateThread failedthreadAI
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- oracle 資料庫光纖卡出問題導致檔案系統I/OERROROracle資料庫Error
- grid安裝執行root.sh時Timed out waiting for the CRS stack to start - 解除安裝gridAI