1. 程式人生 > >mongodb數據庫恢復 mongo數據庫無法啟動恢復 mongodb數據庫斷電數據恢復

mongodb數據庫恢復 mongo數據庫無法啟動恢復 mongodb數據庫斷電數據恢復

直接 cti active data ted ict app 5-0 KS

數據類型 mongodb 3.x 數據容量 140 GB 故障類型 服務器斷電導致WiredTiger.wt文件損壞 啟動報錯 Detected data files in E:\DTLFolder\MongoDB\data created by the ‘wiredTiger‘ storage engine, so setting the active storage engine to ‘wiredTiger‘. 2018-05-08T16:10:09.755+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=18G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), 2018-05-08T16:10:09.765+0800 E STORAGE [initandlisten] WiredTiger (0) [1525767009:765885][6772:140729286678224], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 24576: block header checksum of 3915078705 doesn‘t match expected checksum of 3915078719 修復結果 文件發來後 分析WiredTiger.wt與啟動文件存儲的校驗值不匹配。手工分析錯誤信息。完成恢復。數據庫直接啟動OK 這也是斷電導致的 數據庫文件未及時關閉導致的損壞。切記不可非法關機 突然斷電,要檢查硬件。 技術分享圖片

mongodb數據庫恢復 mongo數據庫無法啟動恢復 mongodb數據庫斷電數據恢復