Whamcloud - gitweb
b=24270 need to mkdir mntpt before mount
authorMinh Diep <minh.diep@oracle.com>
Thu, 16 Dec 2010 23:06:13 +0000 (16:06 -0700)
committerAndrew Perepechko <andrew.perepechko@oracle.com>
Fri, 17 Dec 2010 00:01:09 +0000 (03:01 +0300)
i=Elena

lustre/tests/test-framework.sh

index b688410..e87e031 100644 (file)
@@ -390,7 +390,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"