Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jul 222010
 

Display attributes of a logical volume under LVM

Answer:

If you are using LVM, you can easily display attributes of a logical volume using the command lvmdisplay

# sudo /usr/sbin/lvdisplay

  /dev/sdb: read failed after 0 of 2048 at 0: Input/output error
  /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error
  /dev/sdb2: read failed after 0 of 2048 at 0: Input/output error
  /dev/sdb3: read failed after 0 of 2048 at 0: Input/output error
  --- Logical volume ---
  LV Name                /dev/vg0/d148
  VG Name                vg0
  LV UUID                JhG2hr-lnyx-yT2h-rUMN-7tuP-yW0j-rQ1YSu
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                80.00 GB
  Current LE             20480
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>