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 filesystem configuration utility.
54 --device\SpecialChar ~
55 <devno> <command\SpecialChar ~
63 --threads\SpecialChar ~
64 <numthreads>\SpecialChar ~
65 <verbose>\SpecialChar ~
73 The program can be invoked in interactive mode by issuing
78 After that, commands are issued as below.
79 The most common commands in lctl are (in matching pairs)
134 To get a complete listing of available commands, type
141 To get basic help on the meaning and syntax of a command, type
148 Command completion is activated with the
154 key, and command history is available via the up- and down-arrow keys.
158 For non-interactive single threaded use, one uses the second invocation,
163 after connecting to the device
170 \labelwidthstring 00.00.0000
178 The device number to be used for the operation.
179 The value of devno is an integer, normally found by calling
186 \labelwidthstring 00.00.0000
194 How many threads should be forked doing the command specified.
195 The numthreads variable is a strictly positivie integer indicating how
196 many threads should be started.
197 Verbose can take values <XXXX>;
208 Network\SpecialChar ~
212 \labelwidthstring 00.00.0000
217 network\SpecialChar ~
221 Indicate what kind of network applies for the configuration commands that
224 \labelwidthstring 00.00.0000
229 connect\SpecialChar ~
230 [[<hostname>\SpecialChar ~
231 <port>]\SpecialChar ~
237 This will establish a connection to a remote network network
241 given by the hostname/port combination, or the elan
247 \labelwidthstring 00.00.0000
252 disconnect\SpecialChar ~
256 Disconnect from a remote
262 \labelwidthstring 00.00.0000
271 Informs the socknal of the local
276 It defaults to hostname for tcp networks and is automatically setup for
277 elan/myrinet networks.
279 \labelwidthstring 00.00.0000
284 add_uuid\SpecialChar ~
289 Associate a given UUID with an
293 \labelwidthstring 00.00.0000
298 close_uuid\SpecialChar ~
304 \labelwidthstring 00.00.0000
309 del_uuid\SpecialChar ~
313 Delete a UUID association.
315 \labelwidthstring 00.00.0000
320 add_route\SpecialChar ~
321 <gateway>\SpecialChar ~
322 <target>\SpecialChar ~
326 Add an entry to the routing table for the given target.
328 \labelwidthstring 00.00.0000
333 del_route\SpecialChar ~
337 Delete an entry for the target from the routing table.
339 \labelwidthstring 00.00.0000
347 Print the complete routing table.
349 \labelwidthstring 00.00.0000
354 recv_mem\SpecialChar ~
362 buffer size; if the size is omitted, the default size for the buffer is
365 \labelwidthstring 00.00.0000
370 send_mem\SpecialChar ~
374 Set send buffer size for the socket; if size is omitted, the default size
375 for the buffer is printed.
377 \labelwidthstring 00.00.0000
386 Enable/disable nagle; omitting the argument will cause the default value
395 \labelwidthstring 00.00.0000
405 \labelwidthstring 00.00.0000
413 This command can be used to determine a device number for the given device
416 \labelwidthstring 00.00.0000
424 This will select the specified OBD device.
425 All other commands depend on the device being set.
428 \labelwidthstring 00.00.0000
436 Show all the devices.
444 \labelwidthstring 00.00.0000
461 a type to the current device (which you need to set using the
467 command) and give that device a name and UUID.
468 This allows us to identify the device for use later, and also tells us
469 what type of device we will have.
471 \labelwidthstring 00.00.0000
480 Type specific device setup commands.
481 For obdfilter, a setup command tells the driver which block device it should
482 use for storage and what type of filesystem is on that device.
485 \labelwidthstring 00.00.0000
493 Cleanup a previously setup device.
495 \labelwidthstring 00.00.0000
503 Remove driver (and name and UUID) from the current device.
505 \labelwidthstring 00.00.0000
510 lov_setconfig\SpecialChar ~
511 lov-uuid\SpecialChar ~
512 default-stripe-count\SpecialChar ~
513 default-stripe-size\SpecialChar ~
515 pattern\SpecialChar ~
521 Write LOV configuration to an MDS device.
523 \labelwidthstring 00.00.0000
528 lov_getconfig\SpecialChar ~
532 Read LOV configuration from an MDS device.
533 Returns default-stripe-count, default-stripe-size, offset, pattern, and
534 a list of OST UUID's.
542 \labelwidthstring 00.00.0000
551 Build a connection handle to a device.
552 This command is used to suspend configuration until the lctl command has
553 ensured that the MDS and OSC services are available.
554 This is to avoid mount failures in a rebooting cluster.
556 \labelwidthstring 00.00.0000
565 \labelwidthstring 00.00.0000
570 getattr\SpecialChar ~
574 Get attributes for an OST object
580 \labelwidthstring 00.00.0000
585 setattr\SpecialChar ~
586 <objid>\SpecialChar ~
590 Set mode attribute for OST object
596 \labelwidthstring 00.00.0000
607 Create the specified number
611 of OST objects with the given
617 \labelwidthstring 00.00.0000
622 destroy\SpecialChar ~
626 Destroy an OST object.
628 \labelwidthstring 00.00.0000
633 test_getattr\SpecialChar ~
635 [verbose\SpecialChar ~
657 \labelwidthstring 00.00.0000
662 test_brw\SpecialChar ~
663 [t]<num>\SpecialChar ~
665 [verbose\SpecialChar ~
666 [npages\SpecialChar ~
692 \labelwidthstring 00.00.0000
700 Perform lock manager test.
702 \labelwidthstring 00.00.0000
707 ldlm_regress_start\SpecialChar ~
709 [numthreads\SpecialChar ~
710 [refheld\SpecialChar ~
711 [numres\SpecialChar ~
715 Start lock manager stress test.
717 \labelwidthstring 00.00.0000
725 Stop lock manager stress test.
727 \labelwidthstring 00.00.0000
735 Dump all lock manager state, this is very useful for debugging
737 \labelwidthstring 00.00.0000
742 newconn\SpecialChar ~
743 <olduuid>\SpecialChar ~
751 \labelwidthstring 00.00.0000
756 debug_kernel\SpecialChar ~
761 Get debug buffer and dump to a
767 \labelwidthstring 00.00.0000
772 debug_file\SpecialChar ~
773 <input>\SpecialChar ~
774 [output]\SpecialChar ~
778 Read debug buffer from input and dump to
784 \labelwidthstring 00.00.0000
792 Clear kernel debug buffer.
794 \labelwidthstring 00.00.0000
803 Insert marker text in kernel debug buffer.
805 \labelwidthstring 00.00.0000
811 <subsystem\SpecialChar ~
812 id/debug\SpecialChar ~
816 Filter message type from the kernel debug buffer.
818 \labelwidthstring 00.00.0000
824 <subsystem\SpecialChar ~
825 id/debug\SpecialChar ~
829 Show specific type of messages.
831 \labelwidthstring 00.00.0000
836 debug_list\SpecialChar ~
840 List all the subsystem and debug types.
842 \labelwidthstring 00.00.0000
850 Force the kernel to panic.
857 \labelwidthstring 00.00.0000
865 Show a complete list of commands;
869 can be used to get help on specific command.
871 \labelwidthstring 00.00.0000
879 Close the lctl session.
881 \labelwidthstring 00.00.0000
889 Close the lctl session.
907 lctl > attach obdfilter OBDDEV OBDUUID
921 lctl > name2dev OSCDEV
993 lctl > setup /dev/loop0 extN