AIX

AIX

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


#Power
 View Only
  • 1.  Migratepv issue,

    Posted Tue June 01, 2010 08:30 AM

    Originally posted by: nanohertz


    My scenario is as follows, I have hdisk1-hdisk3 in a datavg, I extendvg datavg onto hdisk5, then I migrated hdisk1 to hdisk5, I then reducevg -d datavg1 hdisk2 and hdisk3 from the vg, now when I perform
    lsvg -l datavg I receive the following output:

    lsvg -l datavg1
    datavg1:
    LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
    loglv00 jfs2log 1 1 1 closed/syncd N/A
    0516-1147 : Warning - logical volume fslv01 may be partially mirrored.
    fslv01 jfs2 596 198 2 closed/syncd /db1

    I wanted to perform unmirrorvg datavg1 to allow the system to remove the phantom copy, but I was concerned about whether this action would remove the only active copy from the system which is on hdisk5, any assistance provided would be greatly appreciated, thanks in advance.
    #AIX-Forum


  • 2.  Re: Migratepv issue,

    Posted Wed June 02, 2010 11:29 AM

    Originally posted by: alethad


    Did your loglv also get migrated to the new disk? Make sure. You should list the contents of your VG with the lsvg -M datavg and see if you still have mirrors somewhere and where they are located.

    If you perform an unmirror command it should not remove the only copy. But if you have pieces of a mirror across disks you will have to find out which copy you wind up with and where. That's why it's better to know what you have before you start.

    Hope that helps.
    #AIX-Forum