1 #LyX 1.3 created this file. For more info see http://www.lyx.org/
10 \papersize letterpaper
15 \use_numerical_citations 0
16 \paperorientation portrait
19 \paragraph_separation skip
21 \quotes_language english
25 \paperpagestyle default
35 lfs Lustre utility to create a file with specific striping pattern and manipulat
50 find [--atime|-A N] [--mtime|-M N] [--ctime|-C N] [--maxdepth|-D N] [--print0
51 |-P] [--print|-p] [--obd|-O <uuid>] <dir/file>
57 find [--quiet|-q] [--verbose|-v] [--recursive|-r] <dir/file>
63 getstripe [--obd|-O <uuid>] [--quiet|-q] [--verbose|-v] [--recursive|-r]
70 setstripe <filename|dirname> <stripe_size> <start_ost> <stripe_cnt>
76 setstripe -d <dirname>
82 check <mds| osts| servers>
88 quotachog [-i] <filesystem>
94 quotacheck [-ug] <filesystem>
100 quotaon [-ugf] <filesystem>
106 quotaoff [-ug] <filesystem>
112 setquota [-u|-g] <name> <block-softlimit> <block-hardlimit> <inode-softlimit>
113 <inode-hardlimit> <filesystem>
119 quota [-o obd_uuid] [-u|-g] <name> <filesystem>
137 This utility can be used to create a new file with a specific striping pattern,
138 determine the default striping pattern, gather the extended attributes
139 (object numbers and location) for a specific file, and manipulate disk
141 It can be invoked interactively without any arguments or in a non-interactive
142 mode with one of the arguements listed and explained below:
144 \labelwidthstring 00.00.0000
150 To create a new file with a specific striping pattern
152 \labelwidthstring 00.00.0000
158 To search the directory tree rooted at the given dir/file name for the
159 files that match the given parameters: --atime (file was last accessed
160 N*24 hours ago), --ctime (file's status was last changed N*24 hours ago),
161 --mtime (file's data was last modified N*24 hours ago), --obd (file has
162 an object on a specific OST).
163 The option --maxdepth allows find to decend at most N levels of directory
165 The options --print and --print0 print full file name, followed by a newline
166 and null character correspondingly.
168 \labelwidthstring 00.00.0000
174 To list the striping info for a given filename or files in a directory
175 or recursively for all files in a directory tree use one of the following
176 options: [--quiet|-q] [--verbose|-v] [--recursive|-r].
177 If one of these options is given find works in old (obsolete, please use
178 getstripe instead) mode.
181 \labelwidthstring 00.00.0000
187 To list the striping info for given filename or files in a directory or
188 recursively for all files in a directory tree.
189 It can also be used to list the files that have objects on a specific OST.
191 \labelwidthstring 00.00.0000
197 Display the status of MDS or OSTs (as specified in the command) or all the
198 servers (MDS and OSTs)
200 \labelwidthstring 00.00.0000
206 List all the OSTs for the filesystem
208 \labelwidthstring 00.00.0000
214 Change files' owner and group on OSTs of the specified filesystem
216 \labelwidthstring 00.00.0000
222 Scan the specified filesystem for disk usage, and create or update quota
225 \labelwidthstring 00.00.0000
231 Turn filesystem quotas on
233 \labelwidthstring 00.00.0000
239 Turn filesystem quotas off
241 \labelwidthstring 00.00.0000
247 Set filesystem quotas
249 \labelwidthstring 00.00.0000
255 Display disk usage and limits
257 \labelwidthstring 00.00.0000
263 Report filesystem disk space usage or inodes usage of each MDS/OSD.
265 \labelwidthstring 00.00.0000
271 Provides brief help on the various arguments
273 \labelwidthstring 00.00.0000
279 Quit the interactive lfs session
285 This creates a file striped on one OST
288 $ lfs setstripe /mnt/lustre/file1 131072 0 1
291 This creates a default stripe pattern on and existing dir for all new files
295 $ lfs setstripe /mnt/lustre/dir 131072 0 1
298 This deletes a default stripe pattern on dir.
299 New files will use the default striping pattern.
303 $ lfs setstripe -d /mnt/lustre/dir
306 Listing the extended attributes of a given file
309 $ lfs find /mnt/lustre/foo1
315 0: OST_localhost_UUID
321 obdidx objid objid group
327 Listing the extended attributes of all files in a given directory
330 $ lfs find /mnt/lustre/
333 Recursively list the extended attributes of all files in a given directory
337 $ lfs find -r /mnt/lustre/
340 List all the files that have objects on a specific OST
343 $ lfs find -r --obd OST2_UUID /mnt/lustre/
346 Check the status of all servers(mds, osts)
352 OSC_localhost.localdomain_OST_localhost_mds1 active.
356 OSC_localhost.localdomain_OST_localhost_MNT_localhost active.
360 MDC_localhost.localdomain_mds1_MNT_localhost active.
375 0: OST_localhost_UUID
388 $lfs quotachog -i /mnt/lustre
391 Quotacheck\SpecialChar ~
398 $lfs quotacheck -ug /mnt/lustre
410 $lfs quotaon -ug /mnt/lustre
422 $lfs quotaoff -ug /mnt/lustre
439 $lfs setquota -u bob 0 1000000 0 10000 /mnt/lustre
449 $lfs quota -u bob /mnt/lustre