[Libguestfs] status of virt-resize support for xfs?

Richard W.M. Jones rjones at redhat.com
Thu Sep 1 18:45:01 UTC 2016


On Thu, Sep 01, 2016 at 11:55:50AM -0400, Ryan Sawhill wrote:
> Hey there everyone!
> 
> Trying to use virt-builder to download & resize the standard fedora-23
> image from libguestfs.org ...
> 
> ╔═[rsawhill at jiop 11:50 ~] {0} $ rpm -q libguestfs-tools
> > libguestfs-tools-1.32.7-1.fc23.noarch
> > ╔═[rsawhill at jiop 11:50 ~] {0} $ virt-builder --list | grep fedora-23
> > fedora-23                x86_64     Fedora® 23 Server
> > fedora-23                i686       Fedora® 23 Server (i686)
> > fedora-23                aarch64    Fedora® 23 Server (aarch64)
> > fedora-23                armv7l     Fedora® 23 Server (armv7l)
> > fedora-23                ppc64      Fedora® 23 Server (ppc64)
> > fedora-23                ppc64le    Fedora® 23 Server (ppc64le)
> > ╔═[rsawhill at jiop 11:51 ~] {0} $ virt-builder --cache /var/cache/upvm -o
> > f23.img --size 11G fedora-23
> > [   1.1] Downloading: http://libguestfs.org/download/builder/fedora-23.xz
> > [   1.7] Planning how to build this image
> > [   1.7] Uncompressing
> > [   7.4] Resizing (using virt-resize) to expand the disk to 11.0G
> > virt-resize: error: unknown/unavailable method for expanding the xfs
> > filesystem on /dev/sda3
[...]
> I thought virt-resize supports expanding xfs
> <http://libguestfs.org/virt-resize.1.html> so I'm confused here. Is
> libguestfs in f23 not built with xfs support? How about f24?

XFS is an optional feature of libguestfs because of the large number
of dependencies that it pulls in.  You just need to install the
'libguestfs-xfs' package on the host.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list