Home > ASM > ORA-15031: disk specification matches no disks

ORA-15031: disk specification matches no disks

September 18, 2014 Leave a comment Go to comments

Added a disk into a diskgroup, it showed errors as below

SQL> ALTER DISKGROUP VOTEDG ADD  QUORUM DISK ‘/nfsvoting/nfsvotedk’;
ALTER DISKGROUP VOTEDG ADD  QUORUM DISK ‘/nfsvoting/nfsvotedk’
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15031: disk specification ‘/nfsvoting/nfsvotedk’ matches no disks
ORA-15014: path ‘/nfsvoting/nfsvotedk’ is not in the discovery set

 

The problem was caused by the asm_diskstring was not set. I set the asm_diskstring. The problem get fixed.
SQL>  alter system set asm_diskstring=’/dev/asmdisk/*’,’/nfsvoting/*’;

System altered.

SQL> show parameter asm_dis

NAME                                 TYPE        VALUE
———————————— ———– ——————————
asm_diskgroups                       string      VOTEDG
asm_diskstring                       string      /dev/asmdisk/*, /nfsvoting/*
SQL> ALTER DISKGROUP VOTEDG ADD  QUORUM DISK ‘/nfsvoting/nfsvotedk’;

Diskgroup altered.

Advertisements
Categories: ASM
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: