← 返回命令列表

Linux command

vgdisplay 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Display

sudo vgdisplay

Display

sudo vgdisplay [vg1]

说明

vgdisplay shows detailed information about LVM volume groups including size, extent information, physical volumes, and logical volumes contained within. The output includes total size, physical extent size, number of physical and logical volumes, and allocation status. Use this to understand the structure and capacity of your LVM configuration.

参数

-c, --colon
Output in colon-separated format
-s, --short
Short listing format
-v, --verbose
Verbose output with additional details
-A, --activevolumegroups
Show only active volume groups
--units _units_
Display sizes in specified units (b, s, k, m, g, t, p, e)
-C, --columns
Output in columns (similar to vgs)

FAQ

What is the vgdisplay command used for?

vgdisplay shows detailed information about LVM volume groups including size, extent information, physical volumes, and logical volumes contained within. The output includes total size, physical extent size, number of physical and logical volumes, and allocation status. Use this to understand the structure and capacity of your LVM configuration.

How do I run a basic vgdisplay example?

Run `sudo vgdisplay` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c, --colon do in vgdisplay?

Output in colon-separated format