I'm trying to mount the oldH.D. and finally success.
1. Check the volume group.
[root@vincent local]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 465.56G 32.00M (newH.D.)
/dev/sdb2 VolGroup00 lvm2 a- 931.31G 32.00M (oldH.D.)
2. Get the VG UUID of /dev/sdb2.
[root@vincent local]# vgdisplay
--- Volume group ---
VG Name
VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 931.31 GB
PE Size 32.00 MB
Total PE 29802
Alloc PE / Size 29801 / 931.28 GB
Free PE / Size 1 / 32.00 MB
VG UUID CQVzV7-xVVy-Om3Y-P2Ng-67d5-juHK-vTTj5a
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 465.56 GB
PE Size 32.00 MB
Total PE 14898
Alloc PE / Size 14897 / 465.53 GB
Free PE / Size 1 / 32.00 MB
VG UUID 65loFF-2Tee-K4Wa-uUFf-oMRD-E1EH-iCKsQg
The VG UUID of /dev/sdb2 is CQVzV7-xVVy-Om3Y-P2Ng-67d5-juHK-vTTj5a.
3. Change the VG group name of /dev/sdb2.
[root@vincent local]# vgrename CQVzV7-xVVy-Om3Y-P2Ng-67d5-juHK-vTTj5a VG1T
4. Reboot the system. You will see the LVM group of /dev/sdb2 is changed to VG1T.
[root@vincent local]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 465.56G 32.00M
/dev/sdb2 VG1T lvm2 a- 931.31G 32.00M
5. Mount the /dev/sdb2 into our new system.
[root@vincent local]# mkdir /mnt/oldHD
[root@vincent local]# mount /dev/VG1T/LogVol00 /mnt/oldHD
沒有留言:
張貼留言