vgs命令相关的命令:pvs。
vgs命令用于显示有关卷组的信息。
参数
[–aligned]
[-a|–all]
[-d|–debug]
[-h|–help]
[–ignorelockingfailure]
[–ignoreskippedcluster]
[–nameprefixes]
[–noheadings]
[–nosuffix]
[-o|–options [+]Field[,Field]]
[-O|–sort [+|-]key1[,[+|-]key2[,…]]]
[-P|–partial]
[–rows]
[–separator Separator]
[–trustcache]
[–unbuffered]
[–units hHbBsSkKmMgGtTpPeE]
[–unquoted]
[-v|–verbose]
[–version]
[VolumeGroupName [VolumeGroupName…]]
实例
[root@S1 views]# vgs #查看逻辑卷组信息
VG #PV #LV #SN Attr VSize VFree vg_s1 1 3 0 wz--n- 465.27g 0