So, it looks like you copied the disk from aplnx02 itself, and now
you're trying to mount the copy on aplnx02.  That's probably not going
to work particularly well.  The problem isn't the volume group name so
much as the UUID that gets written to the physical volume (PV) during
the pvcreate.

Trying to get around this could get rather complex.  If you're up for
that, email me off-list, and I'll try to work through it with you.  Once
we get things working (or give up), we can post what happened back to
the list.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jones, Russell
Sent: Wednesday, January 17, 2007 12:29 PM
To: [email protected]
Subject: Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR

Results from the scan commands:

[EMAIL PROTECTED] dev]# pvscan
  Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2
not /dev/dasda2
  PV /dev/dasdb2   VG VolGroup00   lvm2 [6.75 GB / 32.00 MB free]
  Total: 1 [6.75 GB] / in use: 1 [6.75 GB] / in no VG: 0 [0   ]
[EMAIL PROTECTED] dev]# vgscan
  Reading all physical volumes.  This may take a while...
  Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2
not /dev/dasda2
  Found volume group "VolGroup00" using metadata type lvm2
[EMAIL PROTECTED] dev]# lvscan
  Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2
not /dev/dasda2
  ACTIVE            '/dev/VolGroup00/LogVol00' [6.47 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [256.00 MB] inherit

[EMAIL PROTECTED] dev]# pvdisplay /dev/dasdb2
  Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasda2
not /dev/dasdb2
  Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2
not /dev/dasda2
  --- Physical volume ---
  PV Name               /dev/dasdb2
  VG Name               VolGroup00
  PV Size               6.75 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              216
  Free PE               1
  Allocated PE          215
  PV UUID               16aDZn-p0Dy-R9MA-fGCR-kPM8-RSMB-I49PDY

Looks like the volume groups have the same name. Is there any way around
that?

Russ Jones

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to