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

librbd::image::PreRemoveRequest: 0x558fba771c40 check_image_snaps: image has sna

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-6-3 17:00:12 | 显示全部楼层 |阅读模式
[root@h ~]# rbd rm  volume-738bde6e-4fc6-4701-9fd5-d8cb95d7d6dd.backup.base -p backups+ k4 ?. ^. u1 n: g$ x! x: o$ Q
2021-06-03 16:02:32.837 7f9e061c0b00 -1 librbd::image::PreRemoveRequest: 0x558fba771c40 check_image_snaps: image has snapshots - not removing! f+ @- z$ M7 F2 N6 Z
Removing image: 0% complete...failed.7 r2 |1 ?) h8 W+ l* m
rbd: image has snapshots - these must be deleted with 'rbd snap purge' before the image can be removed.0 f$ A1 \0 y' w+ n; D/ L: H

/ T) h, ~0 E" v3 n/ c9 H5 A- I, H解决办法:
1 {8 x; `: o' Y- W[root@h ~]# rbd snap purge -p backups volume-738bde6e-4fc6-4701-9fd5-d8cb95d7d6dd.backup.base; }; D6 W- o- J# d- U
Removing all snapshots: 100% complete...done.
0 b" U& `' |1 c) a9 v[root@h ~]# rbd rm  volume-738bde6e-4fc6-4701-9fd5-d8cb95d7d6dd.backup.base -p backups      
( R$ H( z# }, W# y  d5 [Removing image: 100% complete...done.  e/ U/ e5 g; d% `
[root@h ~]#
. y: b* |2 H6 v' Y& h, ~' X. ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:06 , Processed in 0.020564 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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