Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Sat, 30 Sep 2006 14:04:07 +0000 (14:04 +0000)
committerwangdi <wangdi>
Sat, 30 Sep 2006 14:04:07 +0000 (14:04 +0000)
fixes for 18b recovery-small.sh

lustre/tests/test-framework.sh

index de3e6b2..e13e76d 100644 (file)
@@ -487,7 +487,7 @@ mds_evict_client() {
 }
 
 ost_evict_client() {
-    UUID=`cat /proc/fs/lustre/osc/${ost1_svc}-osc-*/uuid`
+    UUID=`grep ${ost1_svc}-osc- $LPROC/devices | egrep -v 'MDT' | awk '{print $5}'`
     do_facet ost1 "echo $UUID > /proc/fs/lustre/obdfilter/${ost1_svc}/evict_client"
 }