Whamcloud - gitweb
LU-10966 utils: Fix `lfs check` documentation and arguments
[fs/lustre-release.git] / lustre / doc / lctl-llog_print.8
1 .TH lctl-llog_print 8 "2017 Feb 24" Lustre "configuration utilities"
2 .SH NAME
3 lctl llog_print \- print the content of a configuration log
4 .SH SYNOPSIS
5 .B lctl llog_print
6 .RI < logname >
7 .RI [ start_index ]
8 .RI [ end_index ]
9
10 .SH DESCRIPTION
11 .B lctl llog_print
12 is used to dump the contents of the
13 .I logname
14 configuration log on the MGS in YAML format.  This is useful for debugging
15 configuration problems and to list any permanent configuration options
16 saved via
17 .B lctl conf_param
18 on the MGS.
19 .SH OPTIONS
20 .TP
21 .B logname
22 The name of the configuration log, in the form
23 .IR fsname - target ,
24 like
25 .B testfs-client
26 or
27 .BR lustrefs-MDT0000 .
28 .TP
29 .B start_index
30 The first record number in the config log to dump.  Note that deactivated
31 records and comment records will not be printed.
32 .TP
33 .B end_index
34 The last record number in the config log to dump.
35 .SH EXAMPLES
36 .TP
37 To print all of the records from the testfs-client configuration log:
38 .br
39 # lctl --device MGS llog_print testfs-client
40 .br
41 - { index: 3, event: attach, device: testfs-clilov, type: lov,
42 .br
43     UUID: testfs-clilov_UUID }
44 .br
45 - { index: 6, event: setup, device: testfs-clilov, UUID: }
46 .br
47 - { index: 9, event: attach, device: testfs-clilmv, type: lov,
48 .br
49     UUID: testfs-clilmv_UUID }
50 .br
51 - { index: 12, event: setup, device: testfs-clilmv, UUID: }
52 .br
53 - { index: 15, add_uuid: nid: 10.211.55.6@tcp(0x200000ad33706),
54 .br
55     node: 10.211.55.6@tcp }
56 .br
57 :
58 .br
59 :
60 .SH AVAILABILITY
61 .B lctl llog_print
62 is a subcommand of
63 .BR lctl (8)
64 and is distributed as part of the
65 .BR lustre (7)
66 filesystem package.
67 .SH SEE ALSO
68 .BR lctl (8)
69 .BR lctl-llog_info (8)
70 .BR lctl-llog_catlist (8)