Tuesday, April 21, 2009

AIX - LVM - Change Physical Volumes

AIX - LVM - Change Physical Volumes

If we have three PV’s, like hdisk0, hdisk1, hdisk2, now you want to deactivate the hdisk2,

#chpv -vr hdisk2 (To deactivate the hdisk2)
#chpv –va hdisk2 (To activate the hdisk2)
#chpv –an hdisk2 (hdisk2 is not allocatable)
#chpv –ay hdisk2 (hdisk2 is allocatable)
#chpv –hn hdisk2 (hotspare no)
#chpv –hy hdisk2 (Hotspare yes)
#chpv –c hdisk2 (To clear the boot image)

1 comment:

  1. Hi,

    May i know more details about you?

    Where are you working?

    I'm Leo, AIX Administrator working in Singapore.

    ReplyDelete

Note: Only a member of this blog may post a comment.