AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  PVID and VG details missing on secondary node

    Posted Wed May 18, 2011 12:09 AM

    Originally posted by: SystemAdmin


    Hi Team,

    i have an hacmp cluster running single RG having only one VG with one disk ...i took reboot of both node as part of maint activity .after reboot RG is not starting getting "PV-ID' mismatch error on both nodes.check and found PV ID showing on prmairy node ,but in secondary node PVID is missing and lspv showing for this lun showing "none none" ....Since it is production i manually mounted the VG/filesystems and released to users ..

    i tried varyonvg -bu prodvg in primary node and done importvg -L prodvg .but throwing error 0516-306 getlvodm: Unable to find volume group dprodvg in the Device
    Configuration Database.
    0516-306 redefinevg: Unable to find volume group prodvg in the Device
    Configuration Database.
    0516-780 importvg: Unable to import volume group from hdiskpower6.
    what needs to be done to correct the PVID issue on secondary node without affecting the production/data
    Rgds,suresh


  • 2.  Re: PVID and VG details missing on secondary node

    Posted Wed May 18, 2011 02:11 AM

    Originally posted by: SystemAdmin


    Hi,

    well usually chdev -l hdiskpower6 -a pv=yes would fix the issue.

    But it looks like your lun is locked by production node.

    Could you post lsattr -El hdiskpower6 | grep reserve_policy from prod node (should be no_reserve)?

    Regards,
    AM


  • 3.  Re: PVID and VG details missing on secondary node

    Posted Wed May 18, 2011 03:03 AM

    Originally posted by: SystemAdmin


    Hi ,

    i have tried chdel -l hdiskpower6 -a pv=yes after varyonvg -bu prodvg on primary server.Now it is showing PVID ,but not showing vg details ..getting error while performing importvg on secondary node

    importvg -L datavg2 hdiskpower6
    0516-306 getlvodm: Unable to find volume group prodvg in the Device
    Configuration Database.
    0516-306 redefinevg: Unable to find volume group prodvg in the Device
    Configuration Database.
    0516-780 importvg: Unable to import volume group from hdiskpower6.
    rgds,suresh


  • 4.  Re: PVID and VG details missing on secondary node

    Posted Wed May 18, 2011 04:41 AM

    Originally posted by: SystemAdmin


    Something with ODM maybe?
    Did you try synclvodm ?

    Regards,
    AM