Skip to content
Snippets Groups Projects
Commit d14f4638 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=12962

i=Nathan.Rutman

set MDS_MOUNT_OPTS correctly for liblustre test
parent 80d93881
No related branches found
No related tags found
No related merge requests found
...@@ -246,7 +246,12 @@ for NAME in $CONFIGS; do ...@@ -246,7 +246,12 @@ for NAME in $CONFIGS; do
[ -f /etc/modprobe.conf ] && MODPROBECONF=/etc/modprobe.conf [ -f /etc/modprobe.conf ] && MODPROBECONF=/etc/modprobe.conf
[ -f /etc/modprobe.d/Lustre ] && MODPROBECONF=/etc/modprobe.d/Lustre [ -f /etc/modprobe.d/Lustre ] && MODPROBECONF=/etc/modprobe.d/Lustre
LNETOPTS="$(awk '/^options lnet/ { print $0}' $MODPROBECONF | sed 's/^options lnet //g') accept=all" MDS_MOUNT_OPTS="${MDS_MOUNT_OPTS},noacl" $SETUP LNETOPTS="$(awk '/^options lnet/ { print $0}' $MODPROBECONF | \
sed 's/^options lnet //g') accept=all" \
MDS_MOUNT_OPTS=$(echo $MDS_MOUNT_OPTS | sed 's/^[ \t]*//;s/[ \t]*$//') \
MDS_MOUNT_OPTS="${MDS_MOUNT_OPTS},noacl" \
MDS_MOUNT_OPTS=${MDS_MOUNT_OPTS/#,/-o } \
$SETUP
export LIBLUSTRE_MOUNT_POINT=$MOUNT2 export LIBLUSTRE_MOUNT_POINT=$MOUNT2
export LIBLUSTRE_MOUNT_TARGET=$MGSNID:/$FSNAME export LIBLUSTRE_MOUNT_TARGET=$MGSNID:/$FSNAME
export LIBLUSTRE_TIMEOUT=`cat /proc/sys/lustre/timeout` export LIBLUSTRE_TIMEOUT=`cat /proc/sys/lustre/timeout`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment