PV addition in AIX Server

July 11, 2016 by S4

Filed under AIX

Last modified July 15, 2016

PV addition in AIX Server

Step 1: After creating a LUN in DS4800 assign (mapping) the same to the host AIX Server
Step 2: login into AIX Server as root user
Step 3: list the present status of physical volume
#lspv
hdisk0 00cafc4f0d72757c rootvg active
hdisk1 00cafc4f0e127e26 rootvg active
hdisk2 00cafc4f39d6c4c2 datavg active
hdisk3 00cafc4f39e0c7d5 indexh active
hdisk4 00cafc4f39d8cd8a databig active
hdisk5 00cafc4f39d8cedd extract active

Step 4: reconfigure the devices
#cfgmgr
#lspv
hdisk0 00cafc4f0d72757c rootvg active
hdisk1 00cafc4f0e127e26 rootvg active
hdisk2 00cafc4f39d6c4c2 datavg active
hdisk3 00cafc4f39e0c7d5 indexh active
hdisk4 00cafc4f39d8cd8a databig active
hdisk5 00cafc4f39d8cedd extract active
hdisk6 none None
Step 5: hdisk 6 not having the pvid, change the characteristics of the device
#chdev –l hdisk6 –a pv=yes
Step 6: to know the size of the PV
#bootinfo -s hdisk6
Step 7: remove the device configuration
#rmdev -l hdisk6
Step 8: Add the PV to the existing VG
#extendvg datavg hdisk6
Step 9: Ensure the PV has been added in that VG namely datavg
#lsvg –p datavg

Leave a Comment