Its impossible to mount a read-only mount-point on NFS storage.
Workaround is removing Read-only option -- which allows the container to boot.
I really wish to mount read-only and this used to work in PVE 5+
Workaround is removing Read-only option -- which allows the container to boot.
I really wish to mount read-only and this used to work in PVE 5+
Code:
● pve-container@20005.service - PVE LXC Container: 20005
Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-11-05 18:43:30 EST; 37s ago
Docs: man:lxc-start
man:lxc
man:pct
Process: 10126 ExecStart=/usr/bin/lxc-start -n 20005 (code=exited, status=1/FAILURE)
Nov 05 18:43:29 node02 systemd[1]: Starting PVE LXC Container: 20005...
Nov 05 18:43:30 node02 lxc-start[10126]: lxc-start: 20005: lxccontainer.c: wait_on_daemonized_start: 865 No such file or directory - Failed to receive the container state
Nov 05 18:43:30 node02 lxc-start[10126]: lxc-start: 20005: tools/lxc_start.c: main: 329 The container failed to start
Nov 05 18:43:30 node02 lxc-start[10126]: lxc-start: 20005: tools/lxc_start.c: main: 332 To get more details, run the container in foreground mode
Nov 05 18:43:30 node02 lxc-start[10126]: lxc-start: 20005: tools/lxc_start.c: main: 335 Additional information can be obtained by setting the --logfile and --logpriority option
Nov 05 18:43:30 node02 systemd[1]: pve-container@20005.service: Control process exited, code=exited, status=1/FAILURE
Nov 05 18:43:30 node02 systemd[1]: pve-container@20005.service: Failed with result 'exit-code'.
Nov 05 18:43:30 node02 systemd[1]: Failed to start PVE LXC Container: 20005.