I was able to figure out how to mount a secondary hdd that has a LVM volume to an existing system that is running ext3. Here we go: I used several utilities for LVM such as pvscan,vgdisplay,lvdisplay,pvs,vgchange:
I used pvscan to give me my volume name:
PHP Code:
PV /dev/hdb3 VG VolGroup00 lvm2 [110.59 GB / 32.00 MB free]
Total: 1 [110.59 GB] / in use: 1 [110.59 GB] / in no VG: 0 [0 ]
for more info I used vgdisplay
PHP Code:
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 110.59 GB
PE Size 32.00 MB
Total PE 3539
Alloc PE / Size 3538 / 110.56 GB
Free PE / Size 1 / 32.00 MB
VG UUID p6PTty-7HUX-tJFD-ucRX-rxkZ-TEo3-D98mom
more info pvs
PHP Code:
PV VG Fmt Attr PSize PFree
/dev/hdb3 VolGroup00 lvm2 a- 110.59G 32.00M
but the most handy was the lgdisplay which give me all the volume information that I need.
PHP Code:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID 5rgQoX-V80q-oPc0-OHdi-Sm94-xAqI-GoFA3B
LV Write Access read/write
LV Status available
# open 0
LV Size 9.75 GB
Current LE 312
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol04
VG Name VolGroup00
LV UUID gCVyYo-gTIX-3Xge-CQfu-ZRZE-84jk-mF1gea
LV Write Access read/write
LV Status available
# open 1
LV Size 22.72 GB
Current LE 727
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol03
VG Name VolGroup00
LV UUID nM1xz1-fEty-ERJg-d8KS-j7P3-F4ao-uRnVvK
LV Write Access read/write
LV Status available
# open 0
LV Size 19.53 GB
Current LE 625
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:2
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol02
VG Name VolGroup00
LV UUID F4tZw4-6Bvw-DOto-cgDL-ylMO-30hh-S1ndms
LV Write Access read/write
LV Status available
# open 0
LV Size 29.28 GB
Current LE 937
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID NQ6ewo-5Nj3-q2YK-Ttr6-FaTK-oWKY-KzOlv1
LV Write Access read/write
LV Status available
# open 0
LV Size 29.28 GB
Current LE 937
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:4
and finally vgchange which changes the attributes of a volume:
and then you have to mount the volume that you need and in my case it was
/dev/VolGroup00/LogVol04
PHP Code:
mount /dev/VolGroup00/LogVol04 /media/oldhdd/
I used this reference link:
http://www.fedoraforum.org/forum/arc...p/t-64964.html
I hope this help.