On 08/31/2012 08:05 PM, Andrew Holway wrote:
> Hi,
> 
> I am trying to host KVM machines on an NFSoRDMA mount.
> 
> This works:
> 
> -drive file=/mnt/vm001.img,if=none,id=drive-virtio-disk0,format=raw -device 
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0
> 
> This Doesn't!
> 
> -drive 
> file=/mnt/vm001.img,if=none,id=drive-virtio-disk0,format=raw,cache=none 
> -device 
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2
> 
> Any ideas why this could be?

Please try

  dd bs=512 if=/mnt/vm001.img of=/mnt/x1
  dd bs=512 if=/mnt/vm001.img of=/mnt/x2

  dd bs=4096 if=/mnt/vm001.img of=/mnt/y1 iflag=direct oflag=direct
  dd bs=4096 if=/mnt/vm001.img of=/mnt/y2 iflag=direct oflag=direct

and report which (if any) of the output files (x1, x2, y1, y2) are
corrupted, by comparing them against the original.  This will tell us
whether O_DIRECT is broken, or 512 byte block size, or neither.


-- 
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to