I don't have a lot of experience with rbd-nbd but i suppose it works same with
rbd. We use xen as hypervisor and sometimes when there is a crash, we need to
remove the locks on the volumes when remapping them as these are dead locks.
Now removing the locks will sometimes put blacklist on these addresses with
client id and then you just need to remove the blacklists. To check the
blacklists do "ceph osd dump |grep blacklist"
Or put it in a script as well:
for i in `ceph osd dump |grep blacklist |awk '{print $2}'` ;do ceph osd
blacklist rm $i;done
This article helped me a while ago and understood the dead locks on rbd
volumes.
https://der-jd.de/blog/2018/12/27/openstack-ceph-luminous-upgrade.html
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]