LLNL / lmt

Lustre Monitoring Tools
GNU General Public License v2.0
67 stars 21 forks source link

Add MDT count to FS selection list #29

Closed dinatale2 closed 8 years ago

dinatale2 commented 8 years ago

Multiple MDTs are now possible in Lustre 2.8 filesystems. The MDT count is now displayed along side the OST count on the file system selection list.

Signed-off-by: Giuseppe Di Natale dinatale2@llnl.gov

dinatale2 commented 8 years ago

Included the MDT count in the search for the default filesystem to monitor. If either the number of OSTs or MDTs is 0, then it's not a valid filesystem, so skip it.

ofaaland commented 8 years ago

Code looks good. Built and tested on zwicky successfully. +1 from me.

dinatale2 commented 8 years ago

I actually goofed. I put in a logical OR instead of an AND when trying to find a file system to display. Went ahead and fixed it.