master - test: Creating a cache on top of active RAID works now.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b836525d9cc267a04881b82935a6a045753631bf Commit: b836525d9cc267a04881b82935a6a045753631bf Parent: 888da17495bc4b8a62833315cf7ad1a0bfd8fe2a Author: Petr Rockai <[email protected]> AuthorDate: Tue Oct 7 09:31:21 2014 +0200 Committer: Petr Rockai <[email protected]> CommitterDate: Tue Oct 7 09:32:24 2014 +0200
test: Creating a cache on top of active RAID works now.
--- test/shell/lvconvert-cache.sh | 3 --- test/shell/lvcreate-cache.sh | 5 +---- 2 files changed, 1 insertions(+), 7 deletions(-)
test/shell/lvconvert-cache.sh +0 -3
@@ -90,11 +90,8 @@ fail lvconvert --type cache --cachepool $vg/pool $vg/corigin lvconvert --yes --cache --cachepool $vg/pool $vg/corigin lvremove -ff $vg - -# TODO: creating a cache on top of active RAID appears to be broken lvcreate -n corigin -m 1 --type raid1 -l 10 $vg lvcreate -n cpool --type cache $vg/corigin -l 10 -lvchange --refresh $vg # fix up DM tables lvconvert --splitmirrors 1 --name split $vg/corigin $dev1 lvremove -f $vg
test/shell/lvcreate-cache.sh +1 -4
@@ -156,13 +156,10 @@ grep "is bigger" out # --poolmetadatasize # --poolmetadataspare -# TODO: creating a cache on top of active RAID appears to be broken lvremove -f $vg lvcreate -n corigin -m 1 --type raid1 -l 10 $vg lvcreate -n cpool --type cache $vg/corigin -l 10 -should check active $vg corigin_corig -dmsetup table | grep ^$PREFIX | should grep corigin_corig -lvchange --refresh $vg +check active $vg corigin_corig dmsetup table | grep ^$PREFIX | grep corigin_corig vgremove -ff $vg