Re: trying to add disk to asm

  • From: Don Seiler <don@xxxxxxxxx>
  • To: Brian Zelli <Brian.Zelli@xxxxxxxxxxxxxxx>
  • Date: Tue, 12 Jul 2016 09:26:41 -0500

You should know whether or not you're using ASMLib. That makes a huge
difference in how this works.

Query the v$asm_disk view to see if you can see that new disk that you want
to add and if it is in CANDIDATE status.

Don.

On Tue, Jul 12, 2016 at 7:40 AM, Zelli, Brian <Brian.Zelli@xxxxxxxxxxxxxxx>
wrote:



*From:* Ryan January [mailto:rjanuary@xxxxxxxxx]
*Sent:* Tuesday, July 12, 2016 8:32 AM
*To:* Zelli, Brian
*Cc:* oracle-l (oracle-l@xxxxxxxxxxxxx)
*Subject:* Re: trying to add disk to asm



In my experience if ASM is saying the disk doesn't exist it's likely for
good reason.  There could be a few things that were missed along the way.



What OS? unix



How are you mapping device to your /dev path (ASMlib, UDEV, etc...) ? How
do I check this?  I don’t know.



Does the /dev path actually exist?  Yes it is /dev/oracleasm/



What are the disk's permissions? drwxr-xr-x   2 root       sys
8192 May 19 07:11 oracleasm* So do I need to be root to add it?*





What OS account is ASM running as? oracle



If you're using ASMlib, What does your ASM disk discovery path currently
look like?  Don’t know this…..



Has the disk been 'stamped' with oracleasm prior to your attempt to add
the disk?

I saw this when I googled for asm.  Do I have to run /etc/init.d/oracleasm 
createdisk cert_asmdisk118 /dev/oracleasm?





On Jul 12, 2016, at 6:49 AM, Zelli, Brian <Brian.Zelli@xxxxxxxxxxxxxxx
<Brian.Zelli@xxxxxxxxxxxxxxx>> wrote:



Ok, trying to add disk to asm…..



I set the environment to asm

Log in with sysasm

And run



alter diskgroup cert_dg1

add disk '/dev/oracleasm/cert_asmdisk118'



but get:



ERROR at line 1:

ORA-15032: not all alterations performed

ORA-15031: disk specification '/dev/oracleasm/cert_asmdisk118' matches no
disks



What am I doing wrong?



Brian






This email message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee or
agent responsible for the delivery of this message to the intended
recipient(s), you are hereby notified that any disclosure, copying,
distribution, or use of this email message is prohibited. If you have
received this message in error, please notify the sender immediately by
e-mail and delete this email message from your computer. Thank you.



This email message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee or
agent responsible for the delivery of this message to the intended
recipient(s), you are hereby notified that any disclosure, copying,
distribution, or use of this email message is prohibited. If you have
received this message in error, please notify the sender immediately by
e-mail and delete this email message from your computer. Thank you.




-- 
Don Seiler
http://www.seiler.us

Other related posts: