Say we have a LVM’ed /dev/sdd1 and we have to mount logical volume LogVol00 in it..
# file -s /dev/sdd1
/dev/sdd1: LVM2 (Linux Logical Volume Manager) , UUID: 7zKduhTHsMa3YD3t2gocYKUDGRP5QvW
# vgscan
Reading all physical volumes. This may take a while…
Found volume group “VolGroup00” using metadata type lvm2
# vgchange -a y VolGroup00
2 logical volume(s) in volume group “VolGroup00” now active
# lvdisplay
— Logical volume —
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID YcNYud-4BXO-Ro6N-P7VW-yrLm-DDZT-oLGgAO
LV Write Access read/write
LV Status available
# open 0
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:2
— Logical volume —
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID pSyXMZ-8TXw-fwiw-m3re-Oi3I-0fch-mJ1Q5H
LV Write Access read/write
LV Status available
# open 0
LV Size 1.91 GB
Current LE 61
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
# mkdir -p /mnt/VolGroup00/LogVol00
# mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00
# ls /mnt/VolGroup00/LogVol00
bin dev home lib lost+found misc opt root selinux sys usr
boot etc initrd lib64 media mnt proc sbin srv tmp var
#