AIX

AIX

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


#Power
 View Only
  • 1.  error while clearing PVID

    Posted Tue January 24, 2012 01:45 AM

    Originally posted by: himacs


    Hi Admins,

    I am not able to clear pvid of a disk.

    chdev -l hdisk273 -a pv=clear
    Method error (/usr/lib/methods/chgdisk):
    0514-047 Cannot access a device.
    pv

    The disk is from SAN. I can clear remove the disk using rmdev.But if i run cfgmgr , this disk apperas with PVID. Please suggets how to clear PVID.

    Regards
    himacs
    #AIX-Forum


  • 2.  Re: error while clearing PVID

    Posted Tue January 24, 2012 02:10 AM

    Originally posted by: jvk


    Error says that you cannot access a device... so it seems reserved by someone else, especially if it comes back after reconfiguration.
    Try to rmdev -dl hdiskN, un-map it on your storage box, map it back, run the cfgmgr and try again.
    #AIX-Forum


  • 3.  Re: error while clearing PVID

    Posted Fri January 27, 2012 02:56 AM

    Originally posted by: SystemAdmin


    Ensure this disk is not part of any other servers like shared disk.

    chdev -l <hdisk#> -a pv=clear is right and enough command to clear the PV.

    If the PVID is setting back, then something is abnormal here.

    You can also check with the SAN team to verify this disk is mapped to any other servers / wwpns by providing the LUN ID.

    Even after verify the above steps, if still the disk is shows the PVID, then you clean the disk.

    dd if=/dev/zero of=/dev/rhdisk# bs=64k count=100
    rmdev -dl hdisk#
    cfgmgr -v
    Kannan
    #AIX-Forum