I had a junior admin delete LUNs from the SAN before removing the volume group associated with it. The volume group was still in the ODM, but the PVs were gone and not coming back. Exporting the VG didn’t work:
# exportvg datavg
0516-772 exportvg: Unable to export volume group datavg
The VG is in the ODM:
# odmget -q name=datavg CuDv
CuDv:
name = "datavg"
...
The way to remove it from the ODM is:
# odmdelete -o CuDv -q name=datavg