zoukankan      html  css  js  c++  java
  • qemu vm虚拟机被暂停

    问题

    我的虚拟机用qemu + libvirt 管理。 今天创建了一个新虚拟机,然后更新系统时,莫名其妙地系统卡住了。
    用virsh 查看虚拟机状态是Pause, 即使调用 resume, 依旧无效。

    解决

    印象里磁盘空间不多了, df 查看了使用确实100%了。 删除一些文件后, 问题解决。

    qemu 选项

    man qemu可见, 当qemu写操作遇到主机磁盘不足时,默认是暂停enospc 操作

                  werror=action,rerror=action
                         Specify  which action to take on write and read errors. Valid actions are: "ignore" (ignore the error and try to continue), "stop" (pause QEMU), "report" (report the
                         error to the guest), "enospc" (pause QEMU only if the host disk is full; report the error  to  the  guest  otherwise).  The  default  setting  is  werror=enospc  and
                         rerror=report.
    
  • 相关阅读:
    19软件工程专业---调查问卷
    软件工程2020思维导图
    关于创新创业
    学习周记
    学习周记
    问卷
    思维导图
    关于创新
    哈弗曼树
    调查问卷
  • 原文地址:https://www.cnblogs.com/hustcpp/p/13230354.html
Copyright © 2011-2022 走看看