[Pkg-libvirt-maintainers] Bug#630478: Problem with size of virtual floppies

j20110808 at js.id.au j20110808 at js.id.au
Mon Aug 15 13:12:15 UTC 2011


It happens I have rebooted, and the problem wrt that particular disk image now does not occur.

The file did, in fact, exist; I've changed the way I pass data to my new guests and now do not use a floppy
image, so I used to commands I already showed you in order to recreate the problem.

Previously, I expanded the allocated size of the file using a dd command similar to this:
   dd if=/dev/zero of=/var/lib/libvirt/images/fd1440a.img seek=1 bs=2G count=0
   and the problem went away. Since that it now does not go away that way, I expect I must have done something
   else as well, lile restart libvirtd.

Since the message, "ValueError: Size must be specified for non existent volume path '/var/lib/libvirt/images/fd1440a.img'"
is clearly misleading because the ls command (which is the obvious way to check) reveals the file does exist.

I suggest that libvirtd (or whatever is the offending code) be changed to ask the filesystem whether the file exists
(stat() and/or access()) and that the error reporting be improved to more accurately reflect the actual problem.

Thanks for your time.


--
John Summerfield







More information about the Pkg-libvirt-maintainers mailing list