After some diggings into the huge Internet, what I found is that the root reason is the duplicated Volume Group names between the old one and the new one. I assumed that I kept the old hard drive installed last time. In this case, the install process change the old system's Volume Group automatically. However, this time I uninstalled all of the hard drive except the new 1T hard drive. The installation has no chance to change them.
OK, here is the problem analysis. Then, the solution is:
Firstly, I need to check the old system's Volume Group's UID. This is able to complete by checking the directory: /dev/disk/by-id. The currently using Volume Group's ID will be presented there:
ls -l /dev/disk/by-id
Then type the command "lvdisplay
lvdisplay /dev/VolumeGroup
After the old system's Volume Group's UID is obtained, using the "vgrename" command to change its name.
vgrename
After this process, all of three Volume Group (two old and one new) are able to be recognized by the new system.
Great!!!
Here is some useful reference: (no promise the availability)
http://linuxers.org/howto/how-mount-linux-lvm-volume-partitions-linux
No comments:
Post a Comment