volumegroup
A volume group (VG) is a fundamental element of the Linux Logical Volume Manager (LVM). It represents a pool of storage created by combining one or more physical volumes (PVs) such as disks or partitions. The VG provides a single, flexible space from which logical volumes (LVs) are allocated and resized as needed.
Within a volume group, space is divided into physical extents (PEs) of a fixed size, enabling dynamic
Volume groups are managed with LVM tools, allowing storage to be added by attaching new PVs, removed,
Common operations and concepts include:
- Create a volume group: vgcreate VGName PV1 [PV2 ...]
- Extend a volume group: vgextend VGName PVn
- Reduce or remove a PV from a VG: vgreduce VGName PV
- Remove a volume group: vgremove VGName
- Display information: vgdisplay VGName
- Manage logical volumes: lvcreate, lvresize, lvremove, among others
See also: Logical Volume Manager, Physical Volume, Logical Volume.