ORA-15020: discovered duplicate ASM disk

ORA-15020: discovered duplicate ASM disk

Wanted to create an ASM diskgroup. I was testing something and forgot to change asm_diskstring parameter. I created few links in /dev/rdsk, which were pointing to the disks .

ASM_DISKSTRING had both, original diskname and links, for the discovery.

SQL> show parameter string

NAME TYPE VALUE
———————————— ———– ——————————
asm_diskstring string /dev/rdsk/c*, /dev/rdsk/disk*

Where

/dev/rdsk/disk1 was pointing to c4t50060E800564F774d14s6
/dev/rdsk/disk2 was pointing to c4t50060E800564F774d15s6

SQL> select nvl(name,’NONAME’) as name , path, header_status, total_mb, free_mb from v$asm_disk
/

But when I tried creating the diskgroup by using the linked name, ASM error out giving following message

SQL> create diskgroup dg1 external redundancy disk ‘/dev/rdsk/disk1’, ‘/dev/rdsk/disk2’
/
create diskgroup dg1 external redundancy disk ‘/dev/rdsk/disk1’, ‘/dev/rdsk/disk2’
*
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15020: discovered duplicate ASM disk “dg1_0000”

ASM is intelligent enough to understand duplicate disks and point out error.

Advertisements
This entry was posted in Oracle Automatic Storage Management and tagged . Bookmark the permalink.

2 Responses to ORA-15020: discovered duplicate ASM disk

  1. Hi I had the same problem, this is the solution:

    Delete the Symbolic Name : disk1 and disk2
    Run as root the next command:
    cd /dev/rdsk
    rm disk1 disk2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s