Wednesday, 4 January 2012

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

No comments:

Post a Comment