Section: configuration utilities (8)Updated: 2008 Jan 09Local indexUp
NAME
lfs - helper utility to administrate lustre clusters
SYNOPSIS
lfs
<options> [values]
DESCRIPTION
lfs
lfs is used to administrate a lustre filesystem, you'll need it to get or set
various informations concerning the filesystem usage (e.g. striping, quota, osts, ..)
lfs
can be invoked in interactive and non-interative mode. In order to use it interactive call lfs without arguments.
The available commands in lfs are:
setstripe
,
getstripe
,
find
,
check
,
catinfo
,
join
,
osts
,
df
,
quotachown
,
quotacheck
,
quotaon
,
quotaoff
,
setquota
,
quota
,
help
,
exit
,
quit
In order to get help type
lfs help
If you want more specific help on a command type
lfs help $command
where $command is one of the ones in the list above.
OPTIONS
setstripe:
Create a new file with a specific striping pattern or
set the default striping pattern on an existing directory or
delete the default striping pattern from an existing directory
usage: setstripe <filename|dirname> <stripe_size> <stripe_index> <stripe_count>
or
setstripe <filename|dirname> [--size|-s stripe_size]
[--index|-i stripe_index]
[--count|-c stripe_count]
or
stripe_size: Number of bytes on each OST (0 filesystem default)
Can be specified with k, m or g (in KB, MB and GB respectively)
stripe_index: OST index of first stripe (-1 filesystem default)
stripe_count: Number of OSTs to stripe over (0 default, -1 all)
getstripe:
To list the striping info for a given filename or files in a
directory or recursively for all files in a directory tree.
To find files that match given parameters recursively in a directory tree.
usage: find <dir/file> ...
[[!] --atime|-A [+-]N] [[!] --mtime|-M [+-]N] [[!] --ctime|-C [+-]N]
[--maxdepth|-D N] [[!] --name|-n <pattern>] [--print0|-P]
[--print|-p] [--obd|-O <uuid>] [[!] --type|-t <filetype>]
!: used before an option indicates 'NOT' the requested attribute
-: used before an value indicates 'AT MOST' the requested value
+: used before an option indicates 'AT LEAST' the requested value
check:
Display the status of MDS or OSTs (as specified in the command)
or all the servers (MDS and OSTs).
usage: check <osts|mds|servers>
catinfo:
Show information of specified type logs.
usage: catinfo {keyword} [node name]
keywords are one of followings: config, deletions.
node name must be provided when use keyword config.
join:
join two lustre files into one - join A, B, will be like cat B >> A & del B
usage: join <filename_A> <filename_B>
osts:
osts
FIXME
df:
report filesystem disk space usage or inodes usageof each MDS/OSD.
usage: df [-i] [-h] [path]
quotachown:
Change files' owner or group on the specified filesystem.
usage: quotachown [-i] <filesystem>
-i: ignore error if file is not exist
quotacheck:
Scan the specified filesystem for disk usage, and create,
or update quota files.
This manpage was written by Patrick Winnertz <patrick.winnertz@credativ.de> for the Debian GNU/Linux system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License version 2 or any later version published by the Free Software Foundation.