1 #LyX 1.2 created this file. For more info see http://www.lyx.org/
3 \textclass amsart-plain
10 \papersize letterpaper
15 \use_numerical_citations 0
16 \paperorientation portrait
19 \paragraph_separation skip
21 \quotes_language english
25 \paperpagestyle default
35 lctl - low level Lustre file system configuration utility
49 --device\SpecialChar ~
50 <devno> <command\SpecialChar ~
57 --threads\SpecialChar ~
58 <numthreads>\SpecialChar ~
59 <verbose>\SpecialChar ~
67 The program can be invoked in interactive mode by issuing
72 After that commands are issued as below.
73 The most common commands in lctl are (in matching pairs)
110 To get a complete listing of available commands, type
115 To get basic help on the meaning and syntax of a command, type
120 Command completion is activated with the
124 key, and command history is available via the up- and down-arrow keys.
128 For non-interactive single threaded use, one uses the second invocation
133 after connecting to the
141 --device The device number to be used for the operation.
142 The value of devno is an integer, normally found by calling
150 --threads How many threads should be forked doing the command specified.
151 The numthreads variable is a strictly positivie integer indicating how
152 many threads should be started.
153 Verbose can take values <XXXX>,
164 network\SpecialChar ~
169 network\SpecialChar ~
170 <tcp/elans/myrinet> Indicate what kind of network applies for the
171 configuration commands that follow
174 connect\SpecialChar ~
175 [[<hostname>\SpecialChar ~
176 <port>]\SpecialChar ~
179 id>] This will establish a connection to
180 a remote network network id given by the hostname/port combination or the
184 disconnect\SpecialChar ~
185 <nid> Disconnect from a remote nid
189 [nid] Informs the socknal of the local nid.
190 It defaults to hostname for tcp networks and is automatically setup for
191 elan/myrinet networks
194 add_uuid\SpecialChar ~
196 <nid> Associate a given UUID with an
203 close_uuid\SpecialChar ~
204 <uuid> Disconnect a UUID
207 del_uuid\SpecialChar ~
208 <uuid> Delete a UUID association
211 add_route\SpecialChar ~
212 <gateway>\SpecialChar ~
213 <target>\SpecialChar ~
214 [target] Add an entry to the routing table for
218 del_route\SpecialChar ~
219 <target> Delete an entry for the target from the routing table
222 route_list Print the complete routing table
225 recv_mem\SpecialChar ~
226 [size] Set the socket receive buffer size, if the size is omited
227 the default size for the buffer is printed
230 send_mem\SpecialChar ~
231 [size] Set send buffer size for the socket, if size is omited the
232 default size for the buffer is printed
236 [on/off] Enable/disable nagle, omiting the arguement will cause the
237 default value to be printed
246 newdev Create a new device
249 name2dev This command can be used to determine a device number for the given
253 device This will select the specified OBD device.
254 All other commands depend on the device being set.
258 device_list Show all the devices
274 a type to the current device (which you need to set using the
278 command) and give that device a name and UUID.
279 This allows us to identify the device for use later, and also tells us
280 what type of device we will have.
284 <args...> Type specific device setup commands.
285 For obdfilter a setup command tells the driver which block device it should
286 use for storage and what type of filesystem is on that device.
290 cleanup Cleanup a previously setup device
293 detach Remove driver (and name and uuid) from the current device
296 lov_setconfig\SpecialChar ~
297 lov-uuid\SpecialChar ~
298 default-stripe-count\SpecialChar ~
299 default-stripe-size\SpecialChar ~
301 pattern\SpecialChar ~
304 UID2...] Write LOV configuration to an MDS device
307 lov_getconfig\SpecialChar ~
308 lov-uuid Read LOV configuration from an MDS device.
309 Returns default-stripe-count, default-stripe-size, offset, pattern, and
320 [timeout] Build a connection handle to a device.
321 This command is used to suspend configuration till the lctl command has
322 ensured that the mds and osc services are available.
323 This is to avoid mount failures in a reebooting cluster
329 getattr\SpecialChar ~
330 <objid> Get attributes for an OST object <objid>
333 setattr\SpecialChar ~
334 <objid>\SpecialChar ~
335 <mode> Set mode attribute for OST object <objid>
341 [verbose]]] Create the specified number <num> of OST objects
342 with the given <mode>
345 destroy\SpecialChar ~
346 <objid> Destroy an OST object
349 test_getattr\SpecialChar ~
351 [verbose\SpecialChar ~
352 [[t]objid]] Do <num> getattrs on OST object <objid>
353 (objectid+1 on each thread)
356 test_brw\SpecialChar ~
357 [t]<num>\SpecialChar ~
359 [verbose\SpecialChar ~
360 [npages\SpecialChar ~
361 [[t]objid]]]] Do <num> bulk read/writes
362 on OST object <objid> (<npages> per I/O)
365 test_ldlm Perform lock manager test
368 ldlm_regress_start\SpecialChar ~
370 [numthreads\SpecialChar ~
371 [refheld\SpecialChar ~
372 [numres\SpecialChar ~
373 [numext]]]] Start lock manager
377 ldlm_regress_stop Stop lock manager stress test
380 dump_ldlm Dump all lock manager state, this is very useful for debugging
383 newconn\SpecialChar ~
384 <olduuid>\SpecialChar ~
393 debug_kernel\SpecialChar ~
395 [raw] Get debug buffer and dump to a fileusage
398 debug_file\SpecialChar ~
399 <input>\SpecialChar ~
400 [output]\SpecialChar ~
401 [raw] Read debug buffer from input and dump to
405 clear Clear kernel debug buffer
409 <text> Insert marker text in kernel debug buffer
413 <subsystem\SpecialChar ~
414 id/debug\SpecialChar ~
415 mask> Filter message type from the kernel debug
420 <subsystem\SpecialChar ~
421 id/debug\SpecialChar ~
422 mask> Show specific type of messages
425 debug_list\SpecialChar ~
426 <subs/types> List all the subsystem and debug types
429 panic Force the kernel to panic
437 help Show a complete list of commands, help <command name> can be used to
438 get help on specific command
441 exit Close the lctl session
444 quit Close the lctl session
458 lctl > attach obdfilter OBDDEV OBDUUID
464 lctl > name2dev OSCDEV
522 lctl > setup /dev/loop0 extN
538 Cluster File Systems, Inc.