|
|
[root@compute01 ~]# rbd rm volume-03a72731-8c6c-4263-a576-4f093f813acb -p vms
- w' L5 O, n# t2021-05-26 10:29:18.708 7f313f7fe700 -1 librbd::image::PreRemoveRequest: 0x55bb24753310 handle_exclusive_lock: cannot obtain exclusive lock - not removing/ U! Z$ T4 o8 ], n P
Removing image: 0% complete...failed.
1 D; E v& J6 J, w: `. h# g5 w9 krbd: error: image still has watchers p+ L9 H* Q4 {3 a" p, b' p* R
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.
; t) Z( v2 w1 P1 Z2 d: h0 W. s8 e& E# [6 z' v' F% d) @
[root@compute01 ~]# rbd unmap vms/volume-938ca1ed-eea8-4daa-a5ae-1bf336da1b69
8 v. s% a2 C5 B5 ^9 @rbd: vms/volume-938ca1ed-eea8-4daa-a5ae-1bf336da1b69: not a mapped image or snapshot |% ]7 i9 b: X' \- \
rbd: unmap failed: (22) Invalid argument. L9 E. n4 U: C- ?* d6 M) J' T) z6 y
[root@compute01 ~]# rbd unmap volume-938ca1ed-eea8-4daa-a5ae-1bf336da1b69 -p vms% Z3 x; N7 g' P
rbd: vms/volume-938ca1ed-eea8-4daa-a5ae-1bf336da1b69: not a mapped image or snapshot0 U5 { t, k; l! [: }: | n
rbd: unmap failed: (22) Invalid argument7 V K8 [9 T) F+ e8 s
[root@compute01 ~]# rbd rm volume-938ca1ed-eea8-4daa-a5ae-1bf336da1b69 -p vms
; B) M' V- ]; c& d6 B5 nRemoving image: 100% complete...done., ~$ e5 @( B# R4 g1 U
5 Q9 D/ ^1 j. i; {- R8 h2 Q0 x
|
|