Mount CephFS using ceph-fuse on boot

Hello all,

I am wondering if someone can figure a way around my issue. I would like to mount cephfs using ceph-fuse on boot. I have added the correct values to /etc/fstab and can mount the drive using mount -a.

However, when the machine boots, it cannot get the keyring and conf from /etc/pve, and therefore fails. I tried adding a script to /etc/network/if-up.d/, but realized (obviously) that it still takes time for the cluster daemon to do it's thing after the network comes online...

Does anyone have any suggestions? Is there something obvious that I am missing?

Thank you in advance for your help!

client_mountpoint=/,id=admin,mon_host=,mon_host=,mon_host=,key=AUTH_KEY    /ceph    fuse.ceph    defaults,noatime    0    0

not the best solution, but it works.



The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!