Re: Can't remove hdisk from rootvg

jkstevenson_at_MICRON.COM
Date: 11/10/04

  • Next message: Sajjad S Hashimi: "Re: Can't remove hdisk from rootvg"
    Date:         Wed, 10 Nov 2004 10:46:39 -0700
    To: aix-l@Princeton.EDU
    
    

    Steve -
     
    Interesting .. have only seen this on rare occasions.....
     
    Run the following command to see what the disk actually knows about the
    volume group:
     
    #>lqueryvg -Atvp hdisk0
     
    This will read the vgda on the disk .. look at the items under Physical
    .. this will tell you what PVIDs are in
    rootvg as seen by the disk... see if 00c0b84e228a7fcd is in the list...
     
    Run the next command to see if if ODM agrees with what you see on the
    disk.
     
    #>odmget -q "name=rootvg and attribute=pv" CuAt
     
    See if 00c0b84e228a7fcd is again on the list...
     
    1) if both agree... reducevg didn't work ..
     
       execute the reducevg command again and re-run both of the previous
    commands to see if they agree now
     
     
    2) Disk VGDA says hdisk1 is IN the volume group and ODM says the disk is
    NOT in the volume group..
     
         ODM is correct in your situation but the disk did not get updated
    correctly ...
     
         #resync the VGDA with the ODM information
         #>synclvodm -v rootvg
     
             Re-run the the two commands and see if everyone agrees
     
     
    3) Disk VGDA says hdisk1 is OUT of the volume group and ODM says is in
    the volume group..
     
          Highly unlikely....
     
          Match a odmdelete to remove the entry....
     
     
    Good hunting ..
     
    Jon
     
          
     
     
     
     
         Update information from ODM to
    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Stephen Firmes
    Sent: Wednesday, November 10, 2004 10:12 AM
    To: aix-l@Princeton.EDU
    Subject: Can't remove hdisk from rootvg

    My new P5 550 came with AIX 5.3 preloaded onto hdisk1. I wanted to move
    everything onto hdisk0. I followed the following steps:

    migratepv -l hd5 hdisk1 hdisk0

    bosboot -a -d /dev/hdisk0

    bootlist -m normal hdisk0

    mkboot -c -d /dev/hdisk1

    smit migratepv

    reducevg rootvg hdisk1

    rmdev -l hdisk1 -d

     

    Everything worked great. The problem that I am having is when I run
    cfgmgr, hdisk1 gets added to rootvg. Although rootvg knows nothing
    about it.

     

    lab-aix4:/=>cfgmgr;lspv

    cfgmgr: 0514-621 WARNING: The following device packages are required for

            device support but are not currently installed.

    devices.fcp.changer

    hdisk0 00c0b84e228a7fcd rootvg
    active

    hdisk2 00c0b84e19bfd6ca stevevg
    active

    hdisk1 00c0b84ee1e5e1f4 rootvg
    active

     

    lab-aix4:/=>lsvg -p rootvg

    rootvg:

    PV_NAME PV STATE TOTAL PPs FREE PPs FREE
    DISTRIBUTION

    hdisk0 active 546 513
    109..94..92..109..10

    9

     

     

    Any ideas?

     

    Thanks.

     

    Steve


  • Next message: Sajjad S Hashimi: "Re: Can't remove hdisk from rootvg"

    Relevant Pages

    • Re: AIX 4.3 Stale LVs
      ... After running 'syncvg -v rootvg': ... But this command shows all disks OK: ... # lspv -l hdisk7 ... it looks like you have had a disk failure. ...
      (comp.unix.aix)
    • Re: New HDD Installation
      ... "John John" wrote: ... a single partition disk. ... confirm or change the active flag of the partition using the FDISK command. ... There are other ways to mark the partition active, either with a Windows ...
      (microsoft.public.windowsxp.general)
    • Re: Forgot to put old_rootvg to sleep before reboot - How to Wake
      ... Performs operations on existing alternate rootvg volume groups. ... To rename Alternate Disk Volume Group: ... The alt_rootvg_op command can be used to determine which disk is the ... flag) can be executed at this time. ...
      (comp.unix.aix)
    • PC8477 Demo Program
      ... The PC8477 Demo Program is designed to allow access to all software commands and registers of National Semiconductor's PC8477 Advanced Floppy Disk Controller. ... The left center indicates the number of bytes transferred during the last command issued. ...
      (comp.sys.ibm.ps2.hardware)
    • Re: Windows XP boot failure
      ... If you have a friend with a real Windows ... read/write to the drives using a command line ... For more information on a specific command, ... CHKDSK Checks a disk and displays a status report. ...
      (microsoft.public.windowsxp.basics)