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 lovconfig\SpecialChar ~
297 lov-uuid\SpecialChar ~
298 stripe-count\SpecialChar ~
299 stripe-size\SpecialChar ~
301 pattern\SpecialChar ~
304 LOV configuration to an MDS device
314 [timeout] Build a connection handle to a device.
315 This command is used to suspend configuration till the lctl command has
316 ensured that the mds and osc services are available.
317 This is to avoid mount failures in a reebooting cluster
323 getattr\SpecialChar ~
324 <objid> Get attributes for an OST object <objid>
327 setattr\SpecialChar ~
328 <objid>\SpecialChar ~
329 <mode> Set mode attribute for OST object <objid>
335 [verbose]]] Create the specified number <num> of OST objects
336 with the given <mode>
339 destroy\SpecialChar ~
340 <objid> Destroy an OST object
343 test_getattr\SpecialChar ~
345 [verbose\SpecialChar ~
346 [[t]objid]] Do <num> getattrs on OST object <objid>
347 (objectid+1 on each thread)
350 test_brw\SpecialChar ~
351 [t]<num>\SpecialChar ~
353 [verbose\SpecialChar ~
354 [npages\SpecialChar ~
355 [[t]objid]]]] Do <num> bulk read/writes
356 on OST object <objid> (<npages> per I/O)
359 test_ldlm Perform lock manager test
362 ldlm_regress_start\SpecialChar ~
364 [numthreads\SpecialChar ~
365 [refheld\SpecialChar ~
366 [numres\SpecialChar ~
367 [numext]]]] Start lock manager
371 ldlm_regress_stop Stop lock manager stress test
374 dump_ldlm Dump all lock manager state, this is very useful for debugging
377 newconn\SpecialChar ~
378 <olduuid>\SpecialChar ~
387 debug_kernel\SpecialChar ~
389 [raw] Get debug buffer and dump to a fileusage
392 debug_file\SpecialChar ~
393 <input>\SpecialChar ~
394 [output]\SpecialChar ~
395 [raw] Read debug buffer from input and dump to
399 clear Clear kernel debug buffer
403 <text> Insert marker text in kernel debug buffer
407 <subsystem\SpecialChar ~
408 id/debug\SpecialChar ~
409 mask> Filter message type from the kernel debug
414 <subsystem\SpecialChar ~
415 id/debug\SpecialChar ~
416 mask> Show specific type of messages
419 debug_list\SpecialChar ~
420 <subs/types> List all the subsystem and debug types
423 panic Force the kernel to panic
431 help Show a complete list of commands, help <command name> can be used to
432 get help on specific command
435 exit Close the lctl session
438 quit Close the lctl session
452 lctl > attach obdfilter OBDDEV OBDUUID
458 lctl > name2dev OSCDEV
516 lctl > setup /dev/loop0 extN
532 Cluster File Systems, Inc.