1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test/shell
Jonathan Brassow ed3c2537b8 raid: Allow repair to reuse PVs from same image that suffered a PV failure
When repairing RAID LVs that have multiple PVs per image, allow
replacement images to be reallocated from the PVs that have not
failed in the image if there is sufficient space.

This allows for scenarios where a 2-way RAID1 is spread across 4 PVs,
where each image lives on two PVs but doesn't use the entire space
on any of them.  If one PV fails and there is sufficient space on the
remaining PV in the image, the image can be reallocated on just the
remaining PV.
2014-06-25 22:26:06 -05:00
..
000-basic.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-minor.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-missing-segment.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-missing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-partial.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activation-skip.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
clvmd-restart.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
covercmd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
discards-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
dmeventd-restart.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
dumpconfig.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
error-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
fsadm.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
inconsistent-metadata.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
listings.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lock-blocking.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lock-parallel.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-partial-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-partial.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-raid10.sh tests: add have_cache and have_raid 2014-05-20 21:50:30 +02:00
lvchange-raid456.sh tests: add have_cache and have_raid 2014-05-20 21:50:30 +02:00
lvchange-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-syncaction-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-cache.sh cache: Properly rename origin LV tree when adding "_corig" 2014-06-16 18:15:39 -05:00
lvconvert-mirror-basic-0.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic-1.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic-2.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic-3.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-mirror-updown.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-raid456.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-raid-allocation.sh raid: Allow repair to reuse PVs from same image that suffered a PV failure 2014-06-25 22:26:06 -05:00
lvconvert-raid.sh raid/misc: Allow creation of parallel areas by LV vs segment 2014-06-25 21:20:41 -05:00
lvconvert-repair-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-policy.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-raid-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-replace.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-snapshot.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-transient-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-transient.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-snapshot.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-thin-external.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-thin-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-twostep.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-cache.sh cache: Properly rename origin LV tree when adding "_corig" 2014-06-16 18:15:39 -05:00
lvcreate-large-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-large-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-large.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-missing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-pvtags.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-repair.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-signature-wiping.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-small-snap.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-striped-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-thin-external.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-thin-power2.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-thin-snap.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-thin.sh tests: update lvcreate-thin for latest changes 2014-06-17 18:20:08 +02:00
lvcreate-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvextend-percent-extents.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvextend-snapshot-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvextend-snapshot-policy.sh tests: remove dmeventd usage 2014-06-19 12:48:21 +02:00
lvextend-thin-metadata-dmeventd.sh tests: detect version of thin_restore command 2014-06-17 13:43:05 +02:00
lvm-init.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmcache-exercise.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-ambiguous.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-disabled.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-dump.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-lvm1.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-no-cluster.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-override.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-pvs.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-pvscan-cache.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-pvscan-filter.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-pvscan-nomda.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-restart.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-test.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-warning.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-rounding.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-thin-external-origin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-thin-metadata.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
mda-rollback.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
mdata-strings.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
metadata-balance.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
metadata-dirs.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
metadata.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
mirror-names.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
mirror-vgreduce-removemissing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
name-mangling.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
nomda-missing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
nomda-restoremissing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
orphan-ondisk.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pool-labels.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
process-each-duplicate-vgnames.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
process-each-lv.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
process-each-vg.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
profiles-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
profiles.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-duplicate-uuid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-duplicate.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-min-size.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-range-overflow.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvchange-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-bootloaderarea.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-ff.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-metadata0.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-operation-md.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvmove-all-segtypes.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvmove-background.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvmove-basic.sh test: Clean-up pvmove-basic for atomic pvmove test 2014-06-18 15:40:06 -05:00
pvmove-cache-segtypes.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvmove-raid-segtypes.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvmove-restart.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvmove-thin-segtypes.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvremove-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvremove-usage.sh test: pvs bz1108394 2014-06-12 11:56:06 +02:00
pvremove-warnings.sh tests: change to inittest 2014-06-11 17:46:55 +02:00
read-ahead.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
report-select.sh cleanup: gcc warnings and report-select test vs snap_percent 0% 2014-06-18 13:26:47 +02:00
snapshot-autoumount-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-lvm1.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-maxsize.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-merge.sh tests: check new snapshot skills 2014-06-17 13:43:05 +02:00
snapshot-reactivate.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-usage.sh tests: add udev sync point 2014-06-20 11:14:29 +02:00
snapshots-of-mirrors.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
stray-device-node.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
tags.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
test-partition.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-autoumount-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-defaults.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-merge.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-restore.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-vglock.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
topology-support.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
unknown-segment.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
unlost-pv.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vg-name-from-env.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgcfgbackup-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-many.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-maxlv.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-partial.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-sysinit.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-usage.sh tests: update vgchange -c 2014-06-11 11:11:10 +02:00
vgck.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgcreate-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgextend-restoremissing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgextend-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgimportclone.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgmerge-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgmerge-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgreduce-removemissing-snapshot.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgreduce-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgremove-corrupt-vg.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgrename-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-stacked.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
zero-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00