db version v3.2.8
rs.initiate(conf)
{ "ok" : 0, "errmsg" : "new file allocation failure", "code" : 12520 }
Mongo 配置 --oplogSize 100000
会预分配10G空间,如果磁盘空间不够用,创建副本时,会有如上报错。
mongoDB new file allocation failure
原文地址:https://www.cnblogs.com/hiyang/p/13356981.html