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!
Jason
 
hi,

Code:
client_mountpoint=/,id=admin,mon_host=10.0.0.126,mon_host=10.0.0.127,mon_host=10.0.0.128,key=AUTH_KEY    /ceph    fuse.ceph    defaults,noatime    0    0

not the best solution, but it works.

Patrick
 

About

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 yours easily in our online shop.

Buy now!