Posts

Mirroring in AIX

Mirroring # lspv # lsvg –L rootvg # extendvg rootvg hdisk1          extend rootvg to new harddisk. Rootvg is on hdisk0 # bootinfo –b                       to check boot disk # bootlist –m normal -o     check bootlist # mirrorvg rootvg   hdisk1      to create mirror image of hdisk0 to hdisk1 # bosboot –ad hdisk1          BLV not get transferred. We should transfer it manually. Check whether BLV transferred or not # bootlist –m normal -o Now change boot list # bootlist –m normal hdisk0 hdisk1 cd0 ent0 Now clear PP from old harddisk # chpv –c hdisk0                       to change the state of PV in a VG # reducevg rootvg...

Migration in AIX

Migration First we need to extend rootvg to new harddisk. Rootvg is on hdisk0 & we want to migrate on hdisk1 # extendvg rootvg hdisk1 # bootinfo –b                       to check boot disk # bootlist –m normal -o     check bootlist Hdisk0    blv=hd5 cd0 ent0 # migratepv   hdisk0  hdisk1      to migrate pv from old hdisk to new. # bosboot –ad hdisk1         BLV not get transferred. We should transfer it manually. # bootlist –m normal -o    Check whether BLV transferred or not Now change boot list # bootlist –m normal hdisk1 cd0 ent0 Now clear PP from old harddisk # chpv –c hdisk0                       to change the state of PV in a VG ...

Basic Command of AIX

PV (Physical Volume): Hard Disk is called as a Physical Volume in AIX # cfgmgr                        Command is used to add devices to the system. # lsdev –l hdisk1                             to # chdev –l hdisk1 –a pv=clear        to clear PID # chdev –l hdisk1 –a pv=yes           to create PID # chdev –l inet0 –a hostname= Name          to change hostname # mkvg –y vgname hdisk                                 to Create Volume Group # mklv –y lvname –t ...