[Libguestfs] [libvirt-users] Resize errors with virt-resize/vgchange
Richard W.M. Jones
rjones at redhat.com
Thu Jul 25 08:02:10 UTC 2013
On Wed, Jul 24, 2013 at 10:32:08PM -0400, Alex wrote:
> Hi,
>
> >> Yes, here's the layout from the vm:
> >>
> >> # df -h
> >> Filesystem Size Used Avail Use% Mounted on
> >> devtmpfs 7.9G 0 7.9G 0% /dev
> >> tmpfs 7.9G 0 7.9G 0% /dev/shm
> >> tmpfs 7.9G 643M 7.3G 9% /run
> >> tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
> >> /dev/mapper/prop-root 15G 11G 2.9G 79% /
> >> tmpfs 7.9G 12K 7.9G 1% /tmp
> >> /dev/mapper/prop-boot 477M 95M 358M 21% /boot
> >> /dev/mapper/prop-home 222G 215G 7.6G 97% /home
> >>
> >> I'll add this info to the bug report.
> >
> > Just to be clear, it has multiple virtual block devices, eg.
> > /dev/vda and /dev/vdb ...?
> >
> > This isn't (currently) a supported configuration for virt-resize,
> > although it ought to be.
>
> Yes, that's correct - vda and vdb. Not sure how I missed that previously.
>
> Can I perform the steps that virt-resize executes manually instead,
> and either perform it only on the one to be resized or otherwise
> adjust the arguments accordingly? Is it documented?
No; virt-resize has to be changed to work with multiple disks. There
is no workaround.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
More information about the Libguestfs
mailing list