AIX - One Stale PP fix
Lets begin by braking the mirror first
rmlvcopy hd9var 1 hdisk0
reduce the size of the hd9var to free the problem pp from hdisk1
chfs -a size=-128M /var
verify that the hd9var does not use the hdisk1 disks pp number 132
readvgda -d hdisk1
create badpplv.map file containing the following line only
hdisk1:132
Now create lv to occupy the bad pp so that there's no allocation done for that pp .
mklv -m badppv.map -t jfs -y badpplv rootvg
Now lets resize the hd9var to original size
chfs -a size=+128M /var
Now lets create the mirror
mklvcopy hd9var 2 hdisk0
Now sync the vg.
syncvg -l hd9var
Lets begin by braking the mirror first
rmlvcopy hd9var 1 hdisk0
reduce the size of the hd9var to free the problem pp from hdisk1
chfs -a size=-128M /var
verify that the hd9var does not use the hdisk1 disks pp number 132
readvgda -d hdisk1
create badpplv.map file containing the following line only
hdisk1:132
Now create lv to occupy the bad pp so that there's no allocation done for that pp .
mklv -m badppv.map -t jfs -y badpplv rootvg
Now lets resize the hd9var to original size
chfs -a size=+128M /var
Now lets create the mirror
mklvcopy hd9var 2 hdisk0
Now sync the vg.
syncvg -l hd9var