zoukankan      html  css  js  c++  java
  • 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
    
  • 相关阅读:
    scala学习笔记:理解stream和view
    scala学习笔记:变量声明中的模式
    scala学习笔记:理解并行集合par
    快速了解Scala技术栈
    scala学习笔记:控制抽象
    scala中的call-by-name和call-by-value
    scala学习笔记:各种奇怪的写法
    scala学习笔记:match与unapply()
    scala学习笔记:无参函数
    scala学习笔记:函数与方法
  • 原文地址:https://www.cnblogs.com/bass6/p/5571969.html
Copyright © 2011-2022 走看看