backup-vm icon indicating copy to clipboard operation
backup-vm copied to clipboard

Test with other disk backing types

Open twilligon opened this issue 8 years ago • 3 comments

libvirt has disk types other than the file and block that I've tried. See the libvirt docs (specifically the section on the source attribute).

twilligon avatar Oct 29 '17 05:10 twilligon

Hi MM, did this mean that network type of disk will be problem or you just want to test ? BR

<disk type='network' device='disk'> <source protocol='gluster' name='volume1/205/disk.0'> <host name='server1' port='12345' transport='tcp'/> </source> <target dev='vda'/> <driver name='qemu' type='qcow2' cache='none'/> </disk>

Snowmanko avatar Nov 26 '17 16:11 Snowmanko

I don't think network disks will work correctly, because I didn't have the infrastructure to test them set up. The main issue is that I'm not sure one can create a local qcow2 image backed by a network disk.

twilligon avatar Nov 26 '17 18:11 twilligon

My deployment is storage on GlusterFS, qcow2 images resides on Gluster volume, folder /storage/volume1/205/disk.0 (this is qcow2 image) and Qemu read this disk with libgfapi (Gluster API protocol), so this should be doable.

Snowmanko avatar Nov 27 '17 09:11 Snowmanko