For whatever reason, I don't recall ever seeing this ticket, nor the patch that was pushed against it.
There was a command added many years ago "lctl --device %MGS llog_print \$<llog_name>" that will dump the current config llog (e.g. testfs-client or testfs-OST0001) from a running MGS. In 2.6 this was changed to dump the llog in YAML format, for ease of reading/parsing (the pre-2.6 format was a huge mess and mostly unusable) via patch http://review.whamcloud.com/4254 "LU-2149 llog: lctl to work with llogs from command line". In 2.10 the llog_print command was simplified to allow "lctl --device MGS llog_print <llog_name>" (i.e. without '%' before the device name, and without '$' before llog_name) via patch https://review.whamcloud.com/25468 "LU-9153 utils: improve llog name parsing".
Ideally, the offline llog_reader tool would be improved to also dump the config llogs in the same YAML format (possibly with a --yaml flag to keep compatibility with the old format, if that is considered important).
What is really needed at this point is to be able to take the YAML data as input and apply the tuning parameters to a system after a --writeconf or if the filesystem was reformatted.
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34250/
Subject:
LU-4939obdclass: llog_print params fileProject: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: fb77f09ac8907059552eb5d606e9f8bcab580426