Change the activation status of logical volumes in all volume groups

vgchange

  • Change the attributes of a Logical Volume Manager (LVM) volume group.
    See also: `lvm`.
    More information: <https://manned.org/vgchange>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo vgchange --activate {{y|n}}

click the source code to copy install vgchange on any operating system with command-not-found.com