mongodb数据恢复 无法启动恢复

客户 名称   某编程网站

数据库类型  mongodb

数据库版本  3.2

故障类型   服务器硬件出问题后,mongodb无法启动。报错提示 WiredTiger.wt 出现损坏。

2016-06-21T22:23:55.555+0800 E STORAGE  [initandlisten] WiredTiger (-31802) [1466519035:555101][6440:1997946592], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error

2016-06-21T22:23:55.555+0800 E STORAGE  [initandlisten] WiredTiger (0) [1466519035:555101][6440:1997946592], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata

2016-06-21T22:23:55.555+0800 E STORAGE  [initandlisten] WiredTiger (0) [1466519035:555101][6440:1997946592], file:WiredTiger.wt, connection: This may be due to the database files being encrypted, being from an older version or due to corruption on disk

2016-06-21T22:23:55.555+0800 E STORAGE  [initandlisten] WiredTiger (0) [1466519035:555101][6440:1997946592], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options

2016-06-21T22:23:55.555+0800 I -        [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error

2016-06-21T22:23:55.555+0800 I STORAGE  [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating

2016-06-21T22:23:55.555+0800 I CONTROL  [initandlisten] shutting down with code:100

故障解决   客户联系到我们把文件发来分析后,WiredTiger.wt 逻辑信息出错,该文件相当于启动信息 表结构 以及集合信息都在此文件,所以对于 mongodb数据库很重要,手工修正后 成功启动数据库,导出备份给客户,完成恢复。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容