From d3f14b341f24e28a453c02a99c7072d2bd39b86a Mon Sep 17 00:00:00 2001 From: wangchao Date: Thu, 16 Sep 2004 04:20:01 +0000 Subject: [PATCH] b=4575 update the manual for lmc, lconf and lctl --- lustre/doc/lconf.8 | 35 +++++++++++++++- lustre/doc/lconf.lyx | 4 ++ lustre/doc/lctl.8 | 114 +++++++++++++++++++++++++++++++++++++++++++------- lustre/doc/lctl.lyx | 114 +++++++++++++++++++++++++------------------------- lustre/doc/lmc.1 | 116 ++++++++++++++++++++++++++++++++++++++++++++++----- lustre/doc/lmc.lyx | 25 +++++++++++ 6 files changed, 325 insertions(+), 83 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 a7d8b62..e00d94d 100644 --- a/lustre/doc/lconf.lyx +++ b/lustre/doc/lconf.lyx @@ -60,6 +60,10 @@ This program configures a node following directives in the . 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 diff --git a/lustre/doc/lctl.8 b/lustre/doc/lctl.8 index 1e112dd..55652c0 100644 --- a/lustre/doc/lctl.8 +++ b/lustre/doc/lctl.8 @@ -35,18 +35,57 @@ 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 +autoconn_list +Print autoconnect entries. +.TP +add_autoconn nid ipaddr port [ise] +Add an autoconnect entry. +.TP +del_autoconn [] [] [ks] +Remove an autoconnect 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 +101,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 [