1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test/shell
Jonathan Brassow 8615234c0f RAID: Fix bug making lvchange unable to change recovery rate for RAID
1) Since the min|maxrecoveryrate args are size_kb_ARGs and they
   are recorded (and sent to the kernel) in terms of kB/sec/disk,
   we must back out the factor multiple done by size_kb_arg.  This
   is already performed by 'lvcreate' for these arguments.
2) Allow all RAID types, not just RAID1, to change these values.
3) Add min|maxrecoveryrate_ARG to the list of 'update_partial_unsafe'
   commands so that lvchange will not complain about needing at
   least one of a certain set of arguments and failing.
4) Add tests that check that these values can be set via lvchange
   and lvcreate and that 'lvs' reports back the proper results.
2013-08-09 17:09:47 -05:00
..
000-basic.sh Update tests 2012-03-16 13:00:05 +00:00
activate-minor.sh tests: skip if the system already uses tested minor 2013-05-31 21:42:32 +02:00
activate-missing-segment.sh Partial activation working, expect success in tests. 2012-05-17 12:03:30 +00:00
activate-missing.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
activate-partial.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
clvmd-restart.sh test: wait for pid removal 2013-05-03 15:44:15 +02:00
covercmd.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
discards-thin.sh thin: fix forbidden discards checks 2013-02-05 14:38:16 +01:00
dmeventd-restart.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05: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 TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
listings.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lock-blocking.sh Update tests 2012-03-16 13:00:05 +00:00
lvchange-mirror.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvchange-partial-raid10.sh test: new test new fail 2013-04-23 14:15:04 +02:00
lvchange-partial.sh test: new test new fail 2013-04-23 14:15:04 +02:00
lvchange-raid.sh RAID: Fix bug making lvchange unable to change recovery rate for RAID 2013-08-09 17:09:47 -05: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 TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-mirror.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-raid10.sh tests: drop testing of raids in cluster 2013-05-30 17:35:23 +02:00
lvconvert-raid.sh RAID/MIRROR: Honor mirror_segtype_default when upconverting linear LVs 2013-06-19 17:50:10 -05:00
lvconvert-repair-dmeventd.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-repair-policy.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-repair-raid.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
lvconvert-repair-replace.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-repair-snapshot.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-repair-transient-dmeventd.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-repair-transient.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-repair.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-thin-external.sh test: can convert pool to external origin 2013-08-09 23:17:15 +02:00
lvconvert-thin.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvconvert-twostep.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvcreate-large-raid10.sh tests: make filter extension more robust 2013-06-02 00:50:09 +02:00
lvcreate-large-raid.sh tests: make filter extension more robust 2013-06-02 00:50:09 +02:00
lvcreate-large.sh tests: make filter extension more robust 2013-06-02 00:50:09 +02:00
lvcreate-mirror.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvcreate-missing.sh lvmetad: Mark PVs visible to lvmetad but not to us as MISSING. 2013-04-03 11:40:29 +02:00
lvcreate-operation.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvcreate-pvtags.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvcreate-raid10.sh RAID: Fix bug making lvchange unable to change recovery rate for RAID 2013-08-09 17:09:47 -05:00
lvcreate-raid.sh RAID: Fix bug making lvchange unable to change recovery rate for RAID 2013-08-09 17:09:47 -05:00
lvcreate-repair.sh Improve test suite 2012-03-28 11:10:08 +00:00
lvcreate-small-snap.sh tests: snapshot needs 3 chunks 2013-05-30 17:56:47 +02:00
lvcreate-striped-mirror.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvcreate-thin-external.sh tests: more thin external origin tests 2013-07-15 16:01:28 +02:00
lvcreate-thin-power2.sh test: update thin discards testing 2012-12-11 12:05:48 +01:00
lvcreate-thin-snap.sh thin: not zeroing for non-zeroed thin pool snaps 2013-07-24 01:15:31 +02:00
lvcreate-thin.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvcreate-usage.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvextend-percent-extents.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
lvextend-snapshot-dmeventd.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
lvextend-snapshot-policy.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02: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-disabled.sh lvmetad: Warn if lvmetad is running but disabled. 2012-10-10 13:54:29 +02:00
lvmetad-dump.sh test: Add lvmetad-dump.sh. 2012-10-11 20:32:25 +02:00
lvmetad-lvm1.sh pvscan --cache: Also read metadata from LVM1 PVs (BZ 863401). 2012-10-10 21:55:24 +02:00
lvmetad-no-cluster.sh lvmetad: Disable and warn when locking_type is 3. 2012-10-25 14:31:08 +02:00
lvmetad-override.sh test: Check that overriding use_lvmetad with --config works. 2012-10-30 09:16:15 +01:00
lvmetad-pvs.sh Update tests 2012-03-16 13:00:05 +00:00
lvmetad-pvscan-cache.sh TEST: Only run the pvscan --cache test with lvmetad active. 2012-10-08 07:23:13 +02:00
lvmetad-pvscan-filter.sh tests: comment about pvscan --cache return value 2013-07-22 15:57:18 +02:00
lvmetad-pvscan-nomda.sh lvmetad: Fix autoactivation for MDA-less PVs. 2012-12-12 13:19:04 +01:00
lvmetad-restart.sh test: Check that lvmetad is refreshed correctly on restart. 2012-10-10 13:54:36 +02:00
lvmetad-test.sh TEST: Add lvmetad-test; checks --test with lvmetad. 2012-07-30 11:21:55 +02:00
lvmetad-warning.sh lvmetad: Fix the fix for 813766 (lvmetad connection warning). 2012-10-12 11:22:47 +02:00
lvresize-mirror.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
lvresize-raid10.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
lvresize-raid.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
lvresize-rounding.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
lvresize-thin-metadata.sh thin: metadata resize needs 1.9 version 2013-07-31 15:29:27 +02:00
lvresize-usage.sh Update tests 2012-03-16 13:00:05 +00:00
mdata-strings.sh tests: fix strings test 2013-06-04 15:57:42 +02:00
metadata-balance.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
metadata-dirs.sh Update tests 2012-03-16 13:00:05 +00:00
metadata.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
mirror-names.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
mirror-vgreduce-removemissing.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
name-mangling.sh Update tests 2012-03-16 13:00:05 +00:00
nomda-missing.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
nomda-restoremissing.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
orphan-ondisk.sh TEST: Add a regression test for the ondisk/orphan bug. 2013-07-22 11:57:23 +02:00
pool-labels.sh Update tests 2012-03-16 13:00:05 +00:00
profiles.sh tests: add profiles.sh test 2013-08-07 12:17:36 +02:00
pv-duplicate.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02: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 tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
pvcreate-operation-md.sh tests: make filter extension more robust 2013-06-02 00:50:09 +02:00
pvcreate-operation.sh pvcreate: fix leak on error path 2012-10-19 15:32:21 +02:00
pvcreate-usage.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
pvmove-basic.sh Improve test suite 2012-03-28 11:10:08 +00:00
pvremove-usage.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
read-ahead.sh Update tests 2012-03-16 13:00:05 +00:00
snapshot-autoumount-dmeventd.sh tests: more test run in cluster mode 2013-06-16 00:07:33 +02:00
snapshot-lvm1.sh test: update using exclusive activation 2013-02-05 14:39:11 +01:00
snapshot-merge.sh snapshot: fix merging 2013-07-22 16:26:00 +02:00
snapshot-usage.sh snapshot: fix max size limit check for COW device 2013-06-17 09:37:50 +02:00
snapshots-of-mirrors.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
tags.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
test-partition.sh Update tests 2012-03-16 13:00:05 +00:00
thin-autoumount-dmeventd.sh thin: add support to unmount volumes 2012-10-14 23:19:20 +02:00
thin-defaults.sh tests: update thin testing 2012-11-27 14:10:46 +01:00
thin-restore.sh tests: update thin testing 2012-11-27 14:10:46 +01:00
topology-support.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
unknown-segment.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
unlost-pv.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
vgcfgbackup-usage.sh vgcfgrestore: fix crash on restore of wrong vgname 2013-06-18 22:11:21 +02:00
vgchange-many.sh tests: performance testing 2013-06-06 12:14:53 +02:00
vgchange-maxlv.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
vgchange-partial.sh TEST: Add lvchange-partial.sh and vgchange-partial.sh to the test suite 2012-10-10 11:47:04 -05:00
vgchange-sysinit.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
vgchange-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgcreate-usage.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
vgextend-restoremissing.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
vgextend-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgimportclone.sh tests: do not expose duplicate PVs in vgimportclone.sh 2013-06-02 00:50:09 +02:00
vgmerge-operation.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
vgmerge-usage.sh tests: test mirrors in clustered way 2013-05-31 21:42:32 +02:00
vgreduce-removemissing-snapshot.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
vgreduce-usage.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
vgrename-usage.sh Update tests 2012-03-16 13:00:05 +00:00
vgsplit-operation.sh TEST: Be explicit about which mirror segment type to use. 2013-08-07 15:48:31 -05:00
vgsplit-stacked.sh tests: make filter extension more robust 2013-06-02 00:50:09 +02:00
vgsplit-thin.sh thin: vgsplit support for thins 2013-06-13 14:51:00 +02:00
vgsplit-usage.sh Update tests 2012-03-16 13:00:05 +00:00