Create a new volume group called vg1 using the /dev/sda1 device

vgcreate

  • Create volume groups combining multiple mass-storage devices.
    See also: `lvm`.
    More information: <https://man7.org/linux/man-pages/man8/vgcreate.8.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

vgcreate {{vg1}} {{/dev/sda1}}

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