Whamcloud - gitweb
LU-17516 utils: new --mdt and --ost options for lfs df 56/55156/7
authorFrederick Dilger <fdilger@whamcloud.com>
Fri, 17 May 2024 20:19:17 +0000 (14:19 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Jun 2024 06:13:58 +0000 (06:13 +0000)
commit1631c5728b76fc514f64621e664d92fb75686978
treeee99bd3f4f6d151503f54572a220bf9d6453a1b2
parentf155d6456584ada25023bfc028286728ba113e53
LU-17516 utils: new --mdt and --ost options for lfs df

Added [--mdt | -m] and [--ost | -o] options for 'lfs df' to print
only usage of the respective MDT or OST devices in mntdf(). If both
"--mdt" and "--ost" are specified it will show both types of devices
which is identical to having neither specified.

Signed-off-by: Frederick Diger <fdilger@whamcloud.com>
Change-Id: I196b7c9c0c385850372331587936fa5cf6b71d93
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55156
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-df.1
lustre/tests/sanity.sh
lustre/utils/lfs.c [changed mode: 0644->0755]