[Bug 812931] New: virt-resize can't expand virtual disk image
https://bugzilla.novell.com/show_bug.cgi?id=812931 https://bugzilla.novell.com/show_bug.cgi?id=812931#c0 Summary: virt-resize can't expand virtual disk image Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vmiklos@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 It seems on openSUSE 12.3, virt-resize has some issues. I wanted to resize the disk of a VM, running Windows7, inside virt-manager. virt-filesystems recognizes the partitions correctly: $ virt-filesystems --long -h -a w7-devel40.img Name Type VFS Label Size Parent /dev/sda1 filesystem ntfs System Reserved 100M - /dev/sda2 filesystem ntfs - 60G - But when I would resize sda2 from 60G to 90G, I get an error: $ truncate -s 90G test.img $ virt-resize --expand /dev/sda2 w7-devel40.img test.img Examining w7-devel40.img ... Fatal error: exception Guestfs.Error("lvm_set_filter: open: /tmp/lvmiUFSBa/lvm/lvm.conf: No such file or directory") I installed guestfs-tools using sudo zypper -p http://download.opensuse.org/repositories/Virtualization/openSUSE_12.3/ in guestfs-tools $ rpm -q guestfs-tools guestfs-tools-1.20.4-3.2.x86_64 At the end I worked around the issue by booting a Fedora 18 Live usb stick, and there the above command worked just fine. What is interesting is the guestfs version seems to be the same on the working Live system: $ rpm -q libguestfs-tools libguestfs-tools-1.20.4-1.fc18.x86_64 So either this is an error in some underlying tool (and virt-resize is just the messenger) or one would guess it's a packaging error. Reproducible: Always Steps to Reproduce: See above, just run truncate + virt-resize. Actual Results: Fatal error: exception Guestfs.Error("lvm_set_filter: open: /tmp/lvmiUFSBa/lvm/lvm.conf: No such file or directory") Expected Results: Message reporting the resize was successful. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812931 https://bugzilla.novell.com/show_bug.cgi?id=812931#c Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |ohering@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812931 https://bugzilla.novell.com/show_bug.cgi?id=812931#c1 Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Olaf Hering <ohering@suse.com> 2013-04-02 14:58:54 CEST --- I have added a workaround to create an empty lvm.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com