Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It should "just work".

There is more detail about the problem here: https://www.redhat.com/archives/libguestfs/2011-September/thread.html#00007

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.