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
Alasdair Kergon
9dbaad859d
.
2008-09-19 06:44:54 +00:00
Alasdair Kergon
95d43e17b3
Improve the way VGs with PVs missing are handled so manual intervention
...
is required in fewer circumstances. (mornfall)
2008-09-19 06:42:00 +00:00
Alasdair Kergon
09a2dff8de
Add device/md_chunk_alignment to lvm.conf
2008-09-19 05:33:37 +00:00
Alasdair Kergon
57208f879a
adjust pe_align for md chunk size
2008-09-19 05:19:09 +00:00
Alasdair Kergon
149638431d
remove unsed var
2008-09-19 04:30:02 +00:00
Alasdair Kergon
30d2940c67
Pass struct physical_volume to pe_align.
2008-09-19 04:28:58 +00:00
Alasdair Kergon
5ee86fc5d0
remove unused var
2008-09-19 03:45:34 +00:00
Alasdair Kergon
a03d0e2c3f
Store sysfs location in struct cmd_context.
2008-09-19 03:42:37 +00:00
Alasdair Kergon
8bd367d58d
fix last patch return code
2008-09-19 00:20:39 +00:00
Alasdair Kergon
bc633e03aa
Fix last checkin - tested wrong dnode.
dm_v1_02_28
old-dm_v1_02_28
2008-09-18 22:55:33 +00:00
Alasdair Kergon
797d0f1ef1
post-release
2008-09-18 20:09:51 +00:00
Alasdair Kergon
1be3e86aa0
Avoid shuffling remaining mirror images when removing one, retaining primary.
2008-09-18 19:56:50 +00:00
Alasdair Kergon
e56dd38021
Add missing LV error target activation in _remove_mirror_images.
2008-09-18 19:09:47 +00:00
Alasdair Kergon
410904bef1
Prevent resizing an LV while lvconvert is using it.
2008-09-18 18:51:58 +00:00
Alasdair Kergon
026cc120e7
Only resume devices in dm_tree_preload_children if size changes.
2008-09-18 18:34:53 +00:00
Alasdair Kergon
ef2fda05cf
Avoid repeatedly wiping cache while VG_GLOBAL is held in vgscan & pvscan.
2008-09-16 18:05:11 +00:00
Alasdair Kergon
92277e3ae2
revert unnecessary 'stack's
2008-09-15 17:06:55 +00:00
Milan Broz
fbc34d70b0
Fix pvresize to not allow resize if PV has two metadata areas.
...
If the PV has two metadata areas, second one is located at the end of the device.
Do not allow resize of PV or second metadata area can be overwritten.
(The check was active only for orphan PVs.)
2008-09-12 15:26:45 +00:00
Milan Broz
91dcddbdf7
Do not scan for lvm1 entries in /proc if not running 2.4 kernel.
...
(LVM1 is only present in 2.4 kernel.)
2008-09-10 10:14:59 +00:00
Alasdair Kergon
874f42ad6c
Extend deptree buffers so the largest possible device numbers fit.
2008-09-02 12:16:07 +00:00
Milan Broz
1989ef4ebc
Fix setting of volume limit count if converting to lvm1 format.
...
Fixes problem when after downconvert to lvm1 VG is broken:
# lvcreate -n lv1 -l 4 vg_test
Invalid LV in extent map (PV /dev/sdb1, PE 0, LV 0, LE 0)
...
2008-08-29 13:41:21 +00:00
Dave Wysochanski
4f4c72c065
Add ctype.h header file to silence compile warning on 'isdigit'.
...
uuid/uuid.c:86: warning: implicit declaration of function 'isdigit'
2008-08-29 00:49:46 +00:00
Milan Broz
666cc72661
Fix vgconvert logical volume id metadata validation.
...
If volume group is downconverted to lvm1 format,
check if lvid has supported format for conversion to lv_num in lvm1.
2008-08-28 18:41:51 +00:00
Milan Broz
4524e8f5c9
format1: Not detecing label on disc is not error, remove <backtrace> from debug log
...
(happens when you explicitly use -M 1)
2008-08-28 13:41:46 +00:00
Milan Broz
bd07a29886
Not detecing label on disc is not error, remove <backtrace> from debug log
...
and report it only if device cannot be read.
2008-08-28 13:28:13 +00:00
Milan Broz
a0d865492e
fix vgreduce tests to detect partial command failure (Jaroslav Stava)
2008-08-28 11:20:49 +00:00
Milan Broz
de27790de8
add vgcreate rejects repeated invocation test
...
add vgcreate fails when the only pv has --metadatacopies 0 test
(by Jaroslav Stava)
2008-08-28 11:09:58 +00:00
Milan Broz
9c910b7be2
add vgrename by uuid test (Jaroslav Stava)
...
fix vgsplit rejects last mda copy test (Jaroslav Stava)
2008-08-28 10:59:10 +00:00
Milan Broz
7f23ab94e2
Fix lvmdump metadata gather option (-m) to work correctly. (Jaroslav Stava)
2008-08-28 10:40:44 +00:00
Milan Broz
77dc036c8f
Add pvremove usage test (Jaroslav Stava)
2008-08-28 10:24:55 +00:00