wetopi / docker-volume-rbd

Docker Engine managed plugin to manage RBD volumes.
MIT License
76 stars 18 forks source link

Issues mapping volumes #30

Open SnowyJaguar1034 opened 1 month ago

SnowyJaguar1034 commented 1 month ago

Hi, I appear to be having some issues where some of my containers won't start due to the volumes I have mapped. I'm not sure what causes it as most of the containers using ceph rbd volumes spin up without issue but others do not, I think the isse might have somehting to do with mapping a volume to multiple containers at the same time possiblky leading to file locks but native docker volumes don't have this issue so the evidence points to it being caused by this driver.

Mantrain commented 1 month ago

The default options for mounting a volume is:

VOLUME_FSTYPE="ext4"
VOLUME_MKFS_OPTIONS="-O mmp"

mmp is multi mount protection. This is inteded behavior.