TrumanWong

vgdisplay

Display LVM volume group information

Supplementary instructions

vgdisplay command is used to display LVM volume group information. If the "volume group" parameter is not specified, the properties of all volume groups are displayed separately.

grammar

vgdisplay(options)(parameters)

Options

-A: Only display the properties of the active volume group;
-s: Use short format output information.

Parameters

Volume Group: The name of the volume group whose properties you want to display.

Example

Use the vgdisplay command to display the attributes of the existing volume group "vg1000". Enter the following command at the command line:

[root@localhost ~]# vgdisplay vg1000 #Display the attributes of volume group "vg1000"

The output information is as follows:

   ---Volume group ---
   VG Name vg1000
...Omit part of the output content...
   freePE/Size 50/200.00 MB
   VG UUID ICprwg-ZmhA-JKYF-WYuy-jNHa-AyCN-ZS5F7B