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
A Unix Utility You Should Know About: lsof
Viewed 1913 times since Tue, Apr 16, 2019
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 2254 times since Fri, Apr 19, 2019
Processes and Devices—It’s All About the Children
Viewed 2172 times since Wed, May 30, 2018
IP configuration in AIX
Viewed 2714 times since Tue, Jul 17, 2018
AIX - How to monitor CPU usage
Viewed 27023 times since Fri, Jun 8, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10557 times since Wed, Jun 5, 2019
AIX, Installation, NIM↑ Creating an LPP source and SPOT in NIM
Viewed 14752 times since Fri, Apr 19, 2019
AIX Encrypted File System
Viewed 5806 times since Tue, Jul 17, 2018
Script HW/SW AIX
Viewed 9064 times since Mon, Jun 4, 2018
AIX oslevel version OS
Viewed 4863 times since Wed, Apr 17, 2019