Whamcloud - gitweb
b=17827
authorgrev <grev>
Wed, 10 Dec 2008 09:37:48 +0000 (09:37 +0000)
committergrev <grev>
Wed, 10 Dec 2008 09:37:48 +0000 (09:37 +0000)
i=H.Huang
run lsof fix

lustre/tests/test-framework.sh

index 1b2fe9c..440887e 100644 (file)
@@ -534,7 +534,7 @@ zconf_umount() {
     local running=$(do_node $client "grep -c $mnt' ' /proc/mounts") || true
     if [ $running -ne 0 ]; then
         echo "Stopping client $client $mnt (opts:$force)"
-        lsof | grep "$mnt" || true
+        do_node $client lsof | grep "$mnt" || true
         do_node $client umount $force $mnt
     fi
 }