unprophete
Technical User
LPAR gets two virtual hdisk's (VIO servers serves local [not shared SAN] drives - one from each VIOS).
LPAR's rootvg is mirrored on these drives.
When one VIO is halted, LPAR is still working with one disk missing in the rootvg and stale PPs.
Now when the VIOS is up again, "varyonvg rootvg" fails - can't activate the "missing disks" again and do the syncvg.
# varyonvg rootvg
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd8.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd4.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd2.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd9var.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd3.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd1.
0516-934 /usr/sbin/syncvg: Unable to synchronize logical volume hd10opt.
0516-932 /usr/sbin/syncvg: Unable to synchronize volume group rootvg.
# lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 missing 159 31 16..00..00..00..15
hdisk1 active 159 31 16..00..00..00..15
Right now, the only way to fix this online was:
# unmirrorvg rootvg hdisk0
# chpv -c hdisk0
# reducevg rootvg hdisk0
# rmdev -l vscsi0 -R
# cfgmgr
# extendvg -f rootvg hdisk0
# mirrorvg -m -s rootvg hdisk0
# varyonvg rootvg
# bosboot -a
Any other ideas? why the "varyonvg rootvg" sometimes helps in such case and sometimes as in example above not?