[Libguestfs] Concurrent scanning of same disk

Richard W.M. Jones rjones at redhat.com
Thu May 28 10:50:21 UTC 2015


On Thu, May 28, 2015 at 01:41:51PM +0300, NoxDaFox wrote:
> I made a couple of changes and the hive corruption issue seems to be gone.
> The "RuntimeError: file receive cancelled by daemon" still persists. From
> the guestfs trace I can't see any evidence if not what seems a sort of
> overflow:
> 
> sha1sum: ./Windows/Prefetch/ReadyBoot/Trace2.fx: Value too large for
> defined data type

This kind of thing points to disk "corruption" (ie. an inconsistent
snapshot of a file that the guest is writing to).  If the snapshot
isn't consistent you'd expect to see all kinds of strange errors --
the specifics don't matter, you'd just ignore the snapshot and move on
to the next.

"file receive cancelled by daemon" is a libguestfs bug because it
hides the true cause of the failure.  It's quite hard to construct a
test case that reliably reproduces the bug however.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list