I am running mongodb 3.2.4 in a Docker container hosted in Kubernetes cluster.
After restarting a kubernetes node restart, mongodb failed to start.
I have tried the repair command
mongod --port 27000 --dbpath /data/dbfix --repair
But I am still getting the error below.
2016-03-25T07:59:26.865+0000 E STORAGE [initandlisten] WiredTiger (-31802) [1458892766:865859][78:0x7f191a3afc80], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error 2016-03-25T07:59:26.866+0000 E STORAGE [initandlisten] WiredTiger (0) [1458892766:866236][78:0x7f191a3afc80], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata 2016-03-25T07:59:26.866+0000 E STORAGE [initandlisten] WiredTiger (0) [1458892766:866365][78:0x7f191a3afc80], 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-03-25T07:59:26.866+0000 E STORAGE [initandlisten] WiredTiger (0) [1458892766:866607][78:0x7f191a3afc80], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options