[Libguestfs] Can I use virt-filesystem on a running VM?

Richard W.M. Jones rjones at redhat.com
Fri Jan 8 21:20:05 UTC 2021


On Fri, Jan 08, 2021 at 05:13:36PM -0300, Sergio Belkin wrote:
> But I still have the question (perhaps my subject was not clear enough), can
> the tool virt-filesystems cause that guest filesystem crashes?

Oh wait, so the error happened in the guest?  That's pretty bad.

virt-filesystems will place an overlay over the original disk image to
protect it.  We also have a regression test to ensure that nothing
writes to the original disk in this situation:
https://github.com/libguestfs/libguestfs/tree/master/tests/qemu

However it may have been that something (SELinux? libvirtd?) saw this
action and stopped the original guest from accessing its own disk.  If
you have time you might see if there are any SELinux or libvirt log
messages associated with this.  Or if the guest qemu wrote anything to
its log file (/var/log/libvirt/qemu/guestname.log).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list