diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-10-09 18:45:12 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-10-09 18:45:12 +1100 |
commit | c5edaf7a6ec3afd9ce578521553434ccc1a41241 (patch) | |
tree | 38acee767c8175ce896a87ada12648273b55495f /ctdb/tools/ctdb_diagnostics | |
parent | 9a8d41a992b9338759f0bcd577e13d90efe54862 (diff) | |
download | samba-c5edaf7a6ec3afd9ce578521553434ccc1a41241.tar.gz |
added some more gpfs commands per-filesystem
(This used to be ctdb commit a5d5aa455c7f7eb93d3fa6f403d5b8e0b795109d)
Diffstat (limited to 'ctdb/tools/ctdb_diagnostics')
-rwxr-xr-x | ctdb/tools/ctdb_diagnostics | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ctdb/tools/ctdb_diagnostics b/ctdb/tools/ctdb_diagnostics index 437580f7e0a..12ccd091185 100755 --- a/ctdb/tools/ctdb_diagnostics +++ b/ctdb/tools/ctdb_diagnostics @@ -175,6 +175,14 @@ EOF show_all "/usr/lpp/mmfs/bin/mmlsquota" show_all "/usr/lpp/mmfs/bin/mmlscluster" show_all "/usr/lpp/mmfs/bin/mmlsmgr" + devlist=`mmlsfs all|grep ^File.system.attributes | cut -d/ -f3 | cut -d: -f1` + for d in $devlist; do + show_all mmdf $d + show_all mmlsdisk $d + show_all mmlsfileset $d + show_all mmlspolicy $d + show_all mmlssnapshot $d + done fslist=`mount|grep type.gpfs|awk '{print $1}'` for fs in $fslist; do show_all "/usr/lpp/mmfs/bin/mmlssnapshot $fs" |