From cc6aee7169650ec77ab17df8ac94c81bf5d4a27f Mon Sep 17 00:00:00 2001 From: grev <grev> Date: Thu, 13 Mar 2008 19:26:03 +0000 Subject: [PATCH] b=15219 i=Adilger fix local.sh and insanity-local.sh to support not default MKFSOPTs --- lustre/tests/cfg/insanity-local.sh | 4 ++-- lustre/tests/cfg/local.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/cfg/insanity-local.sh b/lustre/tests/cfg/insanity-local.sh index 8aeb1b785a..8b76b59eff 100644 --- a/lustre/tests/cfg/insanity-local.sh +++ b/lustre/tests/cfg/insanity-local.sh @@ -38,7 +38,7 @@ MOUNTOPT="" [ "x$MDSISIZE" != "x" ] && MKFSOPT=$MKFSOPT" -i $MDSISIZE" [ "x$MKFSOPT" != "x" ] && - MKFSOPT="--mkfsoptions=\"$MKFSOPT\"" + MKFSOPT="--mkfsoptions=\\\"$MKFSOPT\\\"" [ "x$mdsfailover_HOST" != "x" ] && MOUNTOPT=$MOUNTOPT" --failnode=`h2$NETTYPE $mdsfailover_HOST`" [ "x$STRIPE_BYTES" != "x" ] && @@ -54,7 +54,7 @@ MOUNTOPT="" [ "x$OSTJOURNALSIZE" != "x" ] && MKFSOPT=$MKFSOPT" -J size=$OSTJOURNALSIZE" [ "x$MKFSOPT" != "x" ] && - MKFSOPT="--mkfsoptions=\"$MKFSOPT\"" + MKFSOPT="--mkfsoptions=\\\"$MKFSOPT\\\"" [ "x$ostfailover_HOST" != "x" ] && MOUNTOPT=$MOUNTOPT" --failnode=`h2$NETTYPE $ostfailover_HOST`" OST_MKFS_OPTS="--ost --fsname=$FSNAME --device-size=$OSTSIZE --mgsnode=$MGSNID --param sys.timeout=$TIMEOUT $MKFSOPT $MOUNTOPT $OSTOPT" diff --git a/lustre/tests/cfg/local.sh b/lustre/tests/cfg/local.sh index 5a94a568fc..6357a345a9 100644 --- a/lustre/tests/cfg/local.sh +++ b/lustre/tests/cfg/local.sh @@ -58,7 +58,7 @@ MOUNTOPT="" [ "x$OSTJOURNALSIZE" != "x" ] && MKFSOPT=$MKFSOPT" -J size=$OSTJOURNALSIZE" [ "x$MKFSOPT" != "x" ] && - MKFSOPT="--mkfsoptions=\"$MKFSOPT\"" + MKFSOPT="--mkfsoptions=\\\"$MKFSOPT\\\"" [ "x$ostfailover_HOST" != "x" ] && MOUNTOPT=$MOUNTOPT" --failnode=`h2$NETTYPE $ostfailover_HOST`" OST_MKFS_OPTS="--ost --fsname=$FSNAME --device-size=$OSTSIZE --mgsnode=$MGSNID --param sys.timeout=$TIMEOUT $MKFSOPT $MOUNTOPT $OSTOPT" -- GitLab