[Oracleasm-users] ASMLib disks not available for CREATE DISKGROUP

Joel Becker Joel.Becker at oracle.com
Fri Apr 23 17:04:11 CDT 2004


On Thu, Feb 12, 2004 at 02:19:59PM -0800, John Smiley wrote:
> Each of the disks are whole disk partitions
> (/dev/hdc1, /dev/sdb1, etc), yet nothing I do allows
> me to create the diskgroups.
> 
> I used dbca to create an ASM instance and then
> manually tried to create diskgroups with the follwing
> command:
> 
> SQL> l
>   1  create diskgroup dgroup1 external redundancy
>   2* disk '/dev/oracleasm/disks/*'

	I apologize for not getting back to you, I managed to miss these
messages for a while.
	This is a common mistake.  Your discovery string is wrong.  The
discovery string should be prefixed by "ORCL:", and it should contain
the disk names, not a path.  So, if you named /dev/sdc disk "DISK2", you
would use the discovery string "ORCL:DISK2".
	Please upgrade the oracleasm-support package to 1.0.1.  It
handles forcing disk names to uppercase.  If you continue to use
oracleasm-support-1.0.0, make sure you use uppercase disk names
("DISK2", not "disk2").  This is a requirement of ASM, not ASMLib.
	Why, may I ask, did you decide to use '/dev/oracleasm/disks/*'
as your discovery string?  What led you to even look at that path?  I
can't figure out why everyone seems to get there :-)
	Btw, the discovery string is documented here (near the bottom):
http://oss.oracle.com/projects/oracleasm/dist/documentation/asm-install.txt

Joel

-- 

"Behind every successful man there's a lot of unsuccessful years."
        - Bob Brown

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127


More information about the Oracleasm-users mailing list