Create a 1500 megabyte linear logical volume named mylv in the volume group vg1

lvcreate

  • Creates a logical volume in an existing volume group. A volume group is a collection of logical and physical volumes.
    See also: `lvm`.
    More information: <https://man7.org/linux/man-pages/man8/lvcreate.8.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

lvcreate -L {{1500}} -n {{mylv}} {{vg1}}

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