AIX

AIX

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


#Power
#Power
 View Only
  • 1.  mirrorvg error

    Posted Tue February 28, 2012 11:39 AM

    Originally posted by: itsmebenindo


    I have rootvg on hdisk0, and Im trying to mirror it to hdisk1 which has same capacity at hdisk0, using the following command : mirrorvg rootvg hdisk1.

    But I have always go the following error:
    0516-014 mirrorvg: hdisk1: The physical volume appears to belong to another volume group.
    0516-1200 mirrorvg: Failed to mirror the volume group.

    Initially I use the hdisk1 for 'datavg',but I have already remove the 'datavg', and also clear the PVID of hdisk1 using the following command : chdev -l hdisk1 -a pv=clear

    1. lspv
    hdisk0 0000418a4939092b rootvg active
    hdisk1 0000418ac61f66d3 None

    But still the above error occurs.

    Any idea what caused the error?.
    #AIX-Forum


  • 2.  Re: mirrorvg error

    Posted Tue February 28, 2012 12:40 PM

    Originally posted by: orphy


    Do extendvg first before mirrorvg.
    Orphy
    #AIX-Forum


  • 3.  Re: mirrorvg error

    Posted Wed February 29, 2012 01:56 AM

    Originally posted by: itsmebenindo


    Thanks Orphy, it works now
    #AIX-Forum