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 [--obd <uuid>] [--quiet | --verbose] [--recursive] <dir|file>
62 setstripe <filename|dirname> <stripe_size> <start_ost> <stripe_cnt>
67 setstripe -d <dirname>
73 check <mds| osts| servers>
79 quotachog [-i] <filesystem>
85 quotacheck [-ug] <filesystem>
91 quotaon [-ugf] <filesystem>
97 quotaoff [-ug] <filesystem>
103 setquota [-u|-g] <name> <block-softlimit> <block-hardlimit> <inode-softlimit>
104 <inode-hardlimit> <filesystem>
110 quota [-o obd_uuid] [-u|-g] <name> <filesystem>
116 This utility can be used to create a new file with a specific striping pattern,
117 determine the default striping pattern, gather the extended attributes
118 (object numbers and location) for a specific file, and manipulate disk
120 It can be invoked interactively without any arguments or in a non-interactive
121 mode with one of the arguements listed and explained below:
123 \labelwidthstring 00.00.0000
129 To create a new file with a specific striping pattern
131 \labelwidthstring 00.00.0000
137 To list the extended attributes for a given filename or files in a directory
138 or recursively for all files in a directory tree.
139 It can also be used to list the files that have objects on a specific OST.
142 \labelwidthstring 00.00.0000
148 To list the striping pattern for given filename
150 \labelwidthstring 00.00.0000
156 Display the status of MDS or OSTs (as specified in the command) or all the
157 servers (MDS and OSTs)
159 \labelwidthstring 00.00.0000
165 List all the OSTs for the filesystem
167 \labelwidthstring 00.00.0000
173 Change files' owner and group on OSTs of the specified filesystem
175 \labelwidthstring 00.00.0000
181 Scan the specified filesystem for disk usage, and create or update quota
184 \labelwidthstring 00.00.0000
190 Turn filesystem quotas on
192 \labelwidthstring 00.00.0000
198 Turn filesystem quotas off
200 \labelwidthstring 00.00.0000
206 Set filesystem quotas
208 \labelwidthstring 00.00.0000
214 Display disk usage and limits
216 \labelwidthstring 00.00.0000
222 Provides brief help on the various arguments
224 \labelwidthstring 00.00.0000
230 Quit the interactive lfs session
236 This creates a file striped on one OST
239 $ lfs setstripe /mnt/lustre/file1 131072 0 1
242 This creates a default stripe pattern on and existing dir for all new files
246 $ lfs setstripe /mnt/lustre/dir 131072 0 1
249 This deletes a default stripe pattern on dir. New files will use the
250 default striping pattern.
254 $ lfs setstripe -d /mnt/lustre/dir
257 Listing the extended attributes of a given file
260 $ lfs find /mnt/lustre/foo1
266 0: OST_localhost_UUID
272 obdidx objid objid group
278 Listing the extended attributes of all files in a given directory
281 $ lfs find /mnt/lustre/
284 Recursively list the extended attributes of all files in a given directory
288 $ lfs find -r /mnt/lustre/
291 List all the files that have objects on a specific OST
294 $ lfs find -r --obd OST2_UUID /mnt/lustre/
297 Check the status of all servers(mds, osts)
303 OSC_localhost.localdomain_OST_localhost_mds1 active.
307 OSC_localhost.localdomain_OST_localhost_MNT_localhost active.
311 MDC_localhost.localdomain_mds1_MNT_localhost active.
326 0: OST_localhost_UUID
339 $lfs quotachog -i /mnt/lustre
342 Quotacheck\SpecialChar ~
349 $lfs quotacheck -ug /mnt/lustre
361 $lfs quotaon -ug /mnt/lustre
373 $lfs quotaoff -ug /mnt/lustre
390 $lfs setquota -u bob 0 1000000 0 10000 /mnt/lustre
400 $lfs quota -u bob /mnt/lustre