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
Topics: PowerHA / HACMP, Storage Adding a new volume group to an active PowerHA resource group
Viewed 2498 times since Mon, Jun 3, 2019
Create bootable DVD iso image from a mksysb backup
Viewed 4376 times since Tue, Jul 17, 2018
AIX smtctl The smtctl command controls the enabling and disabling of processor simultaneous multithreading mode.
Viewed 14931 times since Fri, Jan 18, 2019
How to deal with performance monitoring in AIX ?
Viewed 7688 times since Fri, May 25, 2018
Rootvg Mirroring in AIX
Viewed 2567 times since Mon, May 21, 2018
Using Shell Redirection: All About the Here-Doc
Viewed 10160 times since Wed, May 30, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10268 times since Thu, Feb 21, 2019
AIX Replacing a failed disk (rootvg)
Viewed 8406 times since Tue, Jul 17, 2018
Create memory resident filesystems (RAM disk) on AIX
Viewed 2600 times since Thu, Feb 21, 2019
How to build a NIM Server on AIX 6.1 from the Scratch :: Part 1
Viewed 4821 times since Thu, Nov 29, 2018