[Pkg-libvirt-maintainers] Bug#630478: Bug#630478: Problem with size of virtual floppies
agx at sigxcpu.org
Mon Aug 15 14:07:39 UTC 2011
On Mon, Aug 15, 2011 at 09:12:15PM +0800, j20110808 at js.id.au wrote:
> 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.
This sounds like you've not refreshed the storage pool after adding the
image? I leave the bug open for now since the error message is
> 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
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
More information about the Pkg-libvirt-maintainers