[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] guestfish zerofree on LVM ?



On Sun, Sep 04, 2011 at 06:30:58PM -0400, Ben Clay wrote:
> I'm trying to run zerofree on the root LVM (/dev/VolGroup/lv_root), but I'm
> getting the following error:
> 
> ><fs> zerofree /dev/VolGroup/lv_root 
> libguestfs: error: zerofree: /dev/VolGroup/lv_root: zerofree: No such file
> or directory

It looks like the zerofree command is missing.

What does this say:

 ><fs> available "zerofree"

Do you have /usr/sbin/zerofree installed on the host?

What do these commands say:

 ><fs> debug ll /usr/sbin

 ><fs> debug ll /dev

 ><fs> debug ll /dev/VolGroup

Which version of libguestfs is this, and where did you obtain it?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]