Re: rbd images inaccessible for a longer period of time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux