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
Kerberos authentication configuration for AIX servers
Viewed 10525 times since Mon, Jun 25, 2018
Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 2183 times since Thu, Sep 20, 2018
AIX POWERHA/HACMP: Basic commands
Viewed 4950 times since Sat, Jun 2, 2018
AIX LVM QUORUM mysteries revealed
Viewed 2986 times since Wed, May 22, 2019
AIX Oracle tuning
Viewed 206089 times since Tue, Jul 2, 2019
Managing System Dump Devices sysdumpdev
Viewed 3167 times since Mon, Jul 9, 2018
Install and configure GNU watch (gwatch) on AIX
Viewed 7512 times since Thu, Feb 21, 2019
SNAP in AIX
Viewed 11262 times since Mon, Sep 17, 2018
AIX - How to get IP and MAC address of ethernet adapter in AIX
Viewed 23326 times since Fri, Jun 8, 2018
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 29483 times since Thu, Jun 21, 2018