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
- linux vdo驗證 oracle asm diskgroup sector_size 4096 udev asmlibLinuxOracleASMdev
- Failed to connect to ESP8266: Timed out waiting for packet headerAIHeader
- IP packet reassembles failed導致例項被驅逐AI
- MySQL:MGR修改max_binlog_cache_size引數導致異常MySql
- PostgreSQL Detail: Failed on request of size 8192 in memory context "ErrorContexSQLAIContextError
- 12.2.0.1bug導致的Failed to register in OCRLOCAL group.錯誤AI
- 網路原因導致rac安裝過程中節點2跑root.sh失敗
- ORA-21561: OID generation failed hostname與/etc/hosts不一致導致安裝報錯AI
- Mac os的防火牆導致開的熱點手機連不上Mac防火牆
- ORA-27300: OS system dependent operation:fork failed with statusAI
- ORA-27300: OS system dependent operation:fork failed with status: 12AI
- 效能分析(7)- 未利用系統快取導致 I/O 緩慢案例快取
- Spring中非同步註解@Async的使用、原理及使用時可能導致的問題Spring非同步
- ORACLE RAC 兩節點db_32k_cache_size設定不當導致表truncate失敗之ORA-00379Oracle
- 記憶體回收導致關鍵業務抖動案例分析-論雲原生OS記憶體QoS保障記憶體
- Waiting for target device to come onlineAIdev
- 導致IP被封的原因
- MySQL5.7 Waiting FOR TABLE FLUSHMySqlAI
- Oracle:GRID 下 root.sh 指令碼Oracle指令碼
- 北航OS課程筆記--二、系統引導筆記
- 故障分析 | replace into 導致主備不一致
- bring on 導致;引起;使…發展
- hash group by導致ORA-600
- 無限遞迴導致StackOverflowError遞迴Error
- 淺複製導致的bug
- undo truncate 導致qps下降分析
- MySQL5.7 Waiting for global read lockMySqlAI
- 痞子衡嵌入式:序列NAND Flash的兩大特性導致其在i.MXRT FlexSPI下無法XiPNaNFlex
- 一起看 I/O | Google TV 和 Android TV OS 的最新進展GoAndroid
- iOS開發-stringByEvaluatingJavaScriptFromString導致崩潰iOSJavaScript
- linux start_udev 導致VIP漂移Linuxdev
- ANALYZE導致的阻塞問題分析
- 索引壞掉導致ORA-07445索引
- Binlog多大導致主從中斷
- strict weak ordering導致公司級故障
- ntp導致的時鐘回撥
- runc hang 導致 Kubernetes 節點 NotReady