AIX

AIX

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

 View Only
  • 1.  Physical Volume ID

    Posted Thu August 19, 2010 06:26 AM

    Originally posted by: manu12


    Hi,

    I am having very basic question, suppose I am having 2 hard disk in slot 1(hdisk0 ) and slot 2 (hdisk1) , one for rootvg (hdisk0)
    and another for datavg (hdisk1),

    now due to some reason in my slot no 2 (hdisk1) is having some hardware issue, wheather changing hard disk slot from 2 to 3 will change the pv id and wheather it will change hdisk no from hdisk1 to hdisk2

    Regards

    Manoj


  • 2.  Re: Physical Volume ID

    Posted Thu August 19, 2010 08:39 AM

    Originally posted by: Renaud


    Could you provide the output of the followings commands :

    lsdev -Cc disk
    lspv
    lsslot -c slot
    lsslot -c pci


  • 3.  Re: Physical Volume ID

    Posted Thu August 19, 2010 01:10 PM

    Originally posted by: dukessd


    If you move the disk then AIX will configure it as a new device because it will have a new location so it will get a new hdisk number, probably hdisk2, but the PVID will stay the same.

    lsdev -Cc disk will then show hdisk1 as defined and hdisk2 as available.

    AIX should not have a problem with this as it uses the PVID rather than the hdisk number but some applications may have a problem if they identify the device by name.

    If you are going to try this you should stop the applications. Varyoff the volume group. Export the volume group.
    Move the disk, either using the diag hot swap procedure or while the system is down.
    Then configure the new disk with cfgmgr or by starting the system up again.
    Then import the volume group by the new disk name.
    This will probably allow the application to start up and continue working OK.

    Having said all that, it is much more likely the disk has the hardware problem and not the slot so moving it will not help with this problem.

    Why do you say the disk has a hardware problem, please post any related errpt entries or diag results if you want further assistance.