error: Refusing to undefine while domain managed save image exists

 

[root@ok libvirt]# virsh undefine win7
error: Refusing to undefine while domain managed save image exists

[root@ok libvirt]# virsh managedsave-remove win7
Removed managedsave image for domain win7
[root@ok libvirt]# virsh list
 Id    Name                           State
----------------------------------------------------
 1     centos01                       running
 2     tiny                           running

[root@ok libvirt]# virsh list --all
 Id    Name                           State
----------------------------------------------------
 1     centos01                       running
 2     tiny                           running
 -     centos02                       shut off
 -     centos03                       shut off
 -     centos04                       shut off
 -     centos05                       shut off
 -     centos06                       shut off
 -     centos07                       shut off
 -     centos08                       shut off
 -     centos09                       shut off
 -     win2003                        shut off
 -     win7                           shut off

[root@ok libvirt]# virsh start win7
Domain win7 started

[root@ok libvirt]# virsh list 
 Id    Name                           State
----------------------------------------------------
 1     centos01                       running
 2     tiny                           running
 7     win7                           running

 -----------------------------------------------------------------------------------------------------------------------------------------

[root@ok images]# virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     centos02                       shut off
 -     centos03                       shut off
 -     centos04                       shut off
 -     centos05                       shut off
 -     centos06                       shut off
 -     centos07                       shut off
 -     centos08                       shut off
 -     centos09                       shut off
 -     tiny                           shut off
 -     win7                           shut off

[root@ok images]# virsh undefine win7
error: Refusing to undefine while domain managed save image exists

[root@ok images]# virsh undefine win7 --managed-save
Domain win7 has been undefined

[root@ok images]# virsh list
 Id    Name                           State
----------------------------------------------------

[root@ok images]# virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     centos02                       shut off
 -     centos03                       shut off
 -     centos04                       shut off
 -     centos05                       shut off
 -     centos06                       shut off
 -     centos07                       shut off
 -     centos08                       shut off
 -     centos09                       shut off
 -     tiny                           shut off

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值