当前位置:网站首页>记录ceph两个rbd删除不了的处理过程
记录ceph两个rbd删除不了的处理过程
2022-07-28 16:05:00 【星哥玩云】
在一个使用的环境发现两个ceph的rbd删除不了,发现两个rbd都是由于残留了watch的信息。在此记录处理过程。
处理方法
[[email protected] ~]# rbd rm compute/2d05517a-8670-4cce-b39d-709e055381d6_disk 2018-06-11 13:19:14.787750 7fd05853bd80 -1 librbd: cannot obtain exclusive lock - not removing Removing image: 0% complete...failed. rbd: error: image still has watchers This 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.
查看rbd 残留的watch信息
[[email protected] ~]# rbd status compute/2d05517a-8670-4cce-b39d-709e055381d6_disk Watchers: watcher=192.168.55.2:0/2900899764 client.14844 cookie=139644428642944
将该残留的watch信息添加到osd的黑名单,再查看watch是否存在。
[[email protected] ~]# ceph osd blacklist add 192.168.55.2:0/2900899764 blacklisting 192.168.55.2:0/2900899764 until 2018-06-11 14:25:31.027420 (3600 sec)
[[email protected] ~]# rbd status compute/2d05517a-8670-4cce-b39d-709e055381d6_disk Watchers: none
删除rbd
[[email protected] ~]# rbd rm compute/2d05517a-8670-4cce-b39d-709e055381d6_disk Removing image: 100% complete...done.
边栏推荐
- Asp.net large file block upload breakpoint resume demo
- 做题笔记4(第一个错误的版本,搜索插入位置)
- 【深度学习】:《PyTorch入门到项目实战》第二天:从零实现线性回归(含详细代码)
- Best Cow Fences 题解
- Learn ABAQUS script programming script in an hour
- Some suggestions on Oracle SQL tuning
- 综合设计一个OPPE主页--页面的售后服务
- Configure HyperMesh secondary development environment on vs Code
- 【深度学习】:《PyTorch入门到项目实战》:简洁代码实现线性神经网络(附代码)
- Re11:读论文 EPM Legal Judgment Prediction via Event Extraction with Constraints
猜你喜欢

有趣的 Kotlin 0x07:Composition

小程序:scroll-view默认滑倒最下面

Interesting kotlin 0x09:extensions are resolved statically

阿里云 MSE 支持 Go 语言流量防护

Re13:读论文 Gender and Racial Stereotype Detection in Legal Opinion Word Embeddings

FX3开发板 及 原理图

Egg (19): use egg redis performance optimization to cache data and improve response efficiency

College students participated in six Star Education PHP training and found jobs with salaries far higher than those of their peers

Interesting kotlin 0x07:composition

Leetcode daily practice - 160. Cross linked list
随机推荐
leetcode9. 回文数
CRC16 data verification supports modelbus and XMODEM verification modes (C language)
Installation of QT learning
FX3开发板 及 原理图
做题笔记3(二分查找)
Wake up after being repeatedly upset by MQ! Hate code out this MQ manual to help the journey of autumn recruitment
Analysis of echo service model in the first six chapters of unp
阿里大哥教你如何正确认识关于标准IO缓冲区的问题
MySQL安装教程
Re13: read the paper gender and racial stereotype detection in legal opinion word embeddings
HM secondary development - data names and its use
MySQL CDC if the binlog log file is incomplete, can you read all the data in the full volume stage
Interesting kotlin 0x08:what am I
Cluster construction and use of redis5
Ansa secondary development - build ansa secondary development environment on Visual Studio code
CRC16数据校验支持ModelBus和XMODEM校验模式(C语言)
Simple addition, deletion, modification and query of commodity information
关于 CMS 垃圾回收器,你真的懂了吗?
Brother Ali teaches you how to correctly understand the problem of standard IO buffer
Mysql与Oracle的13点区别