I have a san disk that was/is part of a vg and I can't remove it from the vg. When I check the pv's in the vg it shows this:
# lsvg -p prodvg1
prodvg1:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdiskpower323 active 136 20 00..00..00..00..20
hdiskpower319 active 136 7 00..00..00..00..07
hdiskpower320 active 136 8 00..00..00..00..08
hdiskpower321 active 136 8 00..00..00..00..08
hdiskpower322 active 136 8 00..00..00..00..08
However, when I run the lspv command I show an extra disk, hdiskpower233, assigned to the vg:
# lspv |grep prodvg1
hdiskpower233 00ce028fdb1bcb8c prodvg1 active
hdiskpower319 00ce028f8ad90414 prodvg1 active
hdiskpower320 00ce028f8adb4e07 prodvg1 active
hdiskpower321 00ce028f8ad37404 prodvg1 active
hdiskpower322 00ce028f8ad86ba3 prodvg1 active
hdiskpower323 00ce028f8aca78b8 prodvg1 active
I run the reducevg command and get the following:
# reducevg prodvg1 hdiskpower233
0516-022 lquerypv: Illegal parameter or structure value.
0516-022 ldeletepv: Illegal parameter or structure value.
0516-884 reducevg: Unable to remove physical volume hdiskpower233.
Any ideas on how to correct this?
# lsvg -p prodvg1
prodvg1:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdiskpower323 active 136 20 00..00..00..00..20
hdiskpower319 active 136 7 00..00..00..00..07
hdiskpower320 active 136 8 00..00..00..00..08
hdiskpower321 active 136 8 00..00..00..00..08
hdiskpower322 active 136 8 00..00..00..00..08
However, when I run the lspv command I show an extra disk, hdiskpower233, assigned to the vg:
# lspv |grep prodvg1
hdiskpower233 00ce028fdb1bcb8c prodvg1 active
hdiskpower319 00ce028f8ad90414 prodvg1 active
hdiskpower320 00ce028f8adb4e07 prodvg1 active
hdiskpower321 00ce028f8ad37404 prodvg1 active
hdiskpower322 00ce028f8ad86ba3 prodvg1 active
hdiskpower323 00ce028f8aca78b8 prodvg1 active
I run the reducevg command and get the following:
# reducevg prodvg1 hdiskpower233
0516-022 lquerypv: Illegal parameter or structure value.
0516-022 ldeletepv: Illegal parameter or structure value.
0516-884 reducevg: Unable to remove physical volume hdiskpower233.
Any ideas on how to correct this?