Whamcloud - gitweb
LU-8900 doc: Lustre snapshot man page
[fs/lustre-release.git] / lustre / doc / lctl.8
1 .TH lctl 8 "2017 Jan 12" Lustre "configuration utilities"
2 .SH NAME
3 lctl \- Low level Lustre filesystem configuration utility
4 .SH SYNOPSIS
5 .br
6 .B lctl
7 .br
8 .B lctl --device <devno> <command [args]>
9 .br
10 .B lctl --version
11 .br
12 .B lctl --list-commands
13 .br
14 .SH DESCRIPTION
15 .B lctl
16 is used to directly control Lustre via an ioctl interface, allowing
17 various configuration, maintenance, and debugging features to be accessed.
18
19 .B lctl
20 can be invoked in interactive mode by issuing lctl command. After that, commands are issued as below. The most common commands in lctl are
21 .BR dl ,
22 .BR dk ,
23 .BR device ,
24 .B network
25 .IR <up/down> ,
26 .BR list_nids ,
27 .B ping
28 .IR nid ,
29 .BR help ,
30 .BR quit .
31
32 To get a complete listing of available commands, type
33 .B --list-commands
34 at the lctl prompt.  To get basic help on the meaning and syntax of a
35 command, type
36 .B help
37 .I command
38 .  Command completion is activated with the TAB key, and command history is available via the up- and down-arrow keys.
39
40 For non-interactive use, one uses the second invocation, which runs command after connecting to the device.
41
42 .SS Network Configuration
43 .TP
44 .BR network " <" up / down >|< tcp / o2ib >
45 Start or stop LNET, or select a network type for other
46 .I lctl
47 LNET commands
48 .TP
49 .BI list_nids
50 Print all Network Identifiers on the local node. LNET must be running.
51 .TP
52 .BI which_nid " <nidlist>"
53 From a list of nids for a remote node, show which interface communication
54 will take place on.
55 .TP
56 .BI replace_nids " <devicename> <nid1>[,nid2,nid3 ...]"
57 Replace the LNET Network Identifiers for a given device,
58 as when the server's IP address has changed.
59 This command must be run on the MGS node.
60 Only MGS server should be started (command execution returns error
61 in another cases). To start the MGS service only:
62 mount -t lustre <MDT partition> -o nosvc <mount point>
63 Note the replace_nids command skips any invalidated records in the configuration log.
64 The previous log is backed up with the suffix '.bak'.
65 .TP
66 .BI ping " <nid> timeout"
67 Check LNET connectivity via an LNET ping. This will use the fabric
68 appropriate to the specified NID. By default lctl will attempt to
69 reach the remote node up to 120 seconds and then timeout. To disable
70 the timeout just specify an negative timeout value.
71 .TP
72 .BI interface_list
73 Print the network interface information for a given
74 .B network
75 type.
76 .TP
77 .BI peer_list
78 Print the known peers for a given
79 .B network
80 type.
81 .TP
82 .BI conn_list
83 Print all the connected remote NIDs for a given
84 .B network
85 type.
86 .TP
87 .BI route_list
88 Print the complete routing table.
89 .PP
90 .SS Device Selection
91 .TP
92 .BI device " <devname> "
93 This will select the specified OBD device.  All other commands depend on the device being set.
94 .TP
95 .BI device_list
96 Show all the local Lustre OBDs. AKA
97 .B dl
98 .PP
99 .SS Device Operations
100 .TP
101 .BI list_param " [-F|-R] <param_search ...>"
102 List the Lustre or LNet parameter name
103 .B -F
104 Add '/', '@' or '=' for dirs, symlinks and writeable files, respectively.
105 .br
106 .B -R
107 Recursively list all parameters under the specified parameter search string. If
108 .I param_search
109 is unspecified, all the parameters will be shown.
110 .br
111 .B Examples:
112 .br
113 .B
114 # lctl list_param ost.*
115 .br
116   ost.OSS
117 .br
118   ost.num_refs
119 .br
120 .B
121 # lctl list_param -F ost.* debug
122 .br
123   ost.OSS/
124 .br
125   ost.num_refs
126 .br
127   debug=
128 .br
129 .B
130 # lctl list_param -R mdt
131 .br
132   mdt
133 .br
134   mdt.lustre-MDT0000
135 .br
136   mdt.lustre-MDT0000.capa
137 .br
138   mdt.lustre-MDT0000.capa_count
139 .br
140   mdt.lustre-MDT0000.capa_key_timeout
141 .br
142   mdt.lustre-MDT0000.capa_timeout
143 .br
144   mdt.lustre-MDT0000.commit_on_sharing
145 .br
146   mdt.lustre-MDT0000.evict_client
147 .br
148   ...
149 .TP
150 .BI get_param " [-F|-n|-N|-R] <parameter ...>"
151 Get the value of Lustre or LNET parameter.
152 .br
153 .B -F
154 When -N specified, add '/', '@' or '=' for directories, symlinks and writeable files, respectively.
155 .br
156 .br
157 .B -n
158 Print only the value and not parameter name.
159 .br
160 .B -N
161 Print only matched parameter names and not the values. (Especially useful when using patterns.)
162 .br
163 .B -R
164 Print all of the parameter names below the specified name.
165 .br
166 .B Examples:
167 .br
168 .B
169 # lctl get_param ost.*
170 .br
171   ost.OSS
172 .br
173   ost.num_refs
174 .br
175 .B
176 # lctl get_param -n debug timeout
177 .br
178   super warning dlmtrace error emerg ha rpctrace vfstrace config console
179 .br
180   20
181 .br
182 .B
183 # lctl get_param -N ost.* debug
184 .br
185   ost.OSS
186 .br
187   ost.num_refs
188 .br
189   debug
190 .br
191 lctl "get_param -NF" is equivalent to "list_param -F".
192 .TP
193 .BI set_param " [-n] [-P] [-d] <parameter=value ...>"
194 Set the value of Lustre or LNET parameter.
195 .br
196 .B -n
197 Disable printing of the key name when printing values.
198 .br
199 .B -P
200 Set the parameter permanently, filesystem-wide.
201 This parameters are only visible to 2.5.0 and later clients, older clients will not see these parameters.
202 .br
203 .B -d
204 Remove the permanent setting (only with -P option)
205 .br
206 .B Examples:
207 .br
208 .B
209 # lctl set_param fail_loc=0 timeout=20
210 .br
211   fail_loc=0
212 .br
213   timeout=20
214 .br
215 .B
216 # lctl set_param -n fail_loc=0 timeout=20
217 .br
218   0
219 .br
220   20
221 .br
222 .B
223 # lctl set_param -P osc.*.max_dirty_mb=32
224 .br
225 .TP
226 .BI conf_param " [-d] <device|fsname>.<parameter>=<value>"
227 Set a permanent configuration parameter for any device via the MGS.  This
228 command must be run on the MGS node.
229 .br
230 .B -d <device|fsname>.<parameter>
231 Delete a parameter setting (use the default value at the next restart).  A null value for <value> also deletes the parameter setting.
232 .br
233 .B Parameters:
234 .br
235 All of the writable parameters under
236 .B lctl list_param
237 (e.g.
238 .I lctl list_param -F osc.*.* | grep =
239 ) can be permanently set using
240 .B lctl conf_param
241 , but the format is slightly different.  For conf_param, the device is specified first, then the obdtype. (See examples below.)  Wildcards are not supported.
242 .br
243 Additionally, failover nodes may be added (or removed), and some system-wide parameters may be set as well (sys.at_max, sys.at_min, sys.at_extra, sys.at_early_margin, sys.at_history, sys.timeout, sys.ldlm_timeout.)  <device> is ignored for system wide parameters.
244 .br
245 .B Examples:
246 .br
247 # lctl conf_param testfs.sys.at_max=1200
248 .br
249 # lctl conf_param testfs.llite.max_read_ahead_mb=16
250 .br
251 # lctl conf_param testfs-MDT0000.lov.stripesize=2M
252 .br
253 # lctl conf_param lustre-OST0001.osc.active=0
254 .br
255 # lctl conf_param testfs-OST0000.osc.max_dirty_mb=29.15
256 .br
257 # lctl conf_param testfs-OST0000.ost.client_cache_seconds=15
258 .br
259 # lctl conf_param testfs-OST0000.failover.node=1.2.3.4@tcp1
260 .TP
261 .BI activate
262 Reactivate an import after deactivating, below.  This setting is only effective until the next restart (see
263 .B conf_param
264 ).
265 .TP
266 .BI deactivate
267 Deactivate an import, in particular meaning do not assign new file stripes
268 to an OSC.  This command should be used on the OSC in the MDT LOV
269 corresponding to a failed OST device, to prevent further attempts at
270 communication with the failed OST.
271 .TP
272 .BI abort_recovery
273 Abort the recovery process on a restarting MDT or OST device
274 .PP
275 .SS Changelogs
276 .TP
277 .BI changelog_register " [-n]"
278 Register a new changelog user for a particular device.  Changelog entries
279 will not be purged beyond any registered users' set point. (See lfs changelog_clear.)
280 .br
281 .B -n
282 Print only the ID of the newly registered user.
283 .TP
284 .BI changelog_deregister " <id>"
285 Unregister an existing changelog user.  If the user's "clear" record number
286 is the minimum for the device, changelog records will be purged until the
287 next minimum.
288 .PP
289 .SS Nodemap
290 An identity mapping feature that facilitates mapping of client UIDs and GIDs to
291 local file system UIDs and GIDs, while maintaining POSIX ownership, permissions,
292 and quota.
293
294 While the nodemap feature is enabled, all client file system access is subject
295 to the nodemap identity mapping policy, which consists of the 'default' catchall
296 nodemap, and any user-defined nodemaps. The 'default' nodemap maps all client
297 identities to 99:99 (nobody:nobody). Administrators can define nodemaps for a
298 range of client NIDs which map identities, and these nodemaps can be flagged as
299  'trusted' so identities are accepted without translation, as well as flagged
300 as 'admin' meaning that root is not squashed for these nodes.
301
302 Note: In the current phase of implementation, to use the nodemap functionality
303 you only need to enable and define nodemaps on the MDS. The MDSes must also be
304 in a nodemap with the admin and trusted flags set. To use quotas with nodemaps,
305 you must also use set_param to enable and define nodemaps on the OSS (matching
306 what is defined on the MDS). Nodemaps do not currently persist, unless you
307 define them with set_param and use the -P flag. Note that there is a hard limit
308 to the number of changes you can persist over the lifetime of the file system.
309
310 See also:
311
312 .PP
313 \fBlctl-nodemap-activate\fR(8)
314 .RS 4
315 Activate/deactivate the nodemap feature.
316 .RE
317 .PP
318 \fBlctl-nodemap-add\fR(8)
319 .RS 4
320 Add a new nodemap, to which NID ranges, identities, and properties can be added.
321 .RE
322 .PP
323 \fBlctl-nodemap-del\fR(8)
324 .RS 4
325 Delete an existing nodemap.
326 .RE
327 .PP
328 \fBlctl-nodemap-add-range\fR(8)
329 .RS 4
330 Define a range of NIDs for a nodemap.
331 .RE
332 .PP
333 \fBlctl-nodemap-del-range\fR(8)
334 .RS 4
335 Delete an existing NID range from a nodemap.
336 .RE
337 .PP
338 \fBlctl-nodemap-add-idmap\fR(8)
339 .RS 4
340 Add a UID or GID mapping to a nodemap.
341 .RE
342 .PP
343 \fBlctl-nodemap-del-idmap\fR(8)
344 .RS 4
345 Delete an existing UID or GID mapping from a nodemap.
346 .RE
347 .PP
348 \fBlctl-nodemap-modify\fR(8)
349 .RS 4
350 Modify a nodemap property.
351 .RE
352
353 .SS LFSCK
354 An on-line Lustre consistency check and repair tool. It is used for totally
355 replacing the old lfsck tool for kinds of Lustre inconsistency verification,
356 including: corrupted or lost OI mapping, corrupted or lost link EA, corrupted
357 or lost FID in name entry, dangling name entry, multiple referenced name entry,
358 unmatched MDT-object and name entry pairs, orphan MDT-object, incorrect
359 MDT-object links count, corrupted namespace, corrupted or lost lov EA, lost
360 OST-object, multiple referenced OST-object, unmatched MDT-object and OST-object
361 pairs, orphan OST-object, and so on.
362
363 See also:
364
365 .PP
366 \fBlctl-lfsck-start\fR(8)
367 .RS 4
368 Start LFSCK on the specified MDT or OST device with specified parameters.
369 .RE
370 .PP
371 \fBlctl-lfsck-stop\fR(8)
372 .RS 4
373 Stop LFSCK on the specified MDT or OST device.
374 .RE
375 .PP
376 \fBlctl-lfsck-query\fR(8)
377 .RS 4
378 Get the LFSCK global status via the specified MDT device.
379 .RE
380 .SS BARRIER
381 The tools set for write (modify) barrier on all MDTs.
382 .TP
383 .B barrier_freeze \fR<fsname> [timeout]
384 .br
385 Set write barrier on all MDTs. The barrier_freeze command will not return
386 until the barrier is set (frozen) or failed. With the write barrier set,
387 any subsequent metadata modification will be blocked until the barrier is
388 thawed or expired. The barrier lifetime is started when triggering
389 barrier_freeze, and will be terminated when barrier thawed. To avoid the
390 system being frozen for very long time if miss/fail to call barrier_thaw,
391 you can specify its lifetime via the 'timeout' parameter in second, the
392 default value is 60 (seconds). If the barrier is not thawed before that,
393 it will be expired automatically.
394 A barrier_freeze can only succeed when all registered MDTs are available.
395 If some MDT has ever registered but become offline, then barrier_freeze
396 will fail. To check and update current status of MDTs, see the command
397 barrier_rescan.
398 .TP
399 .B barrier_thaw \fR<fsname>
400 .br
401 Reset write barrier on all MDTs. With the write barrier thawed, all blocked
402 metadata modifications (by the former barrier_freeze) will be handled normally.
403 .TP
404 .B barrier_stat \fR<fsname>
405 .br
406 Query the write barrier status, the possible status and related meanings are
407 as following:
408 .br
409   'init': has never set barrier on the system
410   'freezing_p1': in the first stage of setting the write barrier
411   'freezing_p2': in the second stage of setting the write barrier
412   'frozen': the write barrier has been set successfully
413   'thawing': in thawing the write barrier
414   'thawed': the write barrier has been thawed
415   'failed': fail to set write barrier
416   'expired': the write barrier is expired
417   'rescan': in scanning the MDTs status, see the command barrier_rescan
418   'unknown': other cases
419 .br
420 If the barrier is in 'freezing_p1', 'freezing_p2' or 'frozen' status, then
421 the left lifetime will be returned also.
422 .TP
423 .B barrier_rescan \fR<fsname> [timeout]
424 .br
425 Scan the system to check which MDTs are active. The status of the MDTs is
426 required because a barrier_freeze will be unsuccessful if any of the MDTs
427 are permenantly offline. During barrier_rescan, the MDT status is updated.
428 If an MDT does not respond the barrier_rescan within the given "timeout"
429 seconds (where the default value is 60 seconds), then it will be marked
430 as unavailable or inactive.
431
432 .SS SNAPSHOT
433 ZFS backend based snapshot tools set. The tool loads system configuration
434 from the file /etc/ldev.conf on the MGS, and call related ZFS commands to
435 maintain Lustre snapshot pieces on all targets (MGS/MDT/OST).
436 The configuration file /etc/ldev.conf is not only for snapshot, but also
437 for other purpose. The format is:
438   <host> foreign/- <label> <device> [journal-path]/- [raidtab]
439
440 The format of <label> is:
441   fsname-<role><index> or <role><index>
442
443 The format of <device> is:
444   [md|zfs:][pool_dir/]<pool>/<filesystem>
445
446 Snapshot only uses the fields <host>, <label> and <device>.
447 .br
448 .B Example:
449 .br
450 .B
451 # cat /etc/ldev.conf
452 .br
453  host-mdt1 - myfs-MDT0000 zfs:/tmp/myfs-mdt1/mdt1
454  host-mdt2 - myfs-MDT0001 zfs:myfs-mdt2/mdt2
455  host-ost1 - OST0000 zfs:/tmp/myfs-ost1/ost1
456  host-ost2 - OST0001 zfs:myfs-ost2/ost2
457
458 For old snasphot tools, the configration is in /etc/lsnapshot/${fsname}.conf,
459 the format is as following (per target, per line):
460   <host> <pool_dir> <pool> <local_filesystem> <role(,s)> <index>
461 .br
462 .B Examples:
463 .br
464 .B
465 # cat /etc/lsnapshot/testfs.conf
466 .br
467   VM6_1 /tmp testfs-mdt1 mdt1 MGS,MDT   0
468   VM6_2 /tmp testfs-mdt2 mdt2 MDT       1
469   VM6_3 /tmp testfs-ost1 ost1 OST       0
470   VM6_3 /tmp testfs-ost2 ost2 OST       1
471   VM6_4 /tmp testfs-ost3 ost3 OST       2
472   VM6_4 /tmp testfs-ost4 ost4 OST       3
473
474 .TP
475 .B snapshot_create \fR[-b | --barrier [on | off]] [-c | --comment comment]
476          \fR<-F | --fsname fsname> [-h | --help] <-n | --name ssname>
477          \fR[-r | --rsh remote_shell] [-t | --timeout timeout]
478 .br
479 Create snapshot with the given name.
480 .TP
481   -b, --barrier [on | off]
482 Set write barrier on all MDTs before creating the snapshot. The default behavior
483 is 'on'. If you are confident about the system consistency, or you do not care
484 about the system consistency when create the snapshot, then you can specify
485 barrier 'off'. That will save your time of creating the snapshot. If the barrier
486 is 'on', then the timeout of the barrier can be specified via '-t' option as
487 described in the subsequent section.
488 .TP
489   -c, --comment <comment>
490 Add an optional comment to the snapshot_create request. The comment can include
491 anything to describe what the snapshot is for or for reminder. The comment can
492 be shown via snapshot_list.
493 .TP
494   -F, --fsname
495 The filesystem name.
496 .TP
497   -h, --help
498 For help information.
499 .TP
500   -n, --name <ssname>
501 The snapshot's name must be specified. It follows the general ZFS snapshot name
502 rules, such as the max length is 256 bytes, cannot be conflict with the reserved
503 names, and so on.
504 .TP
505   -r, --rsh <remote_shell>
506 Specify a shell to communicate with remote targets. The default value is 'ssh'.
507 It is the system admin's duty to guarantee that the specified 'remote_shell'
508 works well among targets without password authentication.
509 .TP
510   -t, --timeout <timeout>
511 If write barrier is 'on', then the 'timeout' specified the write barrier's
512 lifetime in second. The default vaule is 60 (seconds).
513 .TP
514 .B snapshot_destroy \fR[-f | --force] <-F | --fsname fsname> [-h | --help]
515           \fR<-n | --name ssname> [-r | --rsh remote_shell]
516 .br
517 Destroy the specified snapshot.
518 .TP
519   -f, --force
520 Destory the specified snapshot by force. If the snapshot is mounted, it will be
521 umounted firstly, then destroyed. Even if some pieces of the snapshot are lost
522 or broken for some reason(s), the remained parts of the snapshot still can be
523 destroyed with this option specified.
524 .TP
525   -F, --fsname
526 The filesystem name.
527 .TP
528   -h, --help
529 For help information.
530 .TP
531   -n, --name <ssname>
532 The snapshot (to be destroyed) name must be specified.
533 .TP
534   -r, --rsh <remote_shell>
535 Specify a shell to communicate with remote targets. The default value is 'ssh'.
536 It is the system admin's duty to guarantee that the specified 'remote_shell'
537 works well among targets without password authentication.
538 .TP
539 .B snapshot_modify \fR[-c | --comment comment] <-F | --fsname fsname>
540          \fR[-h | --help] <-n | --name ssname> [-N | --new new_ssname]
541          \fR[-r | --rsh remote_shell]
542 .br
543 Modify the specified snapshot.
544 .TP
545   -c, --comment <comment>
546 Add comment (if it has not been specified when snapshot_create) or change the
547 comment for the given snapshot.
548 .TP
549   -F, --fsname
550 The filesystem name.
551 .TP
552   -h, --help
553 For help information.
554 .TP
555   -n, --name <ssname>
556 The snapshot (to be modified) name must be specified.
557 .TP
558   -N, --new <new_ssname>
559 Rename the snapshot to the new name. It follows the general ZFS snapshot name
560 rules, such as the max length is 256 bytes, cannot be conflict with the reserved
561 names, and so on.
562 .TP
563   -r, --rsh <remote_shell>
564 Specify a shell to communicate with remote targets. The default value is 'ssh'.
565 It is the system admin's duty to guarantee that the specified 'remote_shell'
566 works well among targets without password authentication.
567 .TP
568 .B snapshot_list \fR[-d | --detail] <-F | --fsname fsname> [-h | --help]
569        \fR[-n | --name ssname] [-r | --rsh remote_shell]
570 .br
571 Query the snapshot information, such as fsname of the snapshot, comment,
572 create time, the latest modification time, whether mounted or not, and so on.
573 .TP
574   -d, --detail
575 List all the information available for each piece of the snapshot on each
576 target. Usually, the information for each piece of the snapshot are the same
577 unless an error occurred during the snapshot operations, such as partly
578 modification or mount. This option allow to check related issues.
579 .TP
580   -F, --fsname
581 The filesystem name.
582 .TP
583   -h, --help
584 For help information.
585 .TP
586   -n, --name <ssname>
587 The snapshot's name to be queried. If no name is specified, then all the
588 snapshots belong to current Lustre filesystem will be listed.
589 .TP
590   -r, --rsh <remote_shell>
591 Specify a shell to communicate with remote targets. The default value is 'ssh'.
592 It is the system admin's duty to guarantee that the specified 'remote_shell'
593 works well among targets without password authentication.
594 .TP
595 .B snapshot_mount \fR<-F | --fsname fsname> [-h | --help] <-n | --name ssname>
596         \fR[-r | --rsh remote_shell]
597 .br
598 Mount the specified snapshot on the servers. Be as read only mode Lustre
599 filesystem, if the snapshot is mounted, then it cannot be renamed. It is
600 the user's duty to mount client (must as read only mode "-o ro") to the
601 snapshot when need.
602 NOTE: the snapshot has its own fsname that is different from the original
603 filesystem fsname, it can be queried via snapshot_list.
604 .TP
605   -F, --fsname
606 The filesystem name.
607 .TP
608   -h, --help
609 For help information.
610 .TP
611   -n, --name <ssname>
612 The snapshot (to be mounted) name must be specified.
613 .TP
614   -r, --rsh <remote_shell>
615 Specify a shell to communicate with remote targets. The default value is 'ssh'.
616 It is the system admin's duty to guarantee that the specified 'remote_shell'
617 works well among targets without password authentication.
618 .TP
619 .B snapshot_umount \fR<-F | --fsname fsname> [-h | --help] <-n | --name ssname>
620          \fR[-r | --rsh remote_shell]
621 .br
622 Umount the specified snapshot.
623 .TP
624   -F, --fsname
625 The filesystem name.
626 .TP
627   -h, --help
628 For help information.
629 .TP
630   -n, --name <ssname>
631 The snapshot (to be umounted) name must be specified.
632 .TP
633   -r, --rsh <remote_shell>
634 Specify a shell to communicate with remote targets. The default value is 'ssh'.
635 It is the system admin's duty to guarantee that the specified 'remote_shell'
636 works well among targets without password authentication.
637 .SS Debug
638 .TP
639 .BI debug_daemon
640 Start and stop the debug daemon, and control the output filename and size.
641 .TP
642 .BI debug_kernel " [file] [raw]"
643 Dump the kernel debug buffer to stdout or file.
644 .TP
645 .BI debug_file " <input> [output]"
646 Convert kernel-dumped debug log from binary to plain text format.
647 .TP
648 .BI clear
649 Clear the kernel debug buffer.
650 .TP
651 .BI mark " <text>"
652 Insert marker text in the kernel debug buffer.
653 .TP
654 .BI filter " <subsystem id/debug mask>"
655 Filter kernel debug messages by subsystem or mask.
656 .TP
657 .BI show " <subsystem id/debug mask>"
658 Show specific type of messages.
659 .TP
660 .BI debug_list " <subs/types>"
661 List all the subsystem and debug types.
662 .TP
663 .BI modules " <path>"
664 Provide gdb-friendly module information.
665
666 .SH OPTIONS
667 The following options can be used to invoke lctl.
668 .TP
669 .B --device
670 The device to be used for the operation. This can be specified by name or
671 number. See
672 .B device_list
673 .TP
674 .B --ignore_errors | ignore_errors
675 Ignore errors during script processing
676 .TP
677 .B lustre_build_version
678 Output the build version of the Lustre kernel modules
679 .TP
680 .B --version
681 Output the build version of the lctl utility
682 .TP
683 .B --list-commands
684 Output a list of the commands supported by the lctl utility
685 .TP
686 .B help
687 Provides brief help on the various arguments
688 .TP
689 .B exit/quit
690 Quit the interactive lctl session
691
692 .SH EXAMPLES
693 # lctl
694 .br
695 lctl > dl
696   0 UP mgc MGC192.168.0.20@tcp bfbb24e3-7deb-2ffa-eab0-44dffe00f692 5
697   1 UP ost OSS OSS_uuid 3
698   2 UP obdfilter testfs-OST0000 testfs-OST0000_UUID 3
699 .br
700 lctl > dk /tmp/log
701 Debug log: 87 lines, 87 kept, 0 dropped.
702 .br
703 lctl > quit
704
705 .SH AVAILABILITY
706 .B lctl
707 is part of the
708 .BR Lustre (7)
709 filesystem package.
710 .SH SEE ALSO
711 .BR lustre (7),
712 .BR mkfs.lustre (8),
713 .BR mount.lustre (8),
714 .BR lctl (8),
715 .BR lctl-lfsck-start (8),
716 .BR lctl-lfsck-stop (8),
717 .BR lctl-lfsck-query (8),
718 .BR lctl-llog_catlist (8),
719 .BR lctl-llog_info (8),
720 .BR lctl-llog_print (8),
721 .BR lctl-network (8),
722 .BR lctl-nodemap-activate (8),
723 .BR lctl-nodemap-add-idmap (8),
724 .BR lctl-nodemap-add-range (8),
725 .BR lctl-nodemap-add (8),
726 .BR lctl-nodemap-del-idmap (8),
727 .BR lctl-nodemap-del-range (8),
728 .BR lctl-nodemap-del (8),
729 .BR lctl-nodemap-modify (8),
730 .BR lfs (1)