Bug 987829
| Summary: | virt-resize error: "lvm_set_filter: vgchange: Couldn't find device with uuid .. Refusing activation of partial LV" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> | ||||
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | jan.public, mysqlstudent | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-10-17 00:10:03 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Richard W.M. Jones
2013-07-24 09:08:15 UTC
The cause of this is because the source VM has two disks, with the volume group spread over these disks. virt-resize does not currently support guests with multiple disks, although it should be fixed to do this. Hi, I've created a paste with more details: http://pastebin.com/3T9dt8RH I had to transfer the guest image to a fedora15 host and create the new vm with the guest image using "virsh create" because I couldn't do it on the production fedora18 system. The guest is fedora18 x86_64. virt-resize appears to have the same problem, however. I should add the version of libguestfs being used on fc15:
# rpm -qva|grep libguest
libguestfs-tools-c-1.10.12-1.fc15.x86_64
libguestfs-1.10.12-1.fc15.x86_64
libguestfs-tools-1.10.12-1.fc15.x86_64
And the df output from the guest:
# 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 807M 7.1G 11% /run
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/mapper/propserv-root 15G 8.5G 5.2G 63% /
tmpfs 7.9G 12K 7.9G 1% /tmp
/dev/mapper/propserv-boot 477M 95M 358M 21% /boot
/dev/mapper/propserv-home 222G 215G 7.5G 97% /home
And the disk sections from the vm:
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/backup/propserv-backup-072113.img'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/backup/propserv-1-backup-072113.img'/>
<target dev='vdb' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
Created attachment 778691 [details]
pastebin.txt
Attached pastebin content, since these tend to expire.
Is there any update on this? No, it needs some development work upstream to fix it. ie patches are welcome! It's not an especially hard fix. Just wondering if there's any update on this? I've upgraded the host to fedora20, hoping that now includes the fixes necessary to grow an LVM partition... No I'm afraid there has still been no development work to fix this (virt-resize on 2 disks). This product has been discontinued or is no longer tracked in Red Hat Bugzilla. Reopening because Virtualization Tools has not been discontinued. |