Ceph: find who's mapping a RBD device
Curious? Wanna know who has a RBD device mapped?
W Important note: this method only works with the Emperor version of Ceph and above.
Grab the image information:
1 2 3 4 5 6
Then list the objects part of the pool and get the image header. Eventually run:
As we can see the machine:
192.168.251.102 has the device