Is it safe to use guestfish's zerofree option on ext4 which is inside an LVM volume? If not, what is the best approach - rebooting (inside the VM) into recovery mode and using the regular zerofree utility? I am having trouble finding any references online to using these two tools with LVMs.
It should "just work".
There is more detail about the problem here: https://www.redhat.com/archives/libguestfs/2011-September/thread.html#00007