X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Frecovery-cleanup.sh;h=77b5646a05cf7368a8db764ce13f04ae03aee9da;hp=e4eefd01ad74f69409fa44ace5d0395ab936047b;hb=7ce2000eb0f4e7b7ea1f362c17099881098cfef7;hpb=805eb83edc09835390276fbc6ac3c55722b90950 diff --git a/lustre/tests/recovery-cleanup.sh b/lustre/tests/recovery-cleanup.sh index e4eefd0..77b5646 100755 --- a/lustre/tests/recovery-cleanup.sh +++ b/lustre/tests/recovery-cleanup.sh @@ -27,6 +27,7 @@ MDSSIZE=${MDSSIZE:-100000} FSTYPE=${FSTYPE:-ext3} OSTDEV=${OSTDEV:-/tmp/ost1-`hostname`} OSTSIZE=${OSTSIZE:-100000} +STRIPE_BYTES=${STRIPE_BYTES:-1048576} do_mds() { $PDSH $MDSNODE "PATH=\$PATH:$LUSTRE/utils:$LUSTRE/tests; cd $PWD; $@" || exit $? @@ -54,7 +55,7 @@ make_config() { done lmc -m $CONFIG --add mds --node $MDSNODE --mds mds1 --fstype $FSTYPE \ --dev $MDSDEV --size $MDSSIZE || exit 5 - lmc -m $CONFIG --add lov --lov lov1 --mds mds1 --stripe_sz 65536 \ + lmc -m $CONFIG --add lov --lov lov1 --mds mds1 --stripe_sz $STRIPE_BYTES \ --stripe_cnt 0 --stripe_pattern 0 || exit 6 lmc -m $CONFIG --add ost --nspath /mnt/ost_ns --node $OSTNODE \ --lov lov1 --dev $OSTDEV --size $OSTSIZE --fstype $FSTYPE || exit 7