Vm.sh创建虚机失败

在172.18.30.1和172.16.60.10上

使用vm.sh创建虚机时,会报错

1- Resizing the disk to 80G ... ERR: Could not resize disk.

去 /export/kvm/虚机目录下查看log

1Could not open '/var/tmp/.guestfs-101448/appliance.d/root': No such file or directory

解决方法很简单,清除掉Cache即可:

1rm -rf /var/tmp/.guestfs-0/

附上CentOS7安装 kvm 的命令:

1yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install

Xfs文件系统下增加inode
Traefik配置digicert家得泛域名证书
comments powered by Disqus