-
Notifications
You must be signed in to change notification settings - Fork 17
OMV enters emergency mode if mounting of /var/lib/docker/openmediavault fails #72
Comments
What version of OMV? The latest OMV 4.x version doesn't use an fstab entry. |
It's
Since what OVM 4.x version the usage of fstab has been removed? |
Not sure but the removal code didn't seem to work on your system. I found the commit where the removal code was moved to a different location but it has been in the plugin longer than that - 5b61641 |
So... if understand the snippets correctly, there is some DB in OMV which manages the fstab entries. Is there a way to query the mount points which are registered in OMV? If the docker bind mount is no longer in the DB, there was maybe just a missing trigger to rewrite the fstab entries. I could probably just create a new mount in OMV and see what happens to the fstab entries. But I'm reluctant to do that while I do not have physical access to the device ;-) |
omv-showkey mntent will show you the entries. |
This still shows the entry:
I actually installed omv-docker-gui quite recently. I'm not 100% sure, but it could very well be that docker-gui v4.0.1 was a fresh install. |
The docker plugin package with those changes is not yet available in the repositories. |
If the following fstab entry cannot be mount during boot, OMV enters emergency mode:
/srv/dev-disk-by-label-Data1/Docker /var/lib/docker/openmediavault none bind,defaults 0 0
This can happen, for instance, if the data disk is encrypted and needs to be unlocked manually. The emergency mode even prevents ssh from being started, which is especially painful in headless mode.
The data disk has the
nofail
option. If adding thenofail
option to the docker mount point, the system starts gracefully. My fstab for the data disk and the docker mount points:Note the
nofail
option on the docker mount point.Not sure if openmediavault-docker-gui is the package responsible for this fstab entry, so please redirect me if I'm wrong here ;-)
The text was updated successfully, but these errors were encountered: