[LU-17516] add 'lfs df --mdt' and 'lfs df --ost' options Created: 08/Feb/24  Updated: 08/Feb/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy

Issue Links:
Related
is related to LU-11571 MDT pool Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When a filesystem might have hundreds of OSTs, it is useful to be able to show only the MDT stats summary without it scrolling off the screen or having to pipe it through "|grep MDT" each time.

It would be useful to add options like "lfs df --mdt" and "lfs df --ost" to print only the usage on the respective MDT or OST devices. This should work together with existing options like "-i" to show the inode stats, or without to show the block stats, and "--pool" to print only MDTs/OSTs in that pool.

The "--ost" option is included for completeness. If both "--mdt" and "--ost" are specified then it would show both types of devices, as it does today with neither option.


Generated at Sat Feb 10 03:36:04 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.