[Libguestfs] missing lvm.conf is fatal

Olaf Hering olaf at aepfle.de
Tue Apr 2 11:57:25 UTC 2013


I have a report for 1.20.4 about this error. There is no /etc/lvm/lvm.conf in
the guest, which is handled as fatal error. Creating an emtpy file with that
name is a workaround for the time being.

$ virt-resize --expand /dev/sda2 in.img out.img
Examining in.img ...
Fatal error: exception Guestfs.Error("lvm_set_filter: open: /tmp/lvmiUFSBa/lvm/lvm.conf: No such file or directory")

Maybe the callers of lvm_set_filter or lvm_set_filter itself can be more forgiving.


Olaf




More information about the Libguestfs mailing list