On Wed, Jan 26, 2022 at 09:31:14PM -0800, anemade wrote:
I am using libguestfs Golang binding APIs(version 1.44)
Followed this document
https://libguestfs.org/guestfs-golang.3.html to create
the disk, add the disk, format the partition, launch the appliance and
performing some copy_in and copy_out operations.
While doing copy_in, I am seeing this strange issue
error: copy_in: tar subprocess failed: tar: .: file changed as we read it:
errno 0
This issue is not all time reproducible. It comes like 1 out of 10
runs. In my case, data is stable while doing copy_in. There is
absolutely no change in the data while guestfs_copy_in operation
going on. Any leads to issue or anything that I need to understand
for copy_in or copy_out?
Can you share exactly how you are using copy_in? A small
reproducer would be good.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top