Hi,
I'm trying to resize a 15GB LVM root partition on a fedora20 server with
a fedora20 guest and I'm having a problem. Is this supported on fedora20?
I recall having a similar problem (maybe even exact same problem) all
the way back in fedora16 or fedora17, but hoped/thought it would be
fixed by now?
# virt-df -h test1-011015.img
Filesystem Size Used Available Use%
test1-011015.img:/dev/prop/boot 476M 109M 338M 23%
test1-011015.img:/dev/prop/root 14G 10G 3.3G 72%
# truncate -s 50G newimg
# virt-resize test1-011015.img newimg --expand /dev/sda1 --LV-expand
/dev/prop/root
Examining test1-011015.img ...
virt-resize: libguestfs error: lvm_set_filter: vgchange -ay:
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
Couldn't find device with uuid uA2ju5-EElD-xgB3-EE7J-gJ55-UnkY-Vq2l6H.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
Refusing activation of partial LV home. Use --partial to override.
What are my alternatives for resizing a root partition on LVM?
Thanks,
Alex