How Enable and Disable Lvm in Linux?
Contents

How do I disable LVM?

Disabling lvmetad for Linux VMs

  1. Disable and stop the lvm2-lvmetad service by running the following commands: systemctl disable lvm2-lvmetad. systemctl stop lvm2-lvmetad. systemctl mask lvm2-lvmetad.
  2. Disable and stop the lvm2-lvmetad.socket service by running the following commands: systemctl disable lvm2-lvmetad.socket. systemctl stop lvm2-lvmetad.socket.

How do I enable logical volume in Linux?

The procedure to mount LVM partition in Linux as follows:

  1. Run vgscan command scans all supported LVM block devices in the system for VGs.
  2. Execute vgchange command to activate volume.
  3. Type lvs command to get information about logical volumes.
  4. Create a mount point using the mkdir command.

28 февр. 2021 г.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest