mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-27 10:25:13 +03:00
tests: cvol
This commit is contained in:
parent
c70bab7531
commit
6666c39346
@ -49,7 +49,7 @@ lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
|
||||
|
||||
check lv_field $vg/$lv1 segtype cache
|
||||
|
||||
lvs -a $vg/$lv2 --noheadings -o segtype >out
|
||||
lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
|
||||
grep raid1 out
|
||||
|
||||
lvchange -ay $vg/$lv1
|
||||
|
@ -52,7 +52,7 @@ lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
|
||||
|
||||
check lv_field $vg/$lv1 segtype cache
|
||||
|
||||
lvs -a $vg/$lv2 --noheadings -o segtype >out
|
||||
lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
|
||||
grep linear out
|
||||
|
||||
lvchange -ay $vg/$lv1
|
||||
@ -94,7 +94,7 @@ lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
|
||||
|
||||
check lv_field $vg/$lv1 segtype cache
|
||||
|
||||
lvs -a $vg/$lv2 --noheadings -o segtype >out
|
||||
lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
|
||||
grep linear out
|
||||
|
||||
lvchange -ay $vg/$lv1
|
||||
|
Loading…
Reference in New Issue
Block a user