I have a number of LXC containers that use a mount path to:
CephFS takes a few moments to connect and mount when rebooting the server.
I've tried adding a delay to the container to boot after a delayed amount of time, neither of which actually gets the Container to start correctly after a reboot.
I've tried adding:
to
https://forum.proxmox.com/threads/delaying-vms-until-ceph-cephfs-is-mounted.120116/
Manually starting the Container after CFS has mounted works fine.
Code:
mp0: /mnt/pve/cephfs/config/stuff,mp=/mnt/config,shared=1
I've tried adding a delay to the container to boot after a delayed amount of time, neither of which actually gets the Container to start correctly after a reboot.
I've tried adding:
Code:
ConditionPathIsReadWrite=/mnt/pve/cephfs
ConditionDirectoryNotEmpty=/mnt/pve/cephfs
Code:
/lib/systemd/system/pve-guests.service
https://forum.proxmox.com/threads/delaying-vms-until-ceph-cephfs-is-mounted.120116/
Manually starting the Container after CFS has mounted works fine.