Two possible options, as far as I can tell:
"vgrename" will let you change the name of a volume group... But you might
have to change the name of the volume group on your running system; I'm not
sure it would let you change the one on the unmounted pack.
"vgsplit" will let you split off some of the physical volumnes in a volume
group. You might be able to "split" the only volume into a different volume
group name.
I noticed that the pv identifiers for /dasda2 and /dasdb2 are identical. Was
dasdb a copy of dasda? Having these pv identifiers being equal may be an
issue that would keep you from getting them both up on the same running
system. LVM identifies the physical volumes by these identifiers, so when
the system comes up with both these disks available, LVM would not be able
to identify the pv that truly should be part of the running system¹s volume
group. Using ³vgexport² and then ³vgimport² on the volume might help
matters, but I¹m not sure as I haven¹t really been there....
Of course, as with all such experiements, be sure to have a good backup of
/dev/dasdb (and /dev/dasda, for that matter) before attempting any sort of
recovery, as you cannot be sure if any such attempt might prove to be
destructive....
Have you thought about trying to bring up dasdb by itself in the LPAR, or in
a separate LPAR? It might come up to a point where you could work with the
data.
--
.~. Robert P. Nix Mayo Foundation
/V\ RO-OC-1-13 200 First Street SW
/ ( ) \ 507-284-0844 Rochester, MN 55905
^^-^^ -----
"In theory, theory and practice are the same, but
in practice, theory and practice are different."
> From: "Jones, Russell" <[EMAIL PROTECTED]>
> Reply-To: Linux on 390 Port <[email protected]>
> Date: Wed, 17 Jan 2007 11:28:45 -0600
> To: <[email protected]>
> Conversation: New HOWTO: Cloning Red Hat Linux Running in an LPAR
> Subject: Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR
>
> Results from the scan commands:
> [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?
----------------------------------------------------------------------
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