Hi Team, I’ve 3 servers that have to mount 3 block image into sandevices pool : SERVER FALCON : sandevices/falcon_lun0 sandevices/falcon_lun1 sandevices/falcon_lun2 SERVER RAVEN : sandevices/raven_lun0 sandevices/raven_lun1 sandevices/raven_lun2 SERVER OSPREY : sandevices/osprey_lun0 sandevices/osprey_lun1 sandevices/osprey_lun2 I created 3 client keys (raven/falcon/osprey) with below caps : ceph auth caps client.raven mon 'allow r' osd 'allow rwx pool=sandevices' First question : RBD allow to mount several times same image on the same server : root@raven:/etc/ceph# rbd showmapped id pool image snap device 1 sandevices raven_lun0 - /dev/rbd1 2 sandevices raven_lun1 - /dev/rbd2 root@raven:/etc/ceph# ls -l /dev/rbd/sandevices/raven_lun0 lrwxrwxrwx 1 root root 10 Jan 3 18:32 /dev/rbd/sandevices/raven_lun0 -> ../../rbd2 RBD1 will failed ? I’m trying to play with lock but as indicated lock don’t avoid several rbd map operation. I tried to « no share map option » without succeed… (rbd map doesn’t accept -o on my server) Do you have the best way to avoid multiple tbd map operation on the same server ? Second question : On the same way, I would like to avoid osprey server to mount falcon’s image. osprey has to map only its own LUNs. I’m trying to play with namespace but seem not yet fully supported. Do you know how I can manage that (without 1 pool per server because I have thousands servers...) ? Thanks Florent Monthel |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com