Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Wed, 24 Aug 2005 05:24:14 +0000 (05:24 +0000)
committeradilger <adilger>
Wed, 24 Aug 2005 05:24:14 +0000 (05:24 +0000)
Fix "service lustre status" on OST_only hosts.
b=7396

lustre/scripts/lustre

index 60b1bda..ac13779 100755 (executable)
@@ -144,7 +144,7 @@ status() {
 
        # check for either a server or a client filesystem
        MDS="`ls /proc/fs/lustre/mds/*/recovery_status 2> /dev/null`"
-       OST="`ls /proc/fs/lustre/mds/*/recovery_status 2> /dev/null`"
+       OST="`ls /proc/fs/lustre/obdfilter/*/recovery_status 2> /dev/null`"
        LLITE="`ls /proc/fs/lustre/llite/fs* 2> /dev/null`"
        [ "$MDS" -o "$OST" -o "$LLITE" ] && STATE="running"