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>
Richard W.M. Jones
2016-Sep-01 18:45 UTC
[Libguestfs] status of virt-resize support for xfs?
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
Ryan Sawhill
2016-Sep-01 18:50 UTC
Re: [Libguestfs] status of virt-resize support for xfs?
On Thu, Sep 1, 2016 at 2:45 PM, Richard W.M. Jones <rjones@redhat.com> wrote:> 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. >AWESOME. Thanks Rich!
Seemingly Similar Threads
- Re: status of virt-resize support for xfs?
- data frame to array
- lxc containers won't start in a f24 custom install - odd cgroup fs layout observed
- [LLVMdev] [3.7.0] Two late issues with cross compilation to mips
- Re: [ovirt-users] OVA import of FC21 VM hangs during virt-v2v conversion?