MongoDB
Last updated
Last updated
"FileNotOpen", "Failed to open archive file"
This exit code is formally defined as:
Exploration
This error typically implies a system-level issue that prevents MongoDB from starting successfully.
Known Fixes 1 - MongoDB by Bitnami running in Kubernetes
This fix addresses an issue where the disk space allocated for MongoDB was filled to 100%
Update the statefulset
resource so that the container's command
is sleep 1000000
.
Allow the MongoDB pod
instances to restart
Get a shell into each of them and use df -h
to view the available diskspace
Observe that /bitnami/mongodb
is at 100% or near that
Using MongoDB logs, figure out where it is trying to write to, in this fix, the issue was with the diagnostic data and the following command was run to free up disk space:
Reference/useful links