$linuxjunkies
>

VG (volume group)

also: LVM volume group

A volume group (VG) is a logical container in LVM that combines one or more physical volumes into a single unit from which logical volumes can be carved out.

A volume group is a key abstraction layer in Logical Volume Management (LVM). It aggregates physical volumes (hard drives or partitions) into one named pool of storage that can be dynamically allocated to logical volumes. This allows you to treat multiple disks as a single flexible storage resource.

For example, if you have two 1TB drives (/dev/sda1 and /dev/sdb1), you can combine them into a VG called my_vg, creating a 2TB logical storage pool. From this pool, you can create logical volumes like lv_home (800GB) and lv_var (1.2TB) without worrying about which physical drive stores which data.

Common VG operations include vgcreate (create a new VG), vgextend (add physical volumes to a VG), and vgdisplay (view VG information). Volume groups sit between physical volumes and logical volumes in the LVM hierarchy.

Related terms