找回密码
 注册
查看: 11|回复: 0

ceph 存储librbd: image has watchers - not removing Removing image: 0% complete...f

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2024-5-12 08:52:10 | 显示全部楼层 |阅读模式
# rbd ls -p rbd |grep bak & C3 x0 ]0 k+ O/ W) r6 {
volume-72615737-3638-4b84-82d1-e9fcaf717cb7-bak
& D1 w; f$ w7 V0 U8 C+ w/ }  Kvolume-727d6443-0586-4f36-bcd8-5c967eb49de3-bak25 E3 ]  ?* l5 z" j5 p
volume-8d78d08a-06ff-492f-a4f0-1bc66f425f04-bak
1 a2 O- M4 h7 {4 R% u  y7 avolume-cd4d3190-0d51-4e81-aa2d-4354868361f8-bak2
& |. }5 Z3 K7 @volume-e46ede5a-a8a6-4ca6-9df5-b69a73e7ed2d-bak9 a  U/ T: U1 H' k" \: O
You have mail in /var/spool/mail/root
7 H0 F0 M4 N% ~4 e) G# rbd rm rbd/volume-e46ede5a-a8a6-4ca6-9df5-b69a73e7ed2d-bak
' u2 g/ t) {2 }0 N  O# F4 r2024-05-12 08:38:39.614826 7f822a362d80 -1 librbd: image has watchers - not removing  W/ R& d$ S& j( D2 ~/ y0 z
Removing image: 0% complete...failed.4 Q* g6 C9 v! k% d. v; t
rbd: error: image still has watchers
0 w1 E$ ]+ H9 k' AThis 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.
3 v# l1 M, y% ], d4 `' s9 v# rbd unmap rbd/volume-e46ede5a-a8a6-4ca6-9df5-b69a73e7ed2d-bak
, ?% [0 S1 J9 Rrbd: rbd/volume-e46ede5a-a8a6-4ca6-9df5-b69a73e7ed2d-bak@-: not a mapped image or snapshot
4 q) a: {) z, Z2 R4 f3 qrbd: unmap failed: (22) Invalid argument  ?' Z" f3 Q3 t7 t0 W9 ]+ L8 V" ]: w
You have mail in /var/spool/mail/root* ~0 V' Q2 P$ H& Z2 i. a
" a  x& e2 T- ]$ h
# rbd status rbd/volume-e46ede5a-a8a6-4ca6-9df5-b69a73e7ed2d-bak* n" \4 X+ Q0 n0 k: }0 E
Watchers:
0 {6 H& c3 f: s. c' g+ J1 p7 B        watcher=12.24.14.5:0/3111163022 client.15216805 cookie=1403379221824644 o' x6 s! }; b) c. e+ [
You have mail in /var/spool/mail/root# L; L4 i; {! ]" G& a: P2 j4 T

2 I! L  p# ^" s2 n3 j8 b5 H
: ?8 |; c8 i2 n: l4 i0 }* b# ceph osd blacklist ls: k' l0 o) j" f" Z
listed 0 entries
' F7 o8 m. v/ y( h+ V' ]% _7 q# w7 c# ceph osd blacklist add 12.24.14.5:0/3111163022
8 T" e9 C3 Y; L7 F2 G0 N3 b! ^blacklisting 12.24.14.5:0/3111163022 until 2024-05-12 09:41:59.089772 (3600 sec)1 E4 ^' U( k& C) y0 j
You have mail in /var/spool/mail/root+ ^, ~) R# z5 N7 \' u
# ceph osd blacklist ls6 P9 R3 O% @; Q" x6 d- R
listed 1 entries) K. ^- x5 B- x3 b* q2 Z- D8 [
12.24.14.5:0/3111163022 2024-05-12 09:41:59.089772
9 H3 b" R/ X% V# rbd rm rbd/volume-e46ede5a-a8a6-4ca6-9df5-b69a73e7ed2d-bak
& z( u+ A$ T3 ^3 J& ?Removing image: 100% complete...done.
; j- R" E' _1 q& ?( {9 OYou have mail in /var/spool/mail/root
+ S5 m; n* T, H7 ?# rbd rm rbd/volume-72615737-3638-4b84-82d1-e9fcaf717cb7-bak 3 w( x: N" S2 x7 y  @) T2 |
Removing image: 100% complete...done.
, g$ n; M! T2 y2 cYou have mail in /var/spool/mail/root4 ?: z: v6 K& |( H( \
# ceph osd blacklist ls
5 t4 d9 Z% }6 s% z1 J, Mlisted 1 entries0 @8 Y) g: E: @; J: ?$ W( e
12.24.14.5:0/3111163022 2024-05-12 09:41:59.089772
4 |& W% ~! L3 S9 w% MYou have mail in /var/spool/mail/root
1 j" m8 J) n' [! g: s& @# ceph osd blacklist rm  12.24.14.5:0/3111163022 + h8 D' q7 n( ^* j7 w
un-blacklisting 12.24.14.5:0/3111163022$ ^4 \9 M& o* x# v, y% a
# ceph osd blacklist ls
+ G5 h1 l3 ~4 Y9 C; wlisted 0 entries
% e2 A' \! L# ?5 L' N1 _
& `* ^5 I9 g! B1 s6 @" j7 x" k9 z! p
  d6 A0 C8 Y. z( `5 [3 h1 Q
+ a* k0 S/ k/ @+ ]问题解决。* r9 Z- M9 W9 s) L; m/ r
% |' s4 o4 t% V4 N
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-11 23:59 , Processed in 0.017720 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表