From: minhdiep Date: Mon, 13 Dec 2010 17:01:05 +0000 (-0700) Subject: b=24270 need to mkdir mntpt before mount X-Git-Tag: 2.0.59.0~19 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=b6ea6dd695081c3a38c34266ead002885b61448c;ds=sidebyside b=24270 need to mkdir mntpt before mount o=Minh i=Elena --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index f2e7936..425d524 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -564,7 +564,7 @@ mount_facet() { local mntpt=$(facet_mntpt $facet) echo "Starting ${facet}: ${!opt} $@ ${!dev} $mntpt" - do_facet ${facet} mount -t lustre ${!opt} $@ ${!dev} $mntpt + do_facet ${facet} "mkdir -p $mntpt; mount -t lustre ${!opt} $@ ${!dev} $mntpt" RC=${PIPESTATUS[0]} if [ $RC -ne 0 ]; then echo "mount -t lustre $@ ${!dev} $mntpt"