The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
 

lvdisplay - Display LV Information





lvdisplay is a command in the context of LVM (Logical Volume Manager) and is used to display information about Logical Volumes (LVs) in LVM.

The syntax for the lvdisplay command is: lvdisplay [OPTIONS] [LV_PATH | VG_NAME], where 'LV_PATH | VG_NAME' can be either the path to a logical volume (LV path) or the name of a volume group (VG name). This command is used to display information about all logical volumes (LVs) within a specified volume group (VG).

Some common options for the lvdisplay command include:


例:
# lvdisplay /dev/myvg/mylv  ←Display detailed information about the logical volume named 'mylv' in the volume group 'myvg'
# lvdisplay -a ←Display information about all logical volumes in the system
# lvdisplay -o name,size,lv_path ←Display specific information fields (name, size, LV path) for all logical volumes

For more examples and operations related to lvdisplay and LVM, you can refer to the provided link.