how to use lvdisplay command and its examples

  • About lvdisplay: To display attributes of a logical volume
  • It comes from “lvm2-2.02.72” package.
  • Configuration Files:
  • Path: /sbin/lvdisplay

Examples:

1. To display all the logical volumes information

$ lvdisplay

 2. To view/print all the information

$ lvdisplay –all

 3. To generate colon seperated output

$ lvdisplay -c
$ lvdisplay –colon 

4. To display the mapping of logical extents to physical volumes and physical extents

$ lvdisplay -m
$ lvdisplay –mpas 

5. To Display output in columns

$ lvdisplay -C
$ lvdisplay –columns 

Related Commands: lvm, lvcreate, lvscan, pvs 

Leave a Reply

Your email address will not be published. Required fields are marked *