Re: [Libguestfs] Concurrent scanning of same disk

2015-05-28 Thread Richard W.M. Jones
On Thu, May 28, 2015 at 09:48:41AM +0300, NoxDaFox wrote: 2015-05-27 15:21 GMT+03:00 Richard W.M. Jones rjo...@redhat.com: On Wed, May 27, 2015 at 09:38:38AM +0300, NoxDaFox wrote: * RuntimeError: file receive cancelled by daemon - On r = libguestfsmod.checksums_out (self._o, csumtype,

Re: [Libguestfs] Concurrent scanning of same disk

2015-05-28 Thread Richard W.M. Jones
On Thu, May 28, 2015 at 10:33:48AM +0300, NoxDaFox wrote: To create the snapshots I'm using the libvirt command snapshotCreateXML with no flag set. Does libvirt support consistent snapshotting or shall I rely on QEMU backup new feature only? According to: http://wiki.libvirt.org/page/Snapshots

Re: [Libguestfs] Concurrent scanning of same disk

2015-05-28 Thread Richard W.M. Jones
On Thu, May 28, 2015 at 10:57:51AM +0300, NoxDaFox wrote: 2015-05-28 10:40 GMT+03:00 Richard W.M. Jones rjo...@redhat.com: On Thu, May 28, 2015 at 10:33:48AM +0300, NoxDaFox wrote: To create the snapshots I'm using the libvirt command snapshotCreateXML with no flag set. Does libvirt

Re: [Libguestfs] Concurrent scanning of same disk

2015-05-28 Thread Richard W.M. Jones
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:

Re: [Libguestfs] Concurrent scanning of same disk

2015-05-28 Thread NoxDaFox
2015-05-28 11:10 GMT+03:00 Richard W.M. Jones rjo...@redhat.com: On Thu, May 28, 2015 at 10:57:51AM +0300, NoxDaFox wrote: 2015-05-28 10:40 GMT+03:00 Richard W.M. Jones rjo...@redhat.com: On Thu, May 28, 2015 at 10:33:48AM +0300, NoxDaFox wrote: To create the snapshots I'm using the

Re: [Libguestfs] Concurrent scanning of same disk

2015-05-28 Thread Daniel P. Berrange
On Wed, May 27, 2015 at 09:38:38AM +0300, NoxDaFox wrote: Greetings, I am suffering of several weird errors which show randomly and make me suspect some concurrency issue. Libguestfs version is 1.28.1, linux kernel 3.16, libvirt 1.2.9 and qemu 2.1. What I'm trying to do is comparing the

Re: [Libguestfs] Concurrent scanning of same disk

2015-05-27 Thread Richard W.M. Jones
On Wed, May 27, 2015 at 09:38:38AM +0300, NoxDaFox wrote: * RuntimeError: file receive cancelled by daemon - On r = libguestfsmod.checksums_out (self._o, csumtype, directory, sumsfile) * RuntimeError: hivex_close: do_hivex_close: you must call 'hivex-open' first to initialize the hivex