最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

docker mongoDB 断电 启动一会 自动停止问题

业界 admin 4浏览 0评论

mongoDB 异常关机

出现一下错误WiredTiger error",“attr”:{“error”:0,“message”:"[1676974734:946019][1:0x7f730201fc80], file:index-6-2417651500442865953.wt, WT_SESSION.verify: __wt_block_read_off, 302: index-6-2417651500442865953.wt: potential hardware corruption, read checksum error for 4096B block at offset 8192: block header checksum of 0xa7bb08c3 doesn’t match expected checksum of 0x6da1a2f

执行

docker run -it -v [数据的宿主级目录]:/data/db [mongo镜像名/镜像ID] mongod --repair

执行结束后 就成功了

mongoDB 异常关机

出现一下错误WiredTiger error",“attr”:{“error”:0,“message”:"[1676974734:946019][1:0x7f730201fc80], file:index-6-2417651500442865953.wt, WT_SESSION.verify: __wt_block_read_off, 302: index-6-2417651500442865953.wt: potential hardware corruption, read checksum error for 4096B block at offset 8192: block header checksum of 0xa7bb08c3 doesn’t match expected checksum of 0x6da1a2f

执行

docker run -it -v [数据的宿主级目录]:/data/db [mongo镜像名/镜像ID] mongod --repair

执行结束后 就成功了

发布评论

评论列表 (0)

  1. 暂无评论