How to deactivate a LVM logical volume on Linux?

How to deactivate a LVM logical volume activated by #vgchange -aay on Linux

asked May 12, 2015 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

You may need to make a LVM volume group inactive and thus unknown to the kernel.

To deactivate a volume group, use the -a (--available) argument of the vgchange command.

To deactivates the volume group vg, use this command

# vgchange -a n vg
answered May 12, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...