1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
Dave Wysochanski eec663aa3b Fix vgsplit to only move hidden 'snapshotN' LVs when necessary.
This bug has been around for a long time as far as I can tell.
Without this fix, a vgsplit would unconditionally move the
'hidden/internal' snapshot LVs, and result in corrupted metadata
in the following case:
vg1: contains lv1, lv1snap, both on pvset1
vg1: contains lv2, on pvset2

"vgsplit vg1 vg2 pvset2"
would result in "snapshot0" hidden LV being moved to vg2, and
the origin and cow being left in vg1.  The tools detect the
corruption in vg2, but not in vg1.
2008-04-09 20:56:06 +00:00
..
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
lvm-utils.sh Enhance test debugging by updating verbose mode of check_*_field_ functions. 2008-03-28 18:02:22 +00:00
Makefile.in Fix 'make check' runnable with recent versions of dmsetup. 2008-01-16 21:21:22 +00:00
mkdtemp Clean-up and wording changes; add copyright notices. 2007-09-18 14:02:22 +00:00
t-000-basic.sh Avoid spurious test failure when compiled with readline support. 2007-12-05 09:49:08 +00:00
t-lvcreate-pvtags.sh Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00
t-lvcreate-usage.sh More test script fixes. 2008-01-17 18:05:57 +00:00
t-lvextend-percent-extents.sh More test script fixes. 2008-01-17 18:05:57 +00:00
t-lvresize-usage.sh Fix lvresize to dump stack if vg_lock_and_read() fails. 2008-04-02 12:17:30 +00:00
t-mdata-strings.sh Add metadata test for escaping double quotes in device names (bz431474). 2008-03-12 17:34:58 +00:00
t-mirror-basic.sh . 2008-01-26 00:25:45 +00:00
t-mirror-lvconvert.sh Fix descriptions in the newly added test cases 2008-01-17 02:20:48 +00:00
t-mirror-names.sh Fix mirror log name construction during lvconvert. (2.02.30) 2008-01-31 12:19:36 +00:00
t-mirror-vgreduce-removemissing.sh Add a test case for 'vgreduce --removemissing' on stacked mirror 2008-01-17 18:29:36 +00:00
t-pv-range-overflow.sh Add validation of LV name to pvmove -n. 2008-04-04 11:59:31 +00:00
t-pvmove-basic.sh Fix 'make check' runnable with recent versions of dmsetup. 2008-01-16 21:21:22 +00:00
t-vgcreate-usage.sh Allow vgcreate options as input to vgsplit when new vg is split destination. 2008-01-14 21:07:58 +00:00
t-vgmerge-operation.sh Add vgmerge tests. 2008-03-26 18:03:35 +00:00
t-vgmerge-usage.sh Add vgmerge tests. 2008-03-26 18:03:35 +00:00
t-vgrename-usage.sh Move more parameter validation into the library. 2008-01-15 22:56:30 +00:00
t-vgsplit-operation.sh Fix vgsplit to only move hidden 'snapshotN' LVs when necessary. 2008-04-09 20:56:06 +00:00
t-vgsplit-usage.sh Add vgsplit tests to verfy attributes of new VG match source VG. 2008-03-23 15:40:35 +00:00
test-lib.sh Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00