Vgdisplay

From wikieduonline
Revision as of 11:39, 16 December 2019 by Welcome (talk | contribs)
Jump to navigation Jump to search

vgdisplay[1] display volume group information

  • vgdisplay VG_NAME
  • vgdisplay -v VG_NAME -v will also display LVs and PVs information from VG.
  • vgdisplay -vvvv VG_NAME -vvvv will display more verbose information.
[root@rhel01a ~]# vgdisplay vg_rhel01
  --- Volume group ---
  VG Name               vg_rhel01
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  5
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               12.50 GiB
  PE Size               4.00 MiB
  Total PE              3200
  Alloc PE / Size       3200 / 12.50 GiB
  Free  PE / Size       0 / 0   
  VG UUID               ttO0aF-RgCq-OZM7-dKcj-sDr0-vfg1-TDFzj0
vgdisplay -v vg_new
--- Volume groups ---
VG Name                     /dev/testvg
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      0      
Open LV                     0      
Max PV                      16     
Cur PV                      2      
Act PV                      2      
Max PE per PV               6000         
VGDA                        2   
PE Size (Mbytes)            32              
Total PE                    26    
Alloc PE                    0       
Free PE                     26    
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0 

   --- Physical volumes ---
   PV Name                     /dev/disk/disk3
   PV Status                   available                
   Total PE                    10       
   Free PE                     10       
   Autoswitch                  On        

   PV Name                     /dev/disk/disk4
   PV Status                   available                
   Total PE                    10       
   Free PE                     10       
   Autoswitch                  On

Activities

  1. Compare vgdisplay and vgs outputs.
  2. Compare vgdisplay and vgdisplay -v outputs.

See also

Advertising: