B.2. The lvmconfig Command

You can display the current LVM configuration, or save the configuration to a file, with the lvmconfig command. The lvmconfig command displays the LVM configuration information after loading the /etc/lvm/lvm.conf file and any other configuration files.
There are a variety of features that the lvmconfig command provides, including the following;
  • You can dump the current lvm configuration merged with any tag configuration files.
  • You can dump all current configuration settings for which the values differ from the defaults.
  • You can dump all new configuration settings introduced in the current LVM version, in a specific LVM version.
  • You can dump all profilable configuration settings, either in their entirety or separately for command and metadata profiles. For information on LVM profiles see Section B.3, “LVM Profiles”.
  • You can dump only the configuration settings for a specific version of LVM.
  • You can validate the current configuration.
For a full list of supported features and information on specifying the lvmconfig options, see the lvmconfig man page.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.