- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@compute01 ~]# rbd rm -p images 71ac5d32-3d99-464b-8036-0222e1f824ac* ?+ T8 }6 I3 S( Z( J* [" {: p
2021-10-20 10:15:05.643 7fbf1a9f4b00 -1 librbd::image::PreRemoveRequest: 0x55e04f399c00 check_image_snaps: image has snapshots - not removing
! r- v0 ^& Q$ k/ ?, [% W A3 dRemoving image: 0% complete...failed.
* T; }% I- x( C/ W/ Xrbd: image has snapshots - these must be deleted with 'rbd snap purge' before the image can be removed.
: M: \( T1 X |8 X6 d/ H7 A[root@compute01 ~]# rbd snap purge -p images 71ac5d32-3d99-464b-8036-0222e1f824ac
/ K- P, B7 t. grbd: error removing snapshot(s) 'snap', which is protected - these must be unprotected with `rbd snap unprotect`.; A( Y, q* t' V: O: x Y
Removing all snapshots: 0% complete...failed.% `" ^. s' E$ f: L+ o3 p& B$ G
) y" S2 a3 e5 X. v[root@compute01 ~]# rbd snap unprotect -p images 71ac5d32-3d99-464b-8036-0222e1f824ac@snap
: Z1 z, g& [# H/ A! b7 e[root@compute01 ~]# rbd rm -p images 71ac5d32-3d99-464b-8036-0222e1f824ac- L0 R4 Y7 q( x/ V F
2021-10-20 10:15:50.933 7fe397affb00 -1 librbd::image::PreRemoveRequest: 0x5637cc38bdf0 check_image_snaps: image has snapshots - not removing) E" M! f ^+ h
Removing image: 0% complete...failed.
5 z: d$ \, M2 O3 |1 Nrbd: image has snapshots - these must be deleted with 'rbd snap purge' before the image can be removed.
4 B3 @7 h6 D4 c7 A. E$ k[root@compute01 ~]# rbd snap purge -p images 71ac5d32-3d99-464b-8036-0222e1f824ac( D5 v1 K5 S6 {2 U R( I
Removing all snapshots: 100% complete...done.+ f9 r/ C9 E* L1 ~. k' A/ s
[root@compute01 ~]# rbd rm -p images 71ac5d32-3d99-464b-8036-0222e1f824ac
. t+ G% _8 S$ y2 t# B/ CRemoving image: 100% complete...done.
' j* q7 F" y: h1 G: c R3 _[root@compute01 ~]#
) @+ a8 y7 J+ X G# K4 \8 L- r1 V |
|