KVM+ceph-RBD 快照创建问题
环境描述
ceph集群,Luminous 12.2.5版本;
执行操作
1.划分存储池cloud,指定存储池rbd模式,创建映像bak-image;
2.KVM宿主机,创建虚拟机centos7,修改配置文件通过ceph官网文档介绍libvirt访问ceph-RBD;
操作参考:
http://docs.ceph.com/docs/master/rbd/libvirt/
KVM虚拟机可以直接访问到ceph-rbd存储块,从虚拟机本地对块存储读写正常。
错误描述
对虚拟机创建快照发生故障报错,报错信息如下:
报错1:
virsh # snapshot-create-as centos7-bakdata centos7-bakdata_20180524
error: unsupported configuration: internal snapshot for disk vdb unsupported for storage type raw
关闭虚拟机,制作快照,仍然报错;
报错2:
virsh # snapshot-create-as centos7-bakdata centos7-bakdata_20180524
error: internal error: internal inactive snapshots are not supported on 'network' disks using 'rbd' protocol