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

# bootlist –m normal –o
Hdisk0    blv=hd5
Hdisk1    blv=hd5
cd0

ent0

Comments

Popular posts from this blog

Migration in AIX

Basic Command of AIX