Wednesday, November 2, 2011

AIX LPAR: Replace failed mirror

## break the mirror (two ways to do this)
rmlvcopy 1
unmirrorvg

## remove the disk from the vg
reducevg
## remove the hdisk from ODM
rmdev -dl

## physically replace the disk
diag -> function select -> task selection -> hot plug task -> scsi and scsi raid hot plug manager -> replace/remove a device attached to an scsi hot swap enclosure device -> select disk and follow instructions

## configure new disk an check the new number (hopefully the same)
cfgmgr -v
lsdev -Cc

## add back to volume group
extendvg
## create mirror (two ways to do this)
mklvcopy 2
mirrorvg

## sync mirror
syncvg -l

## If this is the rootvg there are additonal steps to take
bosboot -ad /dev/
bootlist -m normal
bootlist -m normal -o

0 comments:

Post a Comment

 
;