Displaying 20 results from an estimated 31 matches for "lvm_set_filter".
2013 Apr 02
1
missing lvm.conf is fatal
...report for 1.20.4 about this error. There is no /etc/lvm/lvm.conf in
the guest, which is handled as fatal error. Creating an emtpy file with that
name is a workaround for the time being.
$ virt-resize --expand /dev/sda2 in.img out.img
Examining in.img ...
Fatal error: exception Guestfs.Error("lvm_set_filter: open: /tmp/lvmiUFSBa/lvm/lvm.conf: No such file or directory")
Maybe the callers of lvm_set_filter or lvm_set_filter itself can be more forgiving.
Olaf
2013 Jul 23
2
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...and.img"
>> > libguestfs: trace: disk_format = "raw"
>> > libguestfs: trace: get_cachedir
>> > libguestfs: trace: get_cachedir = "/var/tmp"
>> > [...] 100% --:--
>> > libguestfs: trace: launch = 0
>> > libguestfs: trace: lvm_set_filter "/dev/sda"
>> > libguestfs: trace: lvm_set_filter = -1 (error)
>> > Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
>> > Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
>> > Refusing activation of partia...
2013 Jul 22
2
Resize errors with virt-resize/vgchange
.../var/tmp"
libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img"
libguestfs: trace: disk_format = "raw"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
[...] 100% --:--
libguestfs: trace: launch = 0
libguestfs: trace: lvm_set_filter "/dev/sda"
libguestfs: trace: lvm_set_filter = -1 (error)
Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
Refusing activation of partial LV home. Use --partial to override.
Refusing activat...
2013 Jul 22
2
Resize errors with virt-resize/vgchange
.../var/tmp"
libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img"
libguestfs: trace: disk_format = "raw"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
[...] 100% --:--
libguestfs: trace: launch = 0
libguestfs: trace: lvm_set_filter "/dev/sda"
libguestfs: trace: lvm_set_filter = -1 (error)
Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
Refusing activation of partial LV home. Use --partial to override.
Refusing activat...
2013 Jul 23
2
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...: disk_format = "raw"
>> >> > libguestfs: trace: get_cachedir
>> >> > libguestfs: trace: get_cachedir = "/var/tmp"
>> >> > [...] 100% --:--
>> >> > libguestfs: trace: launch = 0
>> >> > libguestfs: trace: lvm_set_filter "/dev/sda"
>> >> > libguestfs: trace: lvm_set_filter = -1 (error)
>> >> > Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
>> >> > Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
>> >>...
2017 Jul 26
0
[PATCH 2/2] tests: lvm: Make the lvm_set_filter test easier to understand.
No functional change.
---
tests/lvm/test-lvm-filtering.sh | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/tests/lvm/test-lvm-filtering.sh b/tests/lvm/test-lvm-filtering.sh
index 0c8b8803a..abb88ae6c 100755
--- a/tests/lvm/test-lvm-filtering.sh
+++ b/tests/lvm/test-lvm-filtering.sh
@@ -40,22 +40,22 @@ pvcreate /dev/sdb1
vgcreate VG1 /dev/sda1
vgcreate VG2
2017 Jul 26
0
Re: check-syntax FAILED (was: Re: [PATCH 2/2] tests: lvm: Make the lvm_set_filter test easier to understand.)
On Wed, Jul 26, 2017 at 11:51:05AM -0400, Richard Jones wrote:
>
> Checking out sources from https://github.com/libguestfs/libguestfs ...
>
> /var/tmp/tmp5QHD8R/libguestfs /var/tmp/tmp5QHD8R
> Reset branch 'master'
> Branch master set up to track remote branch master from origin.
> Your branch is up-to-date with 'origin/master'.
> Already up-to-date.
>
2013 Jul 22
1
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...ce: disk_format "/var/lib/libvirt/images/prop-expand.img"
> libguestfs: trace: disk_format = "raw"
> libguestfs: trace: get_cachedir
> libguestfs: trace: get_cachedir = "/var/tmp"
> [...] 100% --:--
> libguestfs: trace: launch = 0
> libguestfs: trace: lvm_set_filter "/dev/sda"
> libguestfs: trace: lvm_set_filter = -1 (error)
> Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
> Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
> Refusing activation of partial LV home. Use --partial to override...
2013 Jul 23
0
Resize errors with virt-resize/vgchange
.../var/tmp"
libguestfs: trace: disk_format "/var/lib/libvirt/images/prop-expand.img"
libguestfs: trace: disk_format = "raw"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
[...] 100% --:--
libguestfs: trace: launch = 0
libguestfs: trace: lvm_set_filter "/dev/sda"
libguestfs: trace: lvm_set_filter = -1 (error)
Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
Refusing activation of partial LV home. Use --partial to override.
Refusing activat...
2013 Jul 23
0
Re: [libvirt-users] Resize errors with virt-resize/vgchange
.../libvirt/images/prop-expand.img"
> > libguestfs: trace: disk_format = "raw"
> > libguestfs: trace: get_cachedir
> > libguestfs: trace: get_cachedir = "/var/tmp"
> > [...] 100% --:--
> > libguestfs: trace: launch = 0
> > libguestfs: trace: lvm_set_filter "/dev/sda"
> > libguestfs: trace: lvm_set_filter = -1 (error)
> > Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
> > Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
> > Refusing activation of partial LV home. Use -...
2013 Jul 23
0
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...t; libguestfs: trace: disk_format = "raw"
> >> > libguestfs: trace: get_cachedir
> >> > libguestfs: trace: get_cachedir = "/var/tmp"
> >> > [...] 100% --:--
> >> > libguestfs: trace: launch = 0
> >> > libguestfs: trace: lvm_set_filter "/dev/sda"
> >> > libguestfs: trace: lvm_set_filter = -1 (error)
> >> > Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
> >> > Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
> >> > Refusing...
2013 Jul 24
0
Re: [libvirt-users] Resize errors with virt-resize/vgchange
..."
> >> >> > libguestfs: trace: get_cachedir
> >> >> > libguestfs: trace: get_cachedir = "/var/tmp"
> >> >> > [...] 100% --:--
> >> >> > libguestfs: trace: launch = 0
> >> >> > libguestfs: trace: lvm_set_filter "/dev/sda"
> >> >> > libguestfs: trace: lvm_set_filter = -1 (error)
> >> >> > Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
> >> >> > Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM-A763Kc.
>...
2013 Jul 24
2
Re: [libvirt-users] Resize errors with virt-resize/vgchange
...> >> > libguestfs: trace: get_cachedir
>> >> >> > libguestfs: trace: get_cachedir = "/var/tmp"
>> >> >> > [...] 100% --:--
>> >> >> > libguestfs: trace: launch = 0
>> >> >> > libguestfs: trace: lvm_set_filter "/dev/sda"
>> >> >> > libguestfs: trace: lvm_set_filter = -1 (error)
>> >> >> > Fatal error: exception Guestfs.Error("lvm_set_filter: vgchange:
>> >> >> > Couldn't find device with uuid zouQ8X-qxqJ-mp6p-pzg3-mi2i-K9YM...
2013 Jan 02
3
[PATCH] daemon: copy entire lvm directory
cp will fail if /etc/lvm is an empty directory. Copy the entire
directory and adjust environment variable.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
daemon/lvm-filter.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/daemon/lvm-filter.c b/daemon/lvm-filter.c
index 52d6b3d..204e238 100644
--- a/daemon/lvm-filter.c
+++ b/daemon/lvm-filter.c
@@ -47,7
2015 Jan 11
2
Resizing lvm fails with fedora20
...-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 faile...
2014 Sep 09
2
CoreOS support
Hello,
is CoreOS supported by libguestfs?
I was trying to run several commands some were successful others ended up with an error:
for example virt-df was OK but when I tried to do virt-resize I got the following error message:
root@ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized
Examining vm-100-disk-1.qcow2 ...
100%
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...64-min-gen2-v1.gz" "readonly:true"
libguestfs: trace: add_drive_opts = 0
libguestfs: trace: add_drive_opts "/dev/vg0/kvm105_img" "readonly:false"
libguestfs: trace: add_drive_opts = 0
libguestfs: trace: launch
libguestfs: trace: launch = 0
libguestfs: trace: lvm_set_filter "/dev/sda"
libguestfs: trace: lvm_set_filter = 0
libguestfs: trace: available "ntfsprogs ntfs3g"
libguestfs: trace: available = 0
libguestfs: trace: available "btrfs"
libguestfs: trace: available = 0
libguestfs: trace: blockdev_getss "/dev/sdb"
libgues...
2015 Jan 12
0
Re: Resizing lvm fails with fedora20
...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/lvmeta...
2014 Sep 09
2
Re: CoreOS support
...▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ --:--
libguestfs: trace: launch = 0
libguestfs: trace: lvm_set_filter "/dev/sda"
libguestfs: trace: lvm_set_filter = 0
libguestfs: trace: available "ntfsprogs ntfs3g"
libguestfs: trace: available = 0
libguestfs: trace: available "btrfs"
libguestfs: trace: available = -1 (error)
libguestfs: trace: blockdev_getss "/dev/sdb"
libgu...
2017 Jul 26
5
[PATCH 0/2] daemon: Reimplement handling of lvm.conf and filters.
Simplify how we handle lvm.conf.