LCTL-LLOG_PRINT(8)

NAME
lctl-llog_print - print the content of a configuration log

SYNOPSIS
lctl llog_print [--start start_index] [--end end_index] <logname>

DESCRIPTION
lctl llog_print is used to dump the contents of the logname configuration log on the MGS in YAML format. This is useful for debugging configuration problems and to list any permanent configuration options saved via lctl conf_param on the MGS. The lctl llog_catlist command can be used to list the different configuration logs, and the lctl llog_cancel command can be used to cancel configuration records.

OPTIONS

--end
    Stop printing records at end_index.

--start
    Start printing records at start_index.

logname
    The name of the configuration log, in the form fsname-target, like testfs-client or lustrefs-MDT0000.

start_index
    The first record number in the config log to dump. Note that deactivated records and comment records will not be printed.

end_index
    The last record number in the config log to dump, including the specified index number.

EXAMPLES

To print the configuration records from the testfs-client logfile:
    # lctl llog_print testfs-client
    - { index: 3, event: attach, device: testfs-clilov, type: lov,
        UUID: testfs-clilov_UUID }
    - { index: 6, event: setup, device: testfs-clilov, UUID: }
    - { index: 9, event: attach, device: testfs-clilmv, type: lov,
        UUID: testfs-clilmv_UUID }
    - { index: 12, event: setup, device: testfs-clilmv, UUID: }
    - { index: 15, add_uuid: nid: 10.211.55.6@tcp(0x200000ad33706),
        node: 10.211.55.6@tcp }
    :
    :

To print the first 10 set_param -P records from params:
    # lctl llog_print --end=10 params
    - { index: 2, event: set_param, device: general, parameter: osc.*.max_dirty_mb, value: 32 }
    - { index: 4, event: set_param, device: general, parameter: osc.*.checksum_type, value: crc32c }

AVAILABILITY
lctl llog_print is a subcommand of lctl(8) and is distributed as part of the lustre(7) filesystem package.

SEE ALSO
lctl(8), lctl-llog_info(8), lctl-llog_cancel(8), lctl-llog_catlist(8)