snippetbashTip
lvmconfig — Display and manipulate LVM configuration information. More information: <https://manned.org/lvmconfi
Viewed 0 times
configurationcommandlvmandmanipulateclilvmconfigdisplay
linux
Problem
How to use the
lvmconfig command: Display and manipulate LVM configuration information. More information: <https://manned.org/lvmconfig>.Solution
lvmconfig — Display and manipulate LVM configuration information. More information: <https://manned.org/lvmconfig>.Display the effective configuration in use (after merging all config sources):
lvmconfig --typeconfig current --mergedconfigShow only settings that differ from their defaults:
lvmconfig --typeconfig diffList 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.conf}}Code Snippets
Display the effective configuration in use (after merging all config sources)
lvmconfig --typeconfig current --mergedconfigShow only settings that differ from their defaults
lvmconfig --typeconfig diffList 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 --validateContext
tldr-pages: linux/lvmconfig
Revisions (0)
No revisions yet.