From: Richard Henwood Date: Tue, 13 Dec 2011 19:25:53 +0000 (-0600) Subject: LU-680 manual: documentation for instance <-> path mapping. X-Git-Tag: 2.2.0~17 X-Git-Url: https://git.whamcloud.com/?p=doc%2Fmanual.git;a=commitdiff_plain;h=8ca8850c909421f17f63ce486f4b415448ea5fc1 LU-680 manual: documentation for instance <-> path mapping. A new feature was added to lfs with LU-680. This change records the usage of this new feature in the manual. lfs commands are now listed in alphabetical order. The code changeset is: http://review.whamcloud.com/#change,1373 Signed-off-by: Richard Henwood Change-Id: Ifed7b26193fe219174891cdf79f4401b901750f7 --- diff --git a/UserUtilities.xml b/UserUtilities.xml index 9854dba..3dfba45 100644 --- a/UserUtilities.xml +++ b/UserUtilities.xml @@ -41,24 +41,20 @@ lfs find [[!] --atime|-A [-+]N] [[!] --mtime|-M [-+]N] [[!] --gid|-g|--group|-G <gname>|<gid>] [[!] --uid|-u|--user|-U <uname>|<uid>] <dirname|filename> -lfs osts [path] lfs getstripe [--obd|-O <uuid>] [--quiet|-q] [--verbose|-v] [--count|-c] [--index|-i | --offset|-o] [--size|-s] [--pool|-p] [--directory|-d] [--recursive|-r] <dirname|filename> ... -lfs setstripe [--size|-s stripe_size] [--count|-c stripe_cnt] - [--index|-i|--offset|-o start_ost_index] - [--pool|-p <pool>] - <dirname|filename> -lfs setstripe -d <dir> +lfs getname [-h]|[path...] +lfs osts [path] lfs poollist <filesystem>[.<pool>]|<pathname> lfs quota [-q] [-v] [-o obd_uuid|-I ost_idx|-i mdt_idx] [-u <uname>| -u <uid>|-g <gname>| -g <gid>] <filesystem> lfs quota -t <-u|-g> <filesystem> lfs quotacheck [-ug] <filesystem> lfs quotachown [-i] <filesystem> +lfs quotainv [-ug] [-f] <filesystem> lfs quotaon [-ugf] <filesystem> lfs quotaoff [-ug] <filesystem> -lfs quotainv [-ug] [-f] <filesystem> lfs setquota <-u|--user|-g|--group> <uname|uid|gname|gid> [--block-softlimit <block-softlimit>] [--block-hardlimit <block-hardlimit>] @@ -76,6 +72,11 @@ lfs setquota -t <-u|-g> lfs setquota -t <-u|-g> [-b <block-grace>] [-i <inode-grace>] <filesystem> +lfs setstripe [--size|-s stripe_size] [--count|-c stripe_cnt] + [--index|-i|--offset|-o start_ost_index] + [--pool|-p <pool>] + <dirname|filename> +lfs setstripe -d <dir> lfs help @@ -290,6 +291,15 @@ lfs help + getname [path...] + + + List each Lustre instance associated with each Lustre mount point. + If no path is specified, all Lustre mounts points are interrogated. If a list of paths is provided, the instance of each path is provided. If the path is not a Lustre instance 'No such device' is returned. + + + + getstripe @@ -585,6 +595,8 @@ lfs help $ lfs setstripe -d /mnt/lustre/dir Lists the detailed object allocation of a given file. $ lfs getstripe -v /mnt/lustre/file1 + List all the mounted lustre filesystems and corresponding Lustre instances. + $ lfs getname Efficiently lists all files in a given directory and its subdirectories. $ lfs find /mnt/lustre Recursively lists all regular files in a given directory more than 30 days old.