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
# reducevg rootvg hdisk0      to reduce volume group
# chdev –l hdisk0 –a pv=clear  to clear PID

# bootlist –m normal –o
hdisk1    blv=hd5
cd0
ent0


# rmdev –dl hdisk0                       to remove hdisk

Comments

Popular posts from this blog

Mirroring in AIX

Basic Command of AIX