kvm-virtualization – 删除“孤儿”libvirt快照

原文链接:https://codeday.me/bug/20181110/371346.html

创建快照:

virsh snapshot-create-as --domain prod snap --diskspec vda,file=/srv/vm/snap.qcow2 --disk-only --atomic

问题:快照删除失败

# virsh snapshot-delete prod snap
error: Failed to delete snapshot snap
error: unsupported configuration: deletion of 1 external disk snapshots not supported yet

解决:

virsh snapshot-delete prod --metadata snap

 

posted @ 2019-10-21 14:36  salami_china  阅读(516)  评论(0编辑  收藏  举报