vgs:tldr:da936
The "vgs" command is a Linux command used to display information about the volume groups (VGs) configured on a system. Volume groups are logical storage units, which are formed by combining physical volumes (disks or partitions).
When you execute the "vgs" command, it will provide a list of all the volume groups present on the system, along with details such as the volume group name, size, number of physical volumes, and the number of logical volumes (LVs) within each VG. Additionally, it will display information about the free space available in each VG.
Here is an example output of the "vgs" command:
VG #PV #LV #SN Attr VSize VFree vg01 2 4 0 wz--n- 100.00g 12.00g vg02 1 5 0 wz--n- 200.00g 50.00g
In this example, there are two volume groups named "vg01" and "vg02". "vg01" includes 2 physical volumes, 4 logical volumes, and has a total size of 100.00 gigabytes with 12.00 gigabytes of free space. "vg02" consists of 1 physical volume, 5 logical volumes, and has a total size of 200.00 gigabytes with 50.00 gigabytes of free space.
Overall, the "vgs" command helps in obtaining an overview and statistics of the volume groups configured in the system's logical volume manager (LVM).