Age | Commit message (Collapse) | Author |
|
list report field
$ lvs -o name,tags vg
LV LV Tags
lvol0
lvol1 mytag
Before this patch:
$ lvs -o name,tags vg -S 'tags=""'
Failed to parse string list value for selection field lv_tags.
Selection syntax error at 'tags=""'.
Use 'help' for selection to get more help.
(and the same for -S 'tags={}' and -S 'tags=[]')
With this patch applied:
$ lvs -o name,tags vg -S 'tags=""'
LV LV Tags
lvol0
(and the same for -S 'tags={}' and -S 'tags=[]')
|
|
|
|
|
|
On slower machine/disk, sync may block udev from reading and may prevent
deactivation.
|
|
|
|
Somehow raid tests landed in plain cache - separte them out
so they properly check for have_raid.
Check we do not support strip option with cache-pool creation.
|
|
Certain stacks of cached LVs may have unexpected consequences.
So add a warning function called when LV is cached to detect
such caces and WARN user about them - the best we could do ATM.
|
|
|
|
Use install /lib files to check for expected version.
|
|
Use slightly better values
|
|
Should be slightly better to flushed before dd exits
instead of using direct IO.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since we now let pass activation of thin-pool 'off-by-one' for
plain 'vgchange -ay' update the test to use higher TID.
|
|
This reverts commit 3dbb9a57ca684271dbbc26300aa2e35da9608aa3.
Original code is back as the code restored previous TID handling.
|
|
Tests were written for 'mq' policy, so disable smq.
|
|
Don't abort test when clvmd processes two VGs concurrently.
CLVMD: ioctl/libdm-iface.c:1940 Internal error: Performing unsafe table load while 3 device(s) are known to be suspended: (253:19)
|
|
When lvm.conf is properly configure for auto resize of overprovisioned
thin-pool volume, avoid showing any warning (2.02.124).
|
|
Avoid stacking thins over thins.
|
|
|
|
|
|
|
|
|
|
|
|
This test is testing older style, so disable feature when present.
|
|
Testing if this avoids udev race with removal of snapshot on some
test machines.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1217819
|
|
If udev has not removed 'dir' entry - just issue TEST WARNING, clear
dir, but do not fail whole rest of test.
|
|
Since our test environment runs also in non-real-udev world,
it's using /etc/.cache file with scanned files.
So in this case it is mandatory the user runs 'vgscan'
after a device reappears in the system.
This 'first' lvm2 command then fixes metadata (just like vgs did).
|
|
|
|
Update test for recent updates to support unalligned sizes
and extension of reduced volume.
|
|
With thin-pool kernel target module 1.13 it's now support usage of
external origin with sizes which are not 'alligned' with chunk size
of thin-pool.
Enable lvm2 support for this and also fix reporting of data_percent
usage for case sizes are not alligned.
|
|
|
|
regression test for a segfault in pvscan --cache --background
bug fixed by commit:
f8bf6410954fcf82bf28852e0dba015c6b7f19dc
|
|
|
|
Code works properly.
|
|
Few more test which could live without thin_restore.
|
|
Set LVM_TEST_THIN_REPAIR_CMD to /bin/false for test which
doesn't need it.
This way - even if on the system there is no such tool present,
test will not result with warning about missing tool.
Also remove from Makefile settings of TEST vars which are set in
through /lib/paths - this also allows to override them in test.
|
|
Obtain location of machine-id.
NOTE: lvmconfig cannot dump 'life' value - should be fixed.
|
|
Bash 3.2 doesn't understand this syntax (i.e. RHEL5).
And it's even better - reports syntax error and return success.
|
|
|
|
Assuming it should test same number as other functions.
|
|
See doc/lvmpolld_overview.txt
|
|
|
|
Use 64bit arithmentic for PV size calculation (Coverity).
Also remove sector shift for compared PV size, since all
values are already held in sectors.
This fixes validatio of PV size when restoring PV
from vg metadata backup file.
|
|
overlooked pvmove-restart test during cleanup
|