• 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. update-alternatives: command not found
  2. “az network” Command Examples (Manage Azure Network resources)
  3. croc: Send and receive files easily and securely over any network
  4. a2query: command not found
  5. Configure Network Bonding in Ubuntu Server
  6. dunstify: command not found
  7. lslocks: command not found
  8. meteor Command Examples
  9. insmod: command not found
  10. jp2a Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright