From e4de0dc2ac03e8b1b9a15db5e56d24f0a5d75ec6 Mon Sep 17 00:00:00 2001
From: liuy <liuy>
Date: Thu, 23 Aug 2007 02:47:41 +0000
Subject: [PATCH] Branch b1_6 b=13362 i=shadow, deen

execute lfs setstripe on client
---
 lustre/ChangeLog       | 6 +++++-
 lustre/tests/sanity.sh | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index 8b24fb6c22..dba9173db2 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -68,6 +68,11 @@ Bugzilla   : 12446
 Description: OSS needs mutliple precreate threads
 Details    : Add ability to start more than one create thread per OSS.
 
+Severity   : normal
+Bugzilla   : 13362
+Description: Sanity.sh test_65k failed: setstripe should have succeeded
+Details    : execute lfs setstripe on client
+
 --------------------------------------------------------------------------------
 
 2007-08-27         Cluster File Systems, Inc. <info@clusterfs.com>
@@ -259,7 +264,6 @@ Description: reply_lock_interpret crash due to race with it and lock cancel.
 Details    : Do not replay locks that are being cancelled. Do not reference
              locks by their address during replay, just by their handle.
 
-
 Severity   : normal 
 Bugzilla   : 11679
 Description: lstripe command fails for valid OST index
diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 257d517ea4..e6173cc963 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -2742,7 +2742,7 @@ test_65k() { # bug11679
                 echo $OSC "is activate"
                 do_facet mds lctl --device %$OSC activate
         done
-        mkdir -p $DIR/$tdir
+        do_facet client mkdir -p $DIR/$tdir
         for INACTIVE_OSC in $MDS_OSCS; do
                 echo $INACTIVE_OSC "is Deactivate:"
                 do_facet mds lctl --device  %$INACTIVE_OSC deactivate
@@ -2751,11 +2751,11 @@ test_65k() { # bug11679
                         STRIPE_INDEX=`do_facet mds cat $LPROC/lov/*md*/target_obd |
                                       grep $STRIPE_OST | awk -F: '{print $1}'`
                         echo "$SETSTRIPE $DIR/$tdir/${STRIPE_INDEX} 0 ${STRIPE_INDEX} 1"
-                        do_facet mds $SETSTRIPE $DIR/$tdir/${STRIPE_INDEX} 0 ${STRIPE_INDEX} 1
+                        do_facet client $SETSTRIPE $DIR/$tdir/${STRIPE_INDEX} 0 ${STRIPE_INDEX} 1
                         RC=$?
                         [ $RC -ne 0 ] && error "setstripe should have succeeded"
                 done
-                rm -f $DIR/$tdir/*
+                do_facet client rm -f $DIR/$tdir/*
                 echo $INACTIVE_OSC "is Activate."
                 do_facet mds lctl --device  %$INACTIVE_OSC activate
         done
-- 
GitLab