我想将 DRBD 复制存储(2 个节点主动/被动)公开给 libvirt 作为 qcow2 文件的存储池。但是,我收到以下错误消息:
virsh pool-create-as qcow2 --type=logical --target=/dev/drbd1
error: Failed to create pool qcow2
error: internal error: missing backend for pool type 3 (logical)
如果我使用多路径设备,那么它在 libvirt 环境中的容量为 0。
root@astranode0:/home/frolo# virsh pool-create-as qcow2 --type=mpath --target=/dev/mapper/vg1-qcow2
setlocale: No such file or directory
Pool qcow2 created
root@astranode0:/home/frolo# virsh pool-info qcow2
setlocale: No such file or directory
Name: qcow2
UUID: fa3b18a5-d849-43d9-86d2-96633367e8c7
State: running
Persistent: no
Autostart: no
Capacity: 0.00 B
Allocation: 0.00 B
Available: 0.00 B
我做错了什么?任何帮助我都会很感激!谢谢!