Download Lustre 1.8 Operations Manual

Transcript
27.1
lfs
The lfs utility can be used to create a new file with a specific striping pattern,
determine the striping pattern of existing files, and gather the extended attributes
(object numbers and location) of a specific file.
Synopsis
lfs
lfs check <mds|osts|servers>
lfs df [-i] [-h] [--pool|-p <fsname>[.<pool>] [path]
lfs find [[!] --atime|-A [-+]N] [[!] --mtime|-M [-+]N]
[[!] --ctime|-C [-+]N] [--maxdepth|-D N] [--name|-n pattern]
[--print|-p] [--print0|-P] [--obd|-O <uuid[s]>]
[[!] --size|-S [-+]N[kMGTPE]] [--type |-t {bcdflpsD}]
[[!] --gid|-g N] [[!] --group|-G <name>]
[[!] --uid|-u N] [[!] --user|-U <name>]
<dirname|filename>
lfs osts
lfs getstripe [--obd|-O <uuid>] [--quiet|-q] [--verbose|-v]
[--recursive|-r] <dirname|filename>
lfs setstripe [--size|-s stripe-size] [--count|-c stripe-cnt]
[--offset|-o start-ost] [--pool|-p <pool>]
<dirname|filename>
lfs setstripe -d <dirname>
lfs poollist <filename[.<pool>] | <pathname>
lfs quota [-v][-o obd_uuid] [-u <username>|-g <groupname>]
<filesystem>
lfs quota -t <-u|-g> <filesystem>
lfs quotacheck [-ugf] <filesystem>
lfs quotachown [-i] <filesystem>
lfs quotaon [-ugf] <filesystem>
lfs quotaoff [-ug] <filesystem>
lfs quotainv [-ug] [-f] <filesystem>
lfs setquota <-u|--user|-g|--group> <username|groupname>
[--block-softlimit <block-softlimit>]
[--block-hardlimit <block-hardlimit>]
[--inode-softlimit <inode-softlimit>]
[--inode-hardlimit <inode-hardlimit>]
<filesystem>
27-2
Lustre 1.8 Operations Manual • October 2009