1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00
lvm2/test/shell
Jonathan Earl Brassow eb2d70293d Fix up-convert when mirror activation is controled by volume_list and tags.
When mirrors are up-converted, a transient mirror layer is put in so that
only the new devices are sync'ed.  That transient layer must carry the tags
of the original mirror LV, otherwise it will fail to activate when activation
is regulated by lvm.conf:activation/volume_list.  The conversion would then
fail.

The fix is to do exactly the same thing that is being done for linear ->
mirror converting (lib/metadata/mirror.c:_init_mirror_log()).  We copy the
tags temporarily for the new LV and remove them after the activation.
2012-05-05 02:08:46 +00:00
..
000-basic.sh Update tests 2012-03-16 13:00:05 +00:00
activate-minor.sh Relax the active-minor test a bit. 2012-03-16 11:36:51 +00:00
activate-missing.sh Update tests 2012-03-16 13:00:05 +00:00
activate-partial.sh Update tests 2012-03-16 13:00:05 +00:00
clvmd-restart.sh Tidy the shell tests into their own subdir. We now have: 2011-11-21 00:15:42 +00:00
covercmd.sh Update tests 2012-03-16 13:00:05 +00:00
dmeventd-restart.sh Sleep longer in the test so it really dies properly 2012-03-20 13:35:46 +00:00
dumpconfig.sh Add comment about slow startup of dmeventd 2012-03-16 19:13:09 +00:00
fsadm.sh Update tests 2012-03-16 13:00:05 +00:00
inconsistent-metadata.sh Fix tests to work with vgscan --cache fixing inconsistent metadata. 2012-03-28 07:46:35 +00:00
listings.sh Update tests 2012-03-16 13:00:05 +00:00
lock-blocking.sh Update tests 2012-03-16 13:00:05 +00:00
lvchange-mirror.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-mirror-basic-0.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-mirror-basic-1.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-mirror-basic-2.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-mirror-basic-3.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-mirror-basic.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-mirror.sh Fix up-convert when mirror activation is controled by volume_list and tags. 2012-05-05 02:08:46 +00:00
lvconvert-raid.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-repair-dmeventd.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-repair-policy.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-repair-replace.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-repair-snapshot.sh Disallow snapshots of mirror segment types. 2012-05-01 19:21:24 +00:00
lvconvert-repair-transient-dmeventd.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-repair-transient.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-repair.sh Update tests 2012-03-16 13:00:05 +00:00
lvconvert-twostep.sh Update tests 2012-03-16 13:00:05 +00:00
lvcreate-large.sh Tidy the shell tests into their own subdir. We now have: 2011-11-21 00:15:42 +00:00
lvcreate-mirror.sh Update tests 2012-03-16 13:00:05 +00:00
lvcreate-operation.sh Improve test suite 2012-03-28 11:10:08 +00:00
lvcreate-pvtags.sh Update tests 2012-03-16 13:00:05 +00:00
lvcreate-raid.sh Update tests 2012-03-16 13:00:05 +00:00
lvcreate-repair.sh Improve test suite 2012-03-28 11:10:08 +00:00
lvcreate-small-snap.sh Update tests 2012-03-16 13:00:05 +00:00
lvcreate-striped-mirror.sh Tidy the shell tests into their own subdir. We now have: 2011-11-21 00:15:42 +00:00
lvcreate-thin.sh Update tests 2012-03-16 13:00:05 +00:00
lvcreate-usage.sh Update tests 2012-03-16 13:00:05 +00:00
lvextend-percent-extents.sh Update tests 2012-03-16 13:00:05 +00:00
lvextend-snapshot-dmeventd.sh Update tests 2012-03-16 13:00:05 +00:00
lvextend-snapshot-policy.sh Update tests 2012-03-16 13:00:05 +00:00
lvm-init.sh Update tests 2012-03-16 13:00:05 +00:00
lvmcache-exercise.sh Update tests 2012-03-16 13:00:05 +00:00
lvmetad-pvs.sh Update tests 2012-03-16 13:00:05 +00:00
lvresize-mirror.sh Update tests 2012-03-16 13:00:05 +00:00
lvresize-rounding.sh Expect failure if the reduction doesn't really happen 2012-04-24 12:17:49 +00:00
lvresize-usage.sh Update tests 2012-03-16 13:00:05 +00:00
mdata-strings.sh Improve test suite 2012-03-28 11:10:08 +00:00
metadata-balance.sh Update tests 2012-03-16 13:00:05 +00:00
metadata-dirs.sh Update tests 2012-03-16 13:00:05 +00:00
metadata.sh Update tests 2012-03-16 13:00:05 +00:00
mirror-names.sh Improve test suite 2012-03-28 11:10:08 +00:00
mirror-vgreduce-removemissing.sh Improve test suite 2012-03-28 11:10:08 +00:00
name-mangling.sh Update tests 2012-03-16 13:00:05 +00:00
nomda-missing.sh Update tests 2012-03-16 13:00:05 +00:00
pool-labels.sh Update tests 2012-03-16 13:00:05 +00:00
pv-duplicate.sh Update tests 2012-03-16 13:00:05 +00:00
pv-min-size.sh Update tests 2012-03-16 13:00:05 +00:00
pv-range-overflow.sh Update tests 2012-03-16 13:00:05 +00:00
pvchange-usage.sh Update tests 2012-03-16 13:00:05 +00:00
pvcreate-metadata0.sh Update tests 2012-03-16 13:00:05 +00:00
pvcreate-operation-md.sh Update test for dmevent restart 2012-03-20 10:48:59 +00:00
pvcreate-operation.sh Update tests 2012-03-16 13:00:05 +00:00
pvcreate-usage.sh Update tests 2012-03-16 13:00:05 +00:00
pvmove-basic.sh Improve test suite 2012-03-28 11:10:08 +00:00
pvremove-usage.sh Update tests 2012-03-16 13:00:05 +00:00
read-ahead.sh Update tests 2012-03-16 13:00:05 +00:00
snapshot-autoumount-dmeventd.sh Update tests 2012-03-16 13:00:05 +00:00
snapshot-merge.sh Improve test suite 2012-03-28 11:10:08 +00:00
snapshots-of-mirrors.sh Disallow snapshots of mirror segment types. 2012-05-01 19:21:24 +00:00
tags.sh Update tests 2012-03-16 13:00:05 +00:00
test-partition.sh Update tests 2012-03-16 13:00:05 +00:00
topology-support.sh Update tests 2012-03-16 13:00:05 +00:00
unknown-segment.sh Tidy the shell tests into their own subdir. We now have: 2011-11-21 00:15:42 +00:00
unlost-pv.sh Fix tests to work with vgscan --cache fixing inconsistent metadata. 2012-03-28 07:46:35 +00:00
vgcfgbackup-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgchange-maxlv.sh Update tests 2012-03-16 13:00:05 +00:00
vgchange-sysinit.sh Update tests 2012-03-16 13:00:05 +00:00
vgchange-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgcreate-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgextend-restoremissing.sh Update tests 2012-03-16 13:00:05 +00:00
vgextend-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgimportclone.sh Update tests 2012-03-16 13:00:05 +00:00
vgmerge-operation.sh Update tests 2012-03-16 13:00:05 +00:00
vgmerge-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgreduce-removemissing-snapshot.sh Disallow snapshots of mirror segment types. 2012-05-01 19:21:24 +00:00
vgreduce-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgrename-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgsplit-operation.sh Update tests 2012-03-16 13:00:05 +00:00
vgsplit-stacked.sh Update tests 2012-03-16 13:00:05 +00:00
vgsplit-usage.sh Update tests 2012-03-16 13:00:05 +00:00