Re: Problems Removing VG

From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 02/18/05

  • Next message: Green, Simon: "Re: setuid/sticky bit on directories"
    Date:         Fri, 18 Feb 2005 11:12:12 +0100
    To: aix-l@Princeton.EDU
    
    

    All the stuff you see when you look at your system are just ODM entries.
    What probably happened was that changes were made to the physical disks -
    removing LVs and the like, updating their VGDAs - but not the ODM: your
    system crashed before they could be fully sync'd. Or maybe the other way
    round, considering what was going on with your SAN.

    All exportvg does is clear out the ODM entries. Ideal for this sort of
    circumstance but it's worth remembering that some of your disks may still
    have something in their VGDA: if you try to use them again you may well see
    a warning that the disk is already part of a volume group.

    synclvodm or redefinevg might have fixed your problem, but not a lot of
    point in going to that effort when all you wanted to do was get rid of it.

    --
    Simon Green
    Altria ITSC Europe s.a.r.l.
    AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
    New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
    N.B. Unsolicited email from vendors will not be appreciated.
    Please post all follow-ups to the list.
    > -----Original Message-----
    > From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On
    > Behalf Of Mike Tibor
    > Sent: 17 February 2005 22:18
    > To: aix-l@Princeton.EDU
    > Subject: Re: Problems Removing VG
    >
    >
    > On Wed, 16 Feb 2005, Willeat, Todd wrote:
    >
    > > Was it already varied off when you were trying to reduce it?
    >
    > The strange thing was that prior to the system crash I had
    > killed the LVs
    > and removed the volume group, and then rmdev'd the hdisk.  I got lazy
    > though and didn't delete the logical drive on the SAN, so
    > when the crash
    > happened, and the system came back up, the hdisk returned.
    > I've no idea
    > how the volume group came back.  I was thinking that maybe I simply
    > removed the hdisk and forgot to delete the volume group, but
    > that doesn't
    > seem possible.
    

  • Next message: Green, Simon: "Re: setuid/sticky bit on directories"

    Relevant Pages

    • Re: hdisks missing
      ... disks are visible, and check device attributes like size and SSA serial ... > still configure both pdisk and hdisk. ... >> Yes you will need to varyoff the hdisks from the production node in ... >> order for the failover machine to configure them. ...
      (AIX-L)
    • Re: Wrong numbering of the internal disk for rootvg
      ... Is there anyway i can get it mounted back on hdisk0 and hdisk1. ... Why weird numbers are showing as the disks for the rootvg. ... SAN connectivity and rest of the hdisk... ...
      (comp.unix.aix)
    • Re: pdisk association problem - AIX 5.2
      ... James Goodwill wrote: ... hdisk relationship. ... Each node has an SSA cabinet, and the disks are mirrored across the ...
      (comp.unix.aix)
    • Re: Change rootvg hdisk numbers?
      ... What with disks breaking, SCSI buses ceasing work, SSA disks being ... my hdisk number assignments ... while hdisk0 and 1 are SSA disks. ...
      (comp.unix.aix)