KVM迁移目录
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
虚拟机名称:centos7
磁盘文件路径:/opt/centos2.raw
1.关机
virsh shutdown centos7
2.移动磁盘文件到新目录
mv /opt/centos2.raw /data
3.编辑配置文件
virsh edit centos7
将磁盘文件路径修改为新路径

4.开机
virsh start centos7
请我喝杯水


虚拟机名称:centos7
磁盘文件路径:/opt/centos2.raw
1.关机
virsh shutdown centos7
2.移动磁盘文件到新目录
mv /opt/centos2.raw /data
3.编辑配置文件
virsh edit centos7
将磁盘文件路径修改为新路径
4.开机
virsh start centos7