added some more gpfs commands per-filesystem
authorAndrew Tridgell <tridge@samba.org>
Thu, 9 Oct 2008 07:45:12 +0000 (18:45 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 9 Oct 2008 07:45:12 +0000 (18:45 +1100)
tools/ctdb_diagnostics

index 437580f7e0a292bb166bcdb898ffeb4982dc8d9b..12ccd09118562acd48a9bf2ef18006511f4876c8 100755 (executable)
@@ -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"