AIX

AIX

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


#Power
 View Only
  • 1.  PVID issue

    Posted Sat September 26, 2009 12:49 AM

    Originally posted by: GurpreetSingh


    Hi Friends,

    In our environment we use hitachi storage. We use Hitachi solution for true copy in which from production system data is copied using horcm to shadow image and then backup runs from shadow image. All the VG's are imported on shadow image using the PVID's propagated from production system(which helps in importing productions VG's on shadow image). In our case we set the PVID on the LUN on production system and then on the shadow copy we run cfgmgr to get the same PVID on the corresponding LUN on Shadow Image.

    My query is that what affect will cfgmgr or chdev command will have on the LUN's with respect to PVID. How the cfgmgr and chdev differs with respect to setting PVID?

    Does chdev command assign new PVID everytime or it takes the information from the VGDA on LUN?

    Thanks & Regards,
    Gurpreet Singh
    #AIX-Forum


  • 2.  Re: PVID issue

    Posted Mon September 28, 2009 06:04 AM

    Originally posted by: l2abe


    When you execute "chdev -l hdisk# -a pv=yes" then, if a PVID is existing on the LUN/disk, and this pvid is not conflicting with any other pvid on the system, then this pvid will be retained and set, as it is, on the new system.
    cfgmgr is not intended to assign/modify a PVID on disks.
    In order to assign a NEW pvid you have to clean it with chdev -a pv=clear followed by pv=yes.
    #AIX-Forum