I have never been very familiar with LVM partitioning before. today it seems that I have to go through this link and paste the information I found on the Internet: # fdisk-l [root @ localhost/] # fdisk-lDisk/dev/sda: 36.7 GB, 36778545152bytes255heads, 63 sectors/track, 4471 cylindersUnitscylinde
I have never been very familiar with LVM partitions before. today it seems that I have to go through this level.
Paste the information found on the Internet:
# Fdisk-l
[Root @ localhost/] # fdisk-l
Disk/dev/sda: 36.7 GB, 36778545152 bytes
255 heads, 63 sectors/track, 4471 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sda1*1 13 104391 83 Linux
/Dev/sda2 14 2463 19679625 83 Linux
/Dev/sda3 2464 3949 11936295 83 Linux
/Dev/sda4 3950 4471 4192965 5 Extended
/Dev/sda5 3950 4471 4192933 + 82 Linux swap/Solaris
Disk/dev/sdb: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sdb1*1 8924 71681998 + 8e Linux LVM
Disk/dev/sdc: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System
/Dev/sdc1*1 13 104391 83 Linux
/Dev/sdc2 14 4462 35736592 + 8e Linux LVM
[Root @ localhost/] # pvs
Pv vg Fmt Attr PSizePFree
/Dev/sdb1 lvm2 -- 68.36G 68.36G
/Dev/sdc2 VolGroup00 lvm2 a-34.06G 32.00 M
Sdc2 is what I want to mount
[Root @ localhost/] # vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
[Root @ localhost/] #LvsCan
Inactive '/dev/VolGroup00/logvol00' [32.09 GB] inherit
Inactive '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
The modified VolGroup00 is inactive.
[Root @ localhost/] # vgchange-a y
2 logical volume (s) in volume group "VolGroup00" now active
[Root @ localhost/] # lvscan
ACTIVE '/dev/VolGroup00/logvol00' [32.09 GB] inherit
ACTIVE '/dev/VolGroup00/logvol01' [1.94 GB] inherit
Okay, now you can mount it.
[Root @ localhost/] # mount-T ext3/Dev/VolGroup00/LogVol00/d1
Http://songxj.blog.51cto.com/620981/269661