mkvg fails

# mkvg -y temp_vg hdisk5
0516-1254 mkvg: Changing the PVID in the ODM.
0516-1207 mkvg: An invalid physical volume ID been detected on hdisk5.
0516-862 mkvg: Unable to create volume group.

???
What do I do? AIX 4.3.3
I have seen something like this before but I don't remember the solution...

I seem to remember having a simular issue which was solved by manually telling the disk it had a PVID:
# chdev -l hdisk2 -a pv=yes

You probably want to check what it is set to now using lspv or
# lsattr -l hdisk2 -E

Thank you.
It would have probably worked. But I fixed the problem with different approach. I figured, that the pvid was 'null'
Then I realized that the disks were not yet actviated when I created the RAID 5 array. I removed the array the recreated it, and it started working. And it has a PVID now :slight_smile:

I will file your more elegant suggestion for future reference :slight_smile: