#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass amsart-plain \language english \inputencoding auto \fontscheme times \graphics default \paperfontsize default \spacing single \papersize letterpaper \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Section lctl \layout Subsection NAME \layout Description lctl Low level Lustre filesystem configuration utility. \layout Subsection SYNOPSIS \layout Standard \series bold lctl \layout Standard \series bold lctl\SpecialChar ~ --device\SpecialChar ~ \layout Standard \series bold lctl\SpecialChar ~ --threads\SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ \layout Subsection DESCRIPTION \layout Standard The program can be invoked in interactive mode by issuing \series bold lctl. \series default After that, commands are issued as below. The most common commands in lctl are (in matching pairs) \family typewriter \size small device \family default \size default and \family typewriter \size small attach \family default \size default , \family typewriter \size small detach \family default \size default and \family typewriter \size small setup \family default \size default , \family typewriter \size small cleanup \family default \size default and \family typewriter \size small connect \family default \size default , \family typewriter \size small disconnect \family default \size default and \family typewriter \size small help \family default \size default , and \family typewriter \size small quit \family default \size default . To get a complete listing of available commands, type \family typewriter \size small help \family default \size default at the lctl prompt. To get basic help on the meaning and syntax of a command, type \family typewriter \size small help command \family default \size default . Command completion is activated with the \family typewriter \size small TAB \family default \size default key, and command history is available via the up- and down-arrow keys. \layout Standard For non-interactive single threaded use, one uses the second invocation, which runs \emph on command \emph default after connecting to the device \emph on . \emph default \layout Description --device The device number to be used for the operation. The value of devno is an integer, normally found by calling \emph on lctl device_list/dl \emph default . \layout Description --threads How many threads should be forked doing the command specified. The numthreads variable is a strictly positive integer indicating how many threads should be started. The \emph on devno \emph default option is used as above. \layout Description --ignore_errors\SpecialChar ~ |\SpecialChar ~ ignore_errors Ignore errors that occur during script processing. \layout Description dump Save ioctl buffer to file. \layout LyX-Code \layout Description Network\SpecialChar ~ Configuration \begin_deeper \layout Description --net\SpecialChar ~ \series bold \series default \SpecialChar ~ \series bold \series default Indicate the network type to be used for the operation. \layout Description network\SpecialChar ~ Indicate what kind of network applies for the configuration commands that follow. \layout Description interface_list Print the interface entries. \layout Description add_interface\SpecialChar ~ \series bold < \series default ip>\SpecialChar ~ [netmask] Add an interface entry. \layout Description del_interface\SpecialChar ~ [ip] Delete an interface entry. \layout Description peer_list Print the peer entries. \layout Description add_peer\SpecialChar ~ \series bold < \series default nid>\SpecialChar ~ \series bold < \series default host>\SpecialChar ~ \series bold < \series default port> \series bold Add a peer entry. \layout Description del_peer\SpecialChar ~ [ \series bold < \series default nid>]\SpecialChar ~ [ \series bold < \series default host>]\SpecialChar ~ [ks] Remove a peer entry. \layout Description autoconn_list Print autoconnect entries. \layout Description add_autoconn\SpecialChar ~ \series bold nid \series default \SpecialChar ~ \series bold ipaddr \series default \SpecialChar ~ \series bold port \series default \SpecialChar ~ \series bold [ise] \series default Add an autoconnect entry. \layout Description del_autoconn\SpecialChar ~ \series bold [] \series default \SpecialChar ~ \series bold [] \series default \SpecialChar ~ \series bold [ks] \series default Remove an autoconnect entry. \layout Description conn_list Print all the connected remote nid. \layout Description connect\SpecialChar ~ \SpecialChar ~ \SpecialChar ~ [iIOC] This will establish a connection to a remote network, network \emph on id \emph default given by the hostname/port combination. \layout Description disconnect\SpecialChar ~ Disconnect from a remote \emph on nid \emph default . \layout Description active_tx This command should print active transmits, and it is only used for elan network type. \layout Description mynid\SpecialChar ~ [nid] Informs the socknal of the local \emph on nid \emph default . It defaults to hostname for tcp networks and is automatically setup for elan/myrinet networks. \layout Description shownid Print the local NID. \layout Description add_uuid\SpecialChar ~ \SpecialChar ~ \SpecialChar ~ Associate a given UUID with an \emph on nid. \layout Description close_uuid\SpecialChar ~ \SpecialChar ~ Disconnect a UUID. \layout Description del_uuid\SpecialChar ~ Delete a UUID association. \layout Description add_route\SpecialChar ~ \SpecialChar ~ \SpecialChar ~ [] Add an entry to the portals routing table for the given target. The arguments should be nid. If only one is provided, this command should only add the route for this target. But, if both of the s are provides, this command should add the route for all the target in the range specified by the two targets(from low nid to high nid). \layout Description del_route\SpecialChar ~ \SpecialChar ~ []\SpecialChar ~ [] Delete the route entry for the given targets from the portals routing table. The arguments should be nid. \layout Description set_route\SpecialChar ~ \SpecialChar ~ \SpecialChar ~ [