Universal drive adapter -

Bryn M. Reeves bmr at redhat.com
Fri Dec 11 12:05:04 UTC 2009


On 12/11/2009 12:57 AM, Craig White wrote:
> problems typically occur because Fedora always names the LVM
> groups/partitions with the same naming scheme and when you want to

This is a posibility here with older releases (although F12 doesn't do 
this (thank you! thank you!); it now includes the hostname in the VG 
names created by anaconda during autopartitioning).

If that's the case then the easiest way to deal with it is to use the 
vgimportclone script distributed with recent versions of LVM2.

> 'mount' an LVM from one computer on another computer and they have the
> same name, it's an issue. You probably have to rename the Group and
> maybe the Volume so that it is distinctively different from what is
> already mounted to avoid confusion before you can mount the second hard
> drive LVM partitions.

New name & new UUID, although the script I mentioned will do all of this 
automatically.

With all that said, I don't think that's the case here as the pvdisplay 
that Bob posted would have complained like this if that were true:

# pvdisplay
   WARNING: Duplicate VG name system: Existing 
nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk (created here) takes precedence 
over qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6
   WARNING: Duplicate VG name system: Existing 
nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk (created here) takes precedence 
over qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6
   WARNING: Duplicate VG name system: Existing 
qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6 (created here) takes precedence 
over nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk
   --- Physical volume ---
   PV Name               /dev/sda2
   VG Name               system
   PV Size               231.66 GB / not usable 1.61 MB
   Allocatable           yes
   PE Size (KByte)       32768
   Total PE              7413
   Free PE               2842
   Allocated PE          4571
   PV UUID               geCugI-hlFj-udgF-M8Kw-vKD8-9wNB-GpgJSr

   WARNING: Duplicate VG name system: Existing 
nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk (created here) takes precedence 
over qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6
   --- Physical volume ---
   PV Name               /dev/loop0
   VG Name               system
   PV Size               40.00 MB / not usable 4.00 MB
   Allocatable           yes
   PE Size (KByte)       4096
   Total PE              9
   Free PE               9
   Allocated PE          0
   PV UUID               qMB7fV-nE0E-kws0-2BsL-qdGq-g22A-68v4zp

And would also have reported more than one PV.

Regards,
Bryn.




More information about the fedora-list mailing list