From 7900a1b966c3f87bbf6e6f5cf9dae830d097885d Mon Sep 17 00:00:00 2001 From: Linda Bebernes Date: Thu, 19 Sep 2013 13:40:21 -0700 Subject: [PATCH] LUDOC-153 Option: Added lazystatsfs option to lfs df documentation. Updated Section 32.1.3 to document the lazystatsfs option. Signed-off-by: Linda Bebernes Change-Id: I472777a91b9f7f113157f1f7f2efe59517c64295 Reviewed-on: http://review.whamcloud.com/7674 Tested-by: Hudson Reviewed-by: Richard Henwood --- UserUtilities.xml | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/UserUtilities.xml b/UserUtilities.xml index ac9ff93..010bc8d 100644 --- a/UserUtilities.xml +++ b/UserUtilities.xml @@ -33,7 +33,7 @@ lfs changelog [--follow] mdt_name [startrec [endrec]] lfs changelog_clear mdt_name id endrec lfs check mds|osts|servers -lfs df [-i] [-h] [--pool]-p fsname[.pool] [path] +lfs df [-i] [-h] [--pool]-p fsname[.pool] [path] [--lazy] lfs find [[!] --atime|-A [-+]N] [[!] --mtime|-M [-+]N] [[!] --ctime|-C [-+]N] [--maxdepth|-D N] [--name|-n pattern] [--print|-p] [--print0|-P] [[!] --obd|-O ost_name[,ost_name...]] @@ -97,9 +97,9 @@ lfs help The various lfs options are listed and described below. For a complete list of available options, type help at the lfs prompt. - - - + + + @@ -137,10 +137,28 @@ lfs help - df [-i] [-h] [--pool|-p fsname[.pool] [path] - - - Report file system disk space usage or inode usage (with -i) of each MDT/OST or a subset of OSTs if a pool is specified with -p. By default, prints the usage of all mounted Lustre file systems. Otherwise, if path is specified, prints only the usage of that file system. If -h is given, the output is printed in human-readable format, using SI base-2 suffixes for Mega-, Giga-, Tera-, Peta-, or Exabytes. + df [-i] [-h] [--pool|-p + fsname[.pool] + [path] [--lazy] + + + Use -i to report file system disk space usage or inode + usage of each MDT or OST or, if a pool is specified with the -p + option, a subset of OSTs. + By default, the usage of all mounted Lustre file systems is reported. If the + path option is included, only the usage for the specified + file system is reported. If the -h option is included, the + output is printed in human-readable format, using SI base-2 suffixes for Mega-, Giga-, Tera-, Peta-, or + Exabytes. + If the --lazy option is specified, any OST that is + currently disconnected from the client will be skipped. Using the + --lazy option prevents the df output from + being blocked when an OST is offline. Only the space on the OSTs that can + currently be accessed are returned. The llite.*.lazystatfs + tunable can be enabled to make this the default behaviour for all + statfs() operations. -- 1.8.3.1