lvdisplay

lvdisplay is used to display logical volumes. You can also use lvs command.

root@server12:~# lvdisplay
  --- Logical volume ---
  LV Path                /dev/vg/lv_root
  LV Name                lv_root
  VG Name                vg
  LV UUID                aLjP9v-Cc6s-mxS6-kcKz-Fs4e-kW5c-Wuq009
  LV Write Access        read/write
  LV Creation host, time ubuntu-server, 2020-05-19 13:02:06 +0000
  LV Status              available
  # open                 1
  LV Size                78.99 GiB
  Current LE             20222
  Segments               3
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Path                /dev/vg/lv_swap
  LV Name                lv_swap
  VG Name                vg
  LV UUID                es9Yvn-Tfh1-KO6L-7cAw-N1jg-9NAL-9hd3To
  LV Write Access        read/write
  LV Creation host, time ubuntu-server, 2020-05-19 13:02:07 +0000
  LV Status              available
  # open                 2
  LV Size                520.00 MiB
  Current LE             130
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
root@server12:~#

See LVM

Comments

Leave a Reply

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