status of virt-resize support for xfs?
Hey there everyone! Trying to use virt-builder to download & resize the standard fedora-23 image from libguestfs.org ... ╔═[rsawhill@jiop 11:50 ~] {0} $ rpm -q libguestfs-tools
libguestfs-tools-1.32.7-1.fc23.noarch ╔═[rsawhill@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@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?
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 ...
libguestfs-tools-1.32.7-1.fc23.noarch ╔═[rsawhill@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@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
╔═[rsawhill@jiop 11:50 ~] {0} $ rpm -q libguestfs-tools 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
participants (2)
-
Richard W.M. Jones -
Ryan Sawhill