Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14241e7
)
Branch b1_4
author
adilger
<adilger>
Wed, 24 Aug 2005 05:24:14 +0000
(
05:24
+0000)
committer
adilger
<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
patch
|
blob
|
history
diff --git
a/lustre/scripts/lustre
b/lustre/scripts/lustre
index
60b1bda
..
ac13779
100755
(executable)
--- a/
lustre/scripts/lustre
+++ b/
lustre/scripts/lustre
@@
-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"