Options (2)
-l, --listbooleanList all configuration keys
Example:
lvmconfig {{[-l|--list]}}-f, --filebooleanWrite the current effective configuration to a file
Example:
lvmconfig --typeconfig current {{[-f|--file]}} {{path/to/output.conf}}Examples (6)
Display the effective configuration in use (after merging all config sources)
lvmconfig --typeconfig current --mergedconfigList all configuration keys
lvmconfig [-l|--list]Print the default configuration with full comments and extra spacing
lvmconfig --typeconfig default --withcomments --withspacesValidate the full merged configuration and report errors
lvmconfig --mergedconfig --validateWrite the current effective configuration to a file
lvmconfig --typeconfig current [-f|--file] path/to/output.confmade by @shridhargupta | data from tldr-pages