From 0afa8db95ae9ffd2c9ed928071d8a2cfceeea721 Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 3 Jul 2005 10:10:30 +0000 Subject: [PATCH] Branch b1_4 Merge updated docs from b_cray (b1_4-irrelevant bits removed). --- lustre/doc/lconf.8 | 35 +++++- lustre/doc/lconf.lyx | 77 ++++++++++++ lustre/doc/lctl.8 | 105 +++++++++++++--- lustre/doc/lctl.lyx | 346 +++++++++++++++++++++++++++++++++++++++------------ lustre/doc/lmc.1 | 65 +++++++++- lustre/doc/lmc.lyx | 212 +++++++++++++++++++++++++++---- 6 files changed, 716 insertions(+), 124 deletions(-) diff --git a/lustre/doc/lconf.8 b/lustre/doc/lconf.8 index aa16c34..a3e60f1 100644 --- a/lustre/doc/lconf.8 +++ b/lustre/doc/lconf.8 @@ -1,4 +1,4 @@ -.TH lconf 1 "2003 Oct 8" Lustre "configuration utilities" +.TH lconf 1 "2004 Sep 16" Lustre "configuration utilities" .SH NAME lconf \- Lustre filesystem configuration utility .SH SYNOPSIS @@ -14,12 +14,24 @@ lconf \- Lustre filesystem configuration utility The arguments that can be used for lconf are: .PP .TP +--client_uuid +The failed client (required for recovery). +.TP +--clientoptions +Additional options for Lustre. +.TP --config Cluster configuration name used for LDAP query .TP +--conn_uuid +The failed connection (required for recovery). +.TP --d|--cleanup Unconfigure a node. The same config and --node argument used for configuration needs to be used for cleanup as well. This will attempt to undo all of the configuration steps done by lconf, including unloading the kernel modules. .TP +--debug_path +Path to save debug dumps. +.TP --dump Dump the kernel debug log to the specified file before portals is unloaded during cleanup. .TP @@ -68,6 +80,12 @@ Perform configuration of devices and services up to level given. level can take --minlevel Specify the minimum level of services to configure/cleanup. Default is 0. .TP +--mkfsoptions +Specify additional options for the mk*fs command line. +.TP +--mountfsoptions +Specify additional options for mount fs command line. Mount options will be passed by this argument. For example, extents are to be enabled by adding ",extents" to the --mountfsoptions option. "errors=remount-ro" and "asyncdel" can also be added to it. +.TP --node node_name Specify a specific node to configure. By default, lconf will search for nodes with the local hostname and 'localhost'. When --node is used, only node_name is searched for. If a matching node is not found in the config, then lconf exits with an error. .TP @@ -80,12 +98,24 @@ Only setup devices and services, do not load modules. --nosetup Only load modules, do not configure devices or services. .TP +--portals +Specify portals source directory. If this is a relative path, then it is assumed to be relative to lustre. +.TP --portals_upcall Specify the location of the Portals upcall scripts used by the client for recovery .TP --ptldebug debug-level This options can be used to set the required debug level. .TP +--record +Write config information on mds. +.TP +--record_log +Specify the name of config record log. +.TP +--record_device +Specify MDS device name that will record the config commands. +.TP --recover Recover a device. .TP @@ -98,6 +128,9 @@ Select a particular node for a service --subsystem Set the portals debug subsystem. .TP +--tgt_uuid +Specify the failed target (required for recovery). +.TP --timeout Set the recovery timeout period. .TP diff --git a/lustre/doc/lconf.lyx b/lustre/doc/lconf.lyx index 1c6d878..e00d94d 100644 --- a/lustre/doc/lconf.lyx +++ b/lustre/doc/lconf.lyx @@ -56,10 +56,22 @@ This program configures a node following directives in the . on an LDAP server that can be reached from all the cluster nodes. \layout Description +--client_uuid\SpecialChar ~ + The failed client (required for recovery). +\layout Description + +--clientoptions\SpecialChar ~ + Additional options for Lustre. +\layout Description + --config\SpecialChar ~ Cluster configuration name used for LDAP query \layout Description +--conn_uuid\SpecialChar ~ + The failed connection (required for recovery). +\layout Description + --d|--cleanup Unconfigure a node. The same config and \emph on @@ -70,6 +82,10 @@ This program configures a node following directives in the . including unloading the kernel modules. \layout Description +--debug_path\SpecialChar ~ + Path to save debug dumps. +\layout Description + --dump\SpecialChar ~ Dump the kernel debug log to the specified file before portals is unloaded during cleanup. @@ -160,6 +176,43 @@ When used in conjunction with cleanup, services are torn down up to a certain Default is 0. \layout Description +--mkfsoptions\SpecialChar ~ + Specify additional options for the mk*fs command + line. +\layout Description + +--mountfsoptions\SpecialChar ~ + Specify additional options for mount fs command + line. + Mount options will be passed by this argument. + For example, extents are to be enabled by adding +\begin_inset Quotes eld +\end_inset + +,extents +\begin_inset Quotes erd +\end_inset + + to the --mountfsoptions option. + +\begin_inset Quotes eld +\end_inset + +errors=remount-ro +\begin_inset Quotes erd +\end_inset + + and +\begin_inset Quotes eld +\end_inset + +asyncdel +\begin_inset Quotes erd +\end_inset + + can also be added to it. +\layout Description + --node\SpecialChar ~ node_name Specify a specific node to configure. By default, lconf will search for nodes with the local hostname and 'localhost'. @@ -190,6 +243,11 @@ node_name --nosetup Only load modules, do not configure devices or services. \layout Description +--portals\SpecialChar ~ + Specify portals source directory. + If this is a relative path, then it is assumed to be relative to lustre. +\layout Description + --portals_upcall\SpecialChar ~ Specify the location of the Portals upcall scripts used by the client for recovery @@ -201,6 +259,18 @@ level This options can be used to set the required debug level. \layout Description +--record Write config information on mds. +\layout Description + +--record_log\SpecialChar ~ + Specify the name of config record log. +\layout Description + +--record_device\SpecialChar ~ + Specify MDS device name that will record the config + commands. +\layout Description + --recover\SpecialChar ~ Recover a device. \layout Description @@ -213,10 +283,17 @@ level This options can be used to set the required debug Select a particular node for a service \layout Description +--single_socket Specify socknal option: only use one socket instead of bundle. +\layout Description + --subsystem\SpecialChar ~ Set the portals debug subsystem. \layout Description +--tgt_uuid\SpecialChar ~ + Specify the failed target (required for recovery). +\layout Description + --timeout\SpecialChar ~ Set the recovery timeout period. \layout Description diff --git a/lustre/doc/lctl.8 b/lustre/doc/lctl.8 index 264fe27..58e5a80 100644 --- a/lustre/doc/lctl.8 +++ b/lustre/doc/lctl.8 @@ -35,18 +35,48 @@ To get a complete listing of available commands, type help at the lctl prompt. For non-interactive single-threaded use, one uses the second invocation, which runs command after connecting to the device. .B Network Configuration +.TP +--net +Indicate the network type to be used for the operation. .TP network Indicate what kind of network applies for the configuration commands that follow. +.TP +interface_list +Print the interface entries. +.TP +add_interface [netmask] +Add an interface entry. +.TP +del_interface [ip] +Delete an interface entry. +.TP +peer_list +Print the peer entries. +.TP +add_peer +Add a peer entry. +.TP +del_peer [] [] [ks] +Remove a peer entry. +.TP +conn_list +Print all the connected remote nid. .TP connect [[ ] | ] This will establish a connection to a remote network network id given by the hostname/port combination, or the elan id. .TP disconnect Disconnect from a remote nid. +.TP +active_tx +This command should print active transmits, and it is only used for elan network type. .TP mynid [nid] Informs the socknal of the local nid. It defaults to hostname for tcp networks and is automatically setup for elan/myrinet networks. +.TP +shownid +Print the local NID. .TP add_uuid Associate a given UUID with an nid. @@ -62,32 +92,26 @@ Add an entry to the routing table for the given target. .TP del_route Delete an entry for the target from the routing table. +.TP +set_route [