[Libguestfs] virtdf outputs on host differs from df in guest

Richard W.M. Jones rjones at redhat.com
Sun Jan 7 12:22:28 UTC 2018


On Sun, Jan 07, 2018 at 08:11:58PM +0800, 陈帆 wrote:
> Sorry for the late reply. when I used your method to execute command:
>  $guestfish -N fs:xfs -m /dev/sda1 statvfs /
> libguestfs: error: mkfs: xfs: /dev/sda1: mkfs.xfs: No such file or directory
> guestfish: error creating prepared disk image 'fs:xfs' on 'test1.img': failed to create filesystem (xfs): mkfs: xfs: /dev/sda1: mkfs.xfs: No such file or directory

You need to install ‘libguestfs-xfs’.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list