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

Ryan Sawhill rsawhill at redhat.com
Thu Sep 1 15:55:50 UTC 2016


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
>
> If reporting bugs, run virt-resize with debugging enabled and include the
> complete output:
>
>   virt-resize -v -x [...]
>


>From the -v output:

/dev/sda3:
>     partition data: 3 1170210816-6442450943 (5272240128 bytes)
>     partition sector data: 2285568-12582911 (10297344 sectors)
>     target partition sector data: 0-0 (1 sectors)
>     bootable: false
>     partition ID: 0x83
>     content: filesystem xfs (5261754368 bytes)
>     label: (none)
>     GUID: (none)
>


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160901/a8c518f0/attachment.htm>


More information about the Libguestfs mailing list