Today, we use Ubuntu livecd to fix a library file in the RedHat system. Because the redhat system disk is in lvm format, the livecd of Ubuntu11.10 is not activated by default and cannot be mounted. Solution: 1. Install lvm2 software sudoapt-getinstalllvm22. Scan LVM to find VG $ sudovgscanReadingallphysicalvolumes.
Today, we use Ubuntu livecd to fix a library file in the RedHat system. Because the redhat system disk is in lvm format, the livecd of Ubuntu 11.10 is not activated by default and cannot be mounted.
Solution:
1. Install lvm2 Software
Sudo apt-get install lvm2
2. Scan LVM to find VG
$ Sudo vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup01" using metadata type lvm2
3. Activate VG
$ Sudo vgchange-ay VolGroup01
2 logical volume (s) in volume group "VolGroup01" now active
4. Test and list LV
$ Sudo lvs
Lv vg Attr LSize Origin Snap % Move Log Copy % Convert
LogVol00 VolGroup01-wi-a-6.88g
LogVol01 VolGroup01-wi-a-1.00g
5. mount
$ Sudo mount/dev/VolGroup01/LogVol00/mnt