<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ASM resilvering – or – how to recover your crashed cluster – Test no 3</title>
	<atom:link href="http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/</link>
	<description>Ronny Egners Blog about Oracle, UNIX and EMC / Legato Networker</description>
	<lastBuildDate>Fri, 06 Jan 2012 07:51:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ronny Egner</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-3811</link>
		<dc:creator>Ronny Egner</dc:creator>
		<pubDate>Wed, 23 Jun 2010 05:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-3811</guid>
		<description>&gt;  the question is does ASM actually search for the member disks in a diskgroup that was created using full disk-device-paths or does ASM just only looks for those devices exactly as they are specified?

ASM is not fixed to device path. If device names change ASM recognizes this and is still able to mount the disk group.

You already tried setting the asm_diskstring parameter. To what value exactly?
Did you check the ASM permissions?
Regarind the example you showed with force-rename. Do NOT do this - it wont change anything.</description>
		<content:encoded><![CDATA[<p>&gt;  the question is does ASM actually search for the member disks in a diskgroup that was created using full disk-device-paths or does ASM just only looks for those devices exactly as they are specified?</p>
<p>ASM is not fixed to device path. If device names change ASM recognizes this and is still able to mount the disk group.</p>
<p>You already tried setting the asm_diskstring parameter. To what value exactly?<br />
Did you check the ASM permissions?<br />
Regarind the example you showed with force-rename. Do NOT do this &#8211; it wont change anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ayotunde</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-3777</link>
		<dc:creator>Ayotunde</dc:creator>
		<pubDate>Sun, 20 Jun 2010 11:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-3777</guid>
		<description>I have a configuration where full device-path-names were used to create ASM diskgroups (Oracle DB on Solaris 10).
Recently the LUN IDs were changed on the SAN storage and so the disk-device-names changed (on the Solaris 10 host) and so the ASM could not find/mount the disks for the diskgroups.
I have tried setting the asm_diskstring parameter to a wildcard but that didn’t work (as I suspected). Assuming asm_diskstring is set, the question is does ASM actually search for the member disks in a diskgroup that was created using full disk-device-paths or does ASM just only looks for those devices exactly as they are specified? The rename_dg in 11g has a asm_diskstring parameter that can be set at the diskgroup level and which causes a rediscovery of the disks in a diskgroup, but unfortunately I am on 10gR2. Is there a way to do something similar via ASM or some other Oracle utility? Thanks.

SQL&gt; select adg.name dg_name, ad.name fg_name, path from v$asm_disk ad
right outer join v$ASM_DISKGROUP adg
on ad.group_number=adg.group_number;

DG_NAME FG_NAME PATH
————— ———————- ————————————
DATA1 DATA1_0001 /dev/rdsk/c2t50XXXXXXXXX94FC2d2s0
DATA1 DATA1_0002 /dev/rdsk/c2t50XXXXXXXXX94FC2d3s0
DATA1 DATA1_0000 /dev/rdsk/c2t50XXXXXXXXX94FC2d1s0
DATA1 DATA1_0003 /dev/rdsk/c2t50XXXXXXXXX94DECd11s0
DATA DATA_0000 /dev/rdsk/c2t50XXXXXXXXX94DECd0s0
DATA DATA_0001 /dev/rdsk/c2t50XXXXXXXXX94DECd1s0
FRAD FRADISK5 /dev/rdsk/c2t50XXXXXXXXX94DECd10s0
FRAD FRAD_0005 /dev/rdsk/c2t50XXXXXXXXX94DECd12s0
FRAD FRADISK6 /dev/rdsk/c2t50XXXXXXXXX94FC2d0s0
FRAD FRADISK3 /dev/rdsk/c2t50XXXXXXXXX94DECd9s0
FRAD FRADISK1 /dev/rdsk/c2t50XXXXXXXXX94DECd2s0
FRAD FRSDISK2 /dev/rdsk/c2t50XXXXXXXXX94DECd3s0

12 rows selected.

SQL&gt;

The LUN ID is roughly the 1 or 2 digit number after the small “d” in the device (PATH) names. Some of them changed at the O/S level when LUN ID was changed on the SAN storage. 

I was thinking maybe if I run the following sample command (let’s say the device-name for FRDISK6 changed for example):

/etc/init.d/oracleasm force-renamedisk /dev/rdsk/c2t50XXXXXXXXXXXFC2d5s0 FRDISK6

(where /dev/rdsk/c2t50XXXXXXXXXXXFC2d5s0 is the new O/S device for the disk)

Do you think this update ASM as required (including whatever data structures/tables/views) such that the diskgroup(s) will be mountable?</description>
		<content:encoded><![CDATA[<p>I have a configuration where full device-path-names were used to create ASM diskgroups (Oracle DB on Solaris 10).<br />
Recently the LUN IDs were changed on the SAN storage and so the disk-device-names changed (on the Solaris 10 host) and so the ASM could not find/mount the disks for the diskgroups.<br />
I have tried setting the asm_diskstring parameter to a wildcard but that didn’t work (as I suspected). Assuming asm_diskstring is set, the question is does ASM actually search for the member disks in a diskgroup that was created using full disk-device-paths or does ASM just only looks for those devices exactly as they are specified? The rename_dg in 11g has a asm_diskstring parameter that can be set at the diskgroup level and which causes a rediscovery of the disks in a diskgroup, but unfortunately I am on 10gR2. Is there a way to do something similar via ASM or some other Oracle utility? Thanks.</p>
<p>SQL&gt; select adg.name dg_name, ad.name fg_name, path from v$asm_disk ad<br />
right outer join v$ASM_DISKGROUP adg<br />
on ad.group_number=adg.group_number;</p>
<p>DG_NAME FG_NAME PATH<br />
————— ———————- ————————————<br />
DATA1 DATA1_0001 /dev/rdsk/c2t50XXXXXXXXX94FC2d2s0<br />
DATA1 DATA1_0002 /dev/rdsk/c2t50XXXXXXXXX94FC2d3s0<br />
DATA1 DATA1_0000 /dev/rdsk/c2t50XXXXXXXXX94FC2d1s0<br />
DATA1 DATA1_0003 /dev/rdsk/c2t50XXXXXXXXX94DECd11s0<br />
DATA DATA_0000 /dev/rdsk/c2t50XXXXXXXXX94DECd0s0<br />
DATA DATA_0001 /dev/rdsk/c2t50XXXXXXXXX94DECd1s0<br />
FRAD FRADISK5 /dev/rdsk/c2t50XXXXXXXXX94DECd10s0<br />
FRAD FRAD_0005 /dev/rdsk/c2t50XXXXXXXXX94DECd12s0<br />
FRAD FRADISK6 /dev/rdsk/c2t50XXXXXXXXX94FC2d0s0<br />
FRAD FRADISK3 /dev/rdsk/c2t50XXXXXXXXX94DECd9s0<br />
FRAD FRADISK1 /dev/rdsk/c2t50XXXXXXXXX94DECd2s0<br />
FRAD FRSDISK2 /dev/rdsk/c2t50XXXXXXXXX94DECd3s0</p>
<p>12 rows selected.</p>
<p>SQL&gt;</p>
<p>The LUN ID is roughly the 1 or 2 digit number after the small “d” in the device (PATH) names. Some of them changed at the O/S level when LUN ID was changed on the SAN storage. </p>
<p>I was thinking maybe if I run the following sample command (let’s say the device-name for FRDISK6 changed for example):</p>
<p>/etc/init.d/oracleasm force-renamedisk /dev/rdsk/c2t50XXXXXXXXXXXFC2d5s0 FRDISK6</p>
<p>(where /dev/rdsk/c2t50XXXXXXXXXXXFC2d5s0 is the new O/S device for the disk)</p>
<p>Do you think this update ASM as required (including whatever data structures/tables/views) such that the diskgroup(s) will be mountable?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gaurav</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-2138</link>
		<dc:creator>gaurav</dc:creator>
		<pubDate>Fri, 09 Apr 2010 06:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-2138</guid>
		<description>Hi,

Good observation,

I am facing the same problem now i am able to solve with your article.

Keep up the good work.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Good observation,</p>
<p>I am facing the same problem now i am able to solve with your article.</p>
<p>Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronny Egners Blog &#187; ASM resilvering &#8211; or &#8211; how to recover your crashed cluster</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-25</link>
		<dc:creator>Ronny Egners Blog &#187; ASM resilvering &#8211; or &#8211; how to recover your crashed cluster</dc:creator>
		<pubDate>Tue, 27 Oct 2009 07:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-25</guid>
		<description>[...] overwriting the ASM disk header with the disk group being offline [...]</description>
		<content:encoded><![CDATA[<p>[...] overwriting the ASM disk header with the disk group being offline [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ronnyegner</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-18</link>
		<dc:creator>ronnyegner</dc:creator>
		<pubDate>Tue, 20 Oct 2009 13:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-18</guid>
		<description>Hi,

yes, you can as long as you give a reference.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>yes, you can as long as you give a reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Polprav</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-17</link>
		<dc:creator>Polprav</dc:creator>
		<pubDate>Tue, 20 Oct 2009 11:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-17</guid>
		<description>Hello from Russia!
Can I quote a post in your blog with the link to you?</description>
		<content:encoded><![CDATA[<p>Hello from Russia!<br />
Can I quote a post in your blog with the link to you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASM resilvering &#8211; or &#8211; how to recover your crashed cluster &#171; Ronny Egner&#39;s Blog</title>
		<link>http://blog.ronnyegner-consulting.de/2009/10/08/asm-resilvering-%e2%80%93-or-%e2%80%93-how-to-recover-your-crashed-cluster-%e2%80%93-test-no-3/comment-page-1/#comment-16</link>
		<dc:creator>ASM resilvering &#8211; or &#8211; how to recover your crashed cluster &#171; Ronny Egner&#39;s Blog</dc:creator>
		<pubDate>Thu, 08 Oct 2009 07:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=566#comment-16</guid>
		<description>[...] overwriting the ASM disk header with the disk group being offline [...]</description>
		<content:encoded><![CDATA[<p>[...] overwriting the ASM disk header with the disk group being offline [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

