Alasdair Kergon
3a5dce4c92
pre-release
v2_02_42
old-v2_02_42
2008-10-26 10:33:34 +00:00
Alasdair Kergon
22d7e60d0e
Accept locking fallback_to_* options in the global section as documented.
2008-10-24 01:16:16 +00:00
Alasdair Kergon
5752156c9e
Fix temp table activation in mirror conversions not to happen in other cmds.
...
Fix temp table in mirror conversions to use always-present error not zero.
2008-10-23 11:21:04 +00:00
Alasdair Kergon
a30215a530
post-release
2008-10-17 17:48:10 +00:00
Alasdair Kergon
f9c8c1b964
pre-release
old-v2_02_41
v2_02_41
2008-10-17 17:42:08 +00:00
Alasdair Kergon
5650f67ef5
Use temp table to set device size when converting mirrors.
...
(Avoids having same mirror table loaded twice concurrently by first
using a 'zero' table to set the size of the device so when mirror
table is preloaded it doesn't have to be activated immediately.)
2008-10-17 10:57:15 +00:00
Alasdair Kergon
5ec25dfb94
In resume_mirror_images replace activate_lv with resume_lv as workaround.
...
(The resume has the side-effect of resuming all of the original
mirror's sub-lvs in addition to the new 'error' target middle layer.)
2008-10-17 10:50:14 +00:00
Alasdair Kergon
ef16682725
Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE. (Edward Allcutt)
2008-10-17 00:55:46 +00:00
Petr Rockai
883486cc67
Re-indent test-utils.sh consistently, using tabs.
2008-10-14 19:48:01 +00:00
Petr Rockai
f367f9b747
Conversion of last 2 tests to use test-utils.sh, by jstava.
2008-10-14 19:41:12 +00:00
Milan Broz
a3d987fa73
Fix snapshot monitoring library to not cancel monitoring invalid snapshot.
...
snapshot DSO unregistered itself when snapshot changed state to invalid.
This can cause a race (and several timeouts), when for example another snapshot
is added and in the middle of operation (suspend/resume) the monitoring thread
unregister itself.
Fix it by keeping the snapshot monitored after invalidation - just reset
threshold to not really print any messages to syslog.
2008-10-13 12:06:30 +00:00
Alasdair Kergon
2d48685673
.
2008-10-09 10:47:37 +00:00
Alasdair Kergon
9b21ace1e9
Generate man pages from templates and include version. (romster)
2008-10-08 12:50:13 +00:00
Alasdair Kergon
be2c03fa96
Add usrlibdir & usrsbindir to configure.
2008-10-07 19:11:59 +00:00
Alasdair Kergon
f5585e9252
Add usrsbindir to configure.
2008-10-07 19:08:46 +00:00
Petr Rockai
4d534dd7e4
Add a workaround for missing losetup -s
by jstava, and a print a stacktrace
...
on errors (also by jstava). Currently requires bash, a fix for that may come
later -- explicitly using bash to run tests in the meantime.
2008-10-06 16:55:30 +00:00
Petr Rockai
c8584e1cce
More test conversions by jstava. Make check still passes.
2008-10-06 16:47:07 +00:00
Alasdair Kergon
84a1de464c
Fix conversion of md chunk size into sectors.
2008-10-03 14:22:18 +00:00
Alasdair Kergon
3966f3d319
device->devices
2008-10-01 22:48:26 +00:00
Petr Rockai
e6166cf711
Make harness.sh exit with non-zero status when tests fail.
2008-09-30 21:45:42 +00:00
Petr Rockai
2285712834
Cosmetic: get rid of trailing garbage on comments in t-vgslpit-usage.sh.
2008-09-30 21:43:55 +00:00
Petr Rockai
53cb6128e8
Improve harness.sh output: also mention failing test's name near the end of its
...
output. Avoids the need to scroll back just to see which failing test you are
looking at.
2008-09-30 21:43:16 +00:00
Alasdair Kergon
8c317baf19
Free text metadata buffer after a failure writing it.
2008-09-30 20:37:52 +00:00
Petr Rockai
8cac933c71
Fix [ a = b ] usage in t-vgsplit-operation: string comparison is '=', not '=='.
2008-09-30 18:29:10 +00:00
Petr Rockai
03e61a4bf8
Conversion of t-vgsplit-operation.sh by jstava.
2008-09-30 17:56:54 +00:00
Petr Rockai
71446a76b2
Fix a syntax error in one of the scripts, introduced by last commit.
2008-09-30 17:50:56 +00:00
Petr Rockai
28db8d6c7c
More test conversions, all of these are by jstava.
2008-09-30 17:47:34 +00:00
Petr Rockai
786e33d7d5
Port over t-vgreduce-usage. Should fix testsuite hangs where pvremove -ff would
...
have waited for input on certain test failures.
2008-09-30 17:17:04 +00:00
Petr Rockai
b140d6c50e
Convert t-vgsplit-usage.sh to use the new test-utils.sh. Original conversion by
...
jstava. Lvm1 testing restored by mornfall.
2008-09-30 15:20:09 +00:00
Petr Rockai
64a95abdee
Convert t-pvremove-usage to use the new test-utils.sh.
2008-09-30 13:19:56 +00:00
Petr Rockai
57f926be17
Update test/Makefile.in to use the new harness for calling tests.
2008-09-29 16:07:02 +00:00
Petr Rockai
4933b67959
Add a test for reappearing lost PVs causing endless metadata correction
...
updates. (A problem Milan fixed recently.)
2008-09-29 16:06:10 +00:00
Petr Rockai
370b4f1b9e
Add a simple test for partial activation.
2008-09-29 16:04:57 +00:00
Petr Rockai
f3b7baa84e
Update a bunch of tests to use functionality from test-utils.sh.
2008-09-29 16:02:50 +00:00
Petr Rockai
eafdb2c807
Export testlib_cleanup_ from test-lib.sh, which is needed for test-utils.sh to
...
be able to call proper EXIT traps.
2008-09-29 16:00:53 +00:00
Petr Rockai
a91fa821ab
Import new test utilities and a test harness.
2008-09-29 15:59:19 +00:00
Milan Broz
37ef162cda
Fix misleading error message when there is no allocatable extents in VG.
2008-09-29 09:59:10 +00:00
Milan Broz
770928acfc
Fix handling of PVs which reappeared with old metadata version.
2008-09-25 15:59:10 +00:00
Milan Broz
d0f3570219
Try to fix possible infinite loop in dependency tree walking (by mornfall).
2008-09-25 15:57:02 +00:00
Milan Broz
3d07c2605f
Fix mirror DSO to call vgreduce with proper parameters.
2008-09-25 15:52:29 +00:00
Milan Broz
c350798528
Fix validation of --minor and --major in lvcreate to require -My always.
2008-09-24 16:32:51 +00:00
Alasdair Kergon
6bc3cc0bec
.
2008-09-19 18:31:20 +00:00
Alasdair Kergon
2e3e5fcc81
suppress warning if old value found for now
2008-09-19 18:26:41 +00:00
Milan Broz
dfdb10f6de
Add more vgreduce tests. (Jaroslav Stava)
2008-09-19 16:12:25 +00:00
Milan Broz
5cbe5909eb
Fix vgreduce test, now requires --force flag. (Jaroslav Stava)
2008-09-19 16:10:46 +00:00
Alasdair Kergon
04d52b450b
fix last release
2008-09-19 15:44:03 +00:00
Alasdair Kergon
a586a89547
.
old-v2_02_40
v2_02_40
2008-09-19 07:18:03 +00:00
Alasdair Kergon
1905eacf15
rename var
2008-09-19 07:12:45 +00:00
Alasdair Kergon
858ec0d740
revert unexplained removal of a '<backtrace>' message
2008-09-19 07:03:23 +00:00
Alasdair Kergon
76cfd406ca
pre-release
2008-09-19 06:48:48 +00:00