{"id":159571,"date":"2019-10-17T11:01:51","date_gmt":"2019-10-17T03:01:51","guid":{"rendered":"https:\/\/gulass.cn\/?p=159571"},"modified":"2019-09-28T11:04:01","modified_gmt":"2019-09-28T03:04:01","slug":"ceph-rbd-watchers","status":"publish","type":"post","link":"https:\/\/gulass.cn\/ceph-rbd-watchers.html","title":{"rendered":"\u8bb0\u5f55ceph\u4e24\u4e2arbd\u5220\u9664\u4e0d\u4e86\u7684\u5904\u7406\u8fc7\u7a0b"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5728\u4e00\u4e2a\u4f7f\u7528\u7684\u73af\u5883\u53d1\u73b0\u4e24\u4e2aceph\u7684rbd\u5220\u9664\u4e0d\u4e86\uff0c\u53d1\u73b0\u4e24\u4e2arbd\u90fd\u662f\u7531\u4e8e\u6b8b\u7559\u4e86watch\u7684\u4fe1\u606f\u3002\u5728\u6b64\u8bb0\u5f55\u5904\u7406\u8fc7\u7a0b\u3002 \n\u63a5\u4e0b\u6765\u672c\u6587\u5c06\u5217\u4e3e\u4e24\u4e2a\u6709\u6548\u7684\u5904\u7406\u8fc7\u7a0b\uff0c\u8bf7\u8bfb\u8005\u53c2\u8003\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5904\u7406\u65b9\u6cd5<\/strong><\/div>\n \r\n[root@node-2 ~]# rbd rm compute\/2d05517a-8670-4cce-b39d-709e055381d6_disk\r\n2018-06-11 13:19:14.787750 7fd05853bd80 -1 librbd: cannot obtain exclusive lock - not removing\r\nRemoving image: 0% complete...failed.\r\nrbd: error: image still has watchers\r\nThis means the image is still open or the client using it crashed. Try again after closing\/unmapping it or waiting 30s for the crashed client to timeout.\r\n<\/pre>\n |