• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lvmconf Command Examples in Linux

by admin

When using the various LVM utilities, each utility uses a central configuration file to govern its behavior. This configuration file is the /etc/lvm/lvm.conf file. The file has wonderful internal documentation and additional assistance is provided when you type man lvm.conf at the command line.

On earlier distributions, the lvmconf command was used to display lvm.conf settings instead of the ‘lvm dumpconfig’ command. There is a lot of information displayed by the lvmconf commands. It is worth piping the output into a pager utility for easy viewing.

lvmconf Command Examples

1. To set locking_type to the default non-clustered type:

# lvmconf --disable-cluster 

2. To set locking_type to the default clustered type on this system:

# lvmconf --enable-cluster 

3. To apply the changes to configfile instead of the default /etc/lvm/lvm.conf:

# lvmconf --file <configfile> 

4. To set external locking_library locking library to load if an external locking type is used:

# lvmconf --lockinglib <lib>

Filed Under: Linux

Some more articles you might also be interested in …

  1. “git feature” Command Examples
  2. How To Install Python 3 On CentOS 7 Using SCL
  3. deemix: A barebone deezer downloader library built from the ashes of Deezloader Remix
  4. How to format code within web pages
  5. CentOS / RHEL 6 : How to change the verbosity of debug logs during booting
  6. chcon Command Examples in Linux
  7. How to use execl (example included)
  8. lvconvert Command Examples in Linux
  9. nmtui: command not found
  10. sox: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • gixy Command Examples
  • gitsome Command Examples
  • gitmoji Command Examples
  • gitlint Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright