AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk

Error Message:

labserver:/root# extendvg -f backupvg hdisk1
0516-1339 extendvg: Physical volume contains some 3rd party volume group.
0516-1397 extendvg: The physical volume hdisk1, will not be added to
the volume group.
0516-792 extendvg: Unable to extend volume group.

labserver:/root# lquerypv -h /dev/hdisk1
00000000 00820101 00000000 80000017 651FAA3A |…………e..:|
00000010 00000000 00000000 00000000 00000000 |…………….|
00000020 4F52434C 4449534B 00000000 00000000 |ORCLDISK……..|
00000030 00000000 00000000 00000000 00000000 |…………….|
00000040 0A100000 00170103 4F524158 5135305F |……..ORABASE_|
00000050 4447315F 30303233 00000000 00000000 |DG1_0023……..|
00000060 00000000 00000000 4F524158 5135305F |……..ORABASE_|
00000070 44473100 00000000 00000000 00000000 |DG1………….|
00000080 00000000 00000000 4F524158 5135305F |……..ORABASE_|
00000090 4447315F 30303233 00000000 00000000 |DG1_0023……..|
000000A0 00000000 00000000 00000000 00000000 |…………….|
000000B0 00000000 00000000 00000000 00000000 |…………….|
000000C0 00000000 00000000 01F6E66B 8403A400 |………..k….|
000000D0 01F765E7 0C6DFC00 02001000 00100000 |..e..m……….|
000000E0 0001BC80 00021453 00000003 00000001 |…….S……..|
000000F0 00000002 00000000 00000000 00000000 |…………….|

Solution:

We surely have here an old recyled ASM disk (because of the ORCLDISK word in the disk’s header). We need to clean this before using it.

labserver:/root # dd if=/dev/zero of=/dev/rhdisk1 bs=1024 count=10
10+0 records in.
10+0 records out.
labserver:/root # lquerypv -h /dev/hdisk1
00000000 00000000 00000000 00000000 00000000 |…………….|
00000010 00000000 00000000 00000000 00000000 |…………….|
00000020 00000000 00000000 00000000 00000000 |…………….|
00000030 00000000 00000000 00000000 00000000 |…………….|
00000040 00000000 00000000 00000000 00000000 |…………….|
00000050 00000000 00000000 00000000 00000000 |…………….|
00000060 00000000 00000000 00000000 00000000 |…………….|
00000070 00000000 00000000 00000000 00000000 |…………….|
00000080 00000000 00000000 00000000 00000000 |…………….|
00000090 00000000 00000000 00000000 00000000 |…………….|
000000A0 00000000 00000000 00000000 00000000 |…………….|
000000B0 00000000 00000000 00000000 00000000 |…………….|
000000C0 00000000 00000000 00000000 00000000 |…………….|
000000D0 00000000 00000000 00000000 00000000 |…………….|
000000E0 00000000 00000000 00000000 00000000 |…………….|
000000F0 00000000 00000000 00000000 00000000 |…………….|

labserver:/root# extendvg backupvg hdisk1
0516-1254 extendvg: Changing the PVID in the ODM.

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX ODM for MPIO User Guide 09
Viewed 3870 times since Mon, Dec 31, 2018
View mksysb content & restore individual files
Viewed 1781 times since Tue, Jul 17, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 3577 times since Thu, Feb 21, 2019
vfcpmap on VIO Server
Viewed 9413 times since Tue, Jun 4, 2019
AIX 7.2 running on my Macbook?
Viewed 12305 times since Mon, Jun 3, 2019
Create a mksysb + SPOT using NIM (CLI)
Viewed 5501 times since Tue, Jul 17, 2018
AIX rootvg Mirroring
Viewed 4465 times since Mon, May 21, 2018
AIX - How to unlock and reset user’s account
Viewed 16362 times since Fri, Jun 8, 2018
Rootvg Mirroring in AIX
Viewed 2603 times since Mon, May 21, 2018
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 2177 times since Fri, Apr 19, 2019