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