On Mon, May 26, 2014 at 10:59:26PM +0200, Info || Vertixo B.V. wrote: > Hi, > > Im trying to expand an linux image but it does not seem to get bigger after > everything is completed.
When you say "it does not seem to get bigger" how do you determine that? What precise commands did you use to determine the size of the filesystem? >From the log below it appears everything is working fine. > The thing i noticed was, i am trying to expand a /dev/vda1 within the image > but virt-resize keeps referring it as /dev/sda1. See below: libguestfs uses a canonical naming scheme for devices, where "/dev/sda1" means "the first partition on the first device". It has nothing to do with how the guest refers to devices -- eg. a Windows guest might refer to this partition as "C:". See: http://libguestfs.org/guestfs.3.html#block-device-naming > # virt-resize --dry-run --expand /dev/vda1 test.qcow2 test-new.qcow2 > Examining test.qcow2 ... > ********** > Summary of changes: > > /dev/sda1: This partition will be resized from 13.4G to 23.4G. The > filesystem ext3 on /dev/sda1 will be expanded using the 'resize2fs' > method. > /dev/sda2: This partition will be left alone. > ********** > > Is this a bug or am i doing something wrong? > > Thx! Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
