User Tools

Site Tools


aix:add_lun_vios

AIX:Add a new LUN on a LPAR through VIOS

To install a VIOS with NIM, you have to use the installation CD of the VIOS

  • After the LUN creation on DS8000, and map to VIOS (minimum 2)
  • On the first VIOS as padmin (ex: vios1)
[padmin@vios1]/home/padmin# cfgdev
  • The new LUN is discover
  • Affect a PVID (usefull, because it's easier to find a LUN on multiple server: vios1, vios2, and target LPAR)
[padmin@vios1]/home/padmin# chdev -dev hdisk15 -attr pv=yes
  • On the second VIOS as padmin (ex: vios2)
[padmin@vios2]/home/padmin# cfgdev
  • Now map the new LUN on both VIOS
[padmin@vios1]/home/padmin# mkvdev -dev hdisk15 -vadapter vhost5 -dev labotest_b1
[padmin@vios2]/home/padmin# mkvdev -dev hdisk15 -vadapter vhost5 -dev labotest_b1
  • On the target LPAR:
[root@labotest]/root # cfgmgr

Now the new LUN is available, you can balance IO between the 2 VIOS.

aix/add_lun_vios.txt · Last modified: 2021/01/01 21:21 (external edit)