Bootstrap FreeKB - LVM (Logical Volume Manager) - Display LVM Logical Volume details using the lvdisplay command
LVM (Logical Volume Manager) - Display LVM Logical Volume details using the lvdisplay command


This assumes you are familiar with LVM (Logical Volume Manager). If not, check out my article Getting Started with LVM (Logical Volume Manager).

The lvdisplay command can be used to show the details of all of your LVM Logical Volumes. Something like this should be returned.

~]# lvdisplay
  --- Logical volume ---
  LV Path                /dev/myVG/fooLV
  LV Name                lv_foo
  VG Name                datavg
  LV UUID                kI5KSn-KGz8-ttcU-LwSS-MO4Q-gJiS-cY55aO
  LV Write Access        read/write
  LV Creation host, time server1, 2020-09-15 13:55:08 -0500
  LV Status              available
  # open                 1
  LV Size                1.00 GiB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:6

  --- Logical volume ---
  LV Path                /dev/myVG/barLV
  LV Name                lv_bar
  VG Name                datavg
  LV UUID                kI5KSn-KGz8-ttcU-LwSS-MO4Q-gJiS-cY55aO
  LV Write Access        read/write
  LV Creation host, time server1, 2020-09-15 13:55:08 -0500
  LV Status              available
  # open                 1
  LV Size                1.00 GiB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:6

 

Or, to display the details of a specific LVM Logical Volume.

~]# lvdisplay /dev/myVG/fooLV
  --- Logical volume ---
  LV Path                /dev/myVG/fooLV
  LV Name                lv_foo
  VG Name                datavg
  LV UUID                kI5KSn-KGz8-ttcU-LwSS-MO4Q-gJiS-cY55aO
  LV Write Access        read/write
  LV Creation host, time server1, 2020-09-15 13:55:08 -0500
  LV Status              available
  # open                 1
  LV Size                1.00 GiB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           253:6

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter aacec9 in the box below so that we can be sure you are a human.