[pve-devel] qemu-img output format

Alexandre DERUMIER aderumier at odiso.com
Tue May 7 09:26:18 CEST 2013


>>Seems –O host_device is the problem. 
>>
>>Why do we use host_device instead of ‘raw’? 

sorry,I dont't have tested with lvm, but for iscsi devices we need host_device.

(I thinked that host_device was for all /dev/... )



----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER (aderumier at odiso.com)" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 7 Mai 2013 08:31:12 
Objet: qemu-img output format 



convert on LVM fails with: 

# /usr/bin/qemu-img convert -t writeback -p -C -f host_device -O host_device /dev/vmdisks/vm-100-disk-1 /dev/vmdisks/vm-101-disk-1 
qemu-img: error while writing sector 0: Bad file descriptor 

Seems –O host_device is the problem. 

Why do we use host_device instead of ‘raw’? 


More information about the pve-devel mailing list