This is a follow-up question from: How do I mount an rbd device from fstab Which I asked some time back.
How do I mount rbd devices with the fuse driver? (I can't use the kernel driver from docker without opening up lots of privileges)
As far as I can tell I create an entry into the fstab file with something like:
id=client.admin /mnt fuse.ceph 0 0
However I can't see how to specify the rbd block device. If I run this mount, I see a file in /mnt/mariadb1 (mariadb1 is the name of my rbd device created with rbd create --size 250000 mariadb1)
How do I actually mount it as a filesystem?
Note: Yes I'd really like to use the kernel rbd driver and mount it from the host and then expose it to my docker container, but.... I'm using CoreOS.
If it is possible to mount filesystem in the host mount namespace I'd settle for that, but don't see a way forward yet. The best I've managed is to mount it from a container that has lots of privileges. But I can't share that container with --volumes-from. I don't really fancy having this particular container with full access to the host.