1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-24 06:04:19 +03:00

Fix t-lvcreate-usage, as lvcreate ... -i1 no longer prints "Redundant stripes

argument: default is 1".
This commit is contained in:
Petr Rockai 2010-04-13 06:25:08 +00:00
parent 05d40b3142
commit 19d0f2b57c

View File

@ -33,8 +33,7 @@ not lvcreate -L 64m -n $lv -i2 --stripesize 4294967291 $vg 2>err
grep "^ Stripe size cannot be larger than" err
# 'lvcreate w/single stripe succeeds with diagnostics to stdout'
lvcreate -L 64m -n $lv -i1 --stripesize 4 $vg >out 2>err
grep "^ Redundant stripes argument: default is 1\$" out
lvcreate -L 64m -n $lv -i1 --stripesize 4 $vg 2> err | tee out
grep "^ Ignoring stripesize argument with single stripe\$" out
lvdisplay $vg
lvremove -ff $vg