projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01d6bd5
)
report smart for whole cluster
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 14 Jan 2018 13:23:40 +0000
(14:23 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 14 Jan 2018 13:23:40 +0000
(14:23 +0100)
gnt-smart.sh
patch
|
blob
|
history
diff --git
a/gnt-smart.sh
b/gnt-smart.sh
index
958375d
..
959b36a
100755
(executable)
--- a/
gnt-smart.sh
+++ b/
gnt-smart.sh
@@
-1,3
+1,5
@@
#!/bin/sh -e
-ls /dev/sd? | xargs -i sh -ec 'echo -n "{}\t" ; smartctl -l selftest {} | grep "^# 1"'
+cp /srv/gnt-info/smart-megaraid.sh /tmp/
+gnt-cluster copyfile /tmp/smart-megaraid.sh
+gnt-cluster command -M /tmp/smart-megaraid.sh