Re: Can not reduce a volume group

From: justin.bleistein@SUNGARD.COM
Date: Mon Nov 25 2002 - 12:12:10 EST


I agree with Lamar, to use the PVID to reduce it rather then the "hdisk"
name. Check to see if any of the partitions on that disk your trying to
reduce are "stale". If Lamars' suggestion doesn't work let me know. I will
then send you procedures on how to manually remove the drive from the AIX
ODM.

--Justin

                      "Saxon, Lamar"
                      <Lamar.Saxon@AMERI To: aix-l@Princeton.EDU
                      CREDIT.COM> cc:
                      Sent by: IBM AIX Subject: Re: Can not reduce a volume group
                      Discussion List
                      <aix-l@Princeton.E
                      DU>

                      11/25/2002 11:23
                      AM
                      Please respond to
                      IBM AIX Discussion
                      List

Do a reducevg by the PVID vs. the hdisk name. Use the PVID the system
thinks it has in the VGDA.

I.e.;

reducevg hekvg 0057871a14afe020

Lamar

-----Original Message-----
From: Jordan, Franklin
To: aix-l@Princeton.EDU
Sent: 11/25/2002 9:38 AM
Subject: Can not reduce a volume group

All,

        I am trying to reduce a volume group by one hdisk. The problem
is
the hdisk has a different (physical volume id number) then what's in
the
odm database. How can I correct the problem?

Copied for the server:

rockvile# reducevg -d hekvg hdisk5
0516-304 getlvodm: Unable to find device id 0057871a14afe020.1 in the
Device
Configuration Database.
0516-914 rmlv: Warning, all data belonging to logical volume
0057871a14afe020.1 on physical volume hdisk5 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
0516-304 getlvodm: Unable to find device id 0057871a14afe020.1 in the
Device
Configuration Database.
0516-304 getlvodm: Unable to find device id 0057871a14afe020.1 in the
Device
Configuration Database.
0516-312 getlvodm: Unable to find logical volume 0057871a14afe020.1 in
the
Device Configuration Database.
0516-912 rmlv: Unable to remove logical volume 0057871a14afe020.1.
0516-884 reducevg: Unable to remove physical volume hdisk5.

rockvile# lspv
hdisk0 0057871a76501a6c rootvg
hdisk1 none None
hdisk2 0057871a15efa7ea hekvg
hdisk3 0057871a15fb2a8d informixvg
hdisk4 0057871a72d80476 informixvg

hdisk5 0055ff0a68b5a5fc hekvg

Thanks

Franklin A. Jordan
Computer Network Specialist
Service Assurance - Broadband
SPIRENT COMMUNICATIONS INC.
15200 Omega Drive
Rockville, Md. 20850 USA
Office 1-301-590-3600

fjordan@spirentcom.com
www.spirentcom.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:22 EDT