<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mark Wagner&#039;s Oracle on Linux Site &#187; ASM</title>
	<atom:link href="http://oracle-on-linux.net/category/oracle-11g/asm/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle-on-linux.net</link>
	<description>Helping DBA&#039;s in a Linux World</description>
	<lastBuildDate>Thu, 20 Aug 2009 18:21:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mode</title>
		<link>http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/</link>
		<comments>http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 20:05:15 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[ASM]]></category>
		<category><![CDATA[Automatic Storage Management]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[ASM asmtool oracleasm errors]]></category>
		<category><![CDATA[asmcmd]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/</guid>
		<description><![CDATA[The warning is provided in 2 cases. If the ORACLE_SID is not set properly or when the ASM instance is not running. Before Oracle 11g the user received an error which was indicated that the environment was wrong. In Oracle 11g a must beter message is provide, and there are situations where you can use [...]]]></description>
			<content:encoded><![CDATA[<p>The warning is provided in 2 cases. If the ORACLE_SID is not set properly or when the ASM instance is not running. </p>
<p>Before Oracle 11g the user received an error which was indicated that the environment was wrong. In Oracle 11g a must beter message is provide, and there are situations where you can use ASMCMD even when the ASM instance is not started or the ORACLE_SID is not set properly.</p>
<p>So depending on the situation the message can be correct. If this is not wanted, validate if the ASM instance is running and/or ORACLE_SID is set correctly.</p>
<p>When using ASMCMD, if ASM instance is running, v$ views are used to retrieve the information requested. If the ASM instance is down, the diskheader is read to provide the requested information when using ASMCMD.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/08/15/asmcmd-08103-failed-to-connect-to-asm-asmcmd-running-in-non-connected-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle ASM Errors</title>
		<link>http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/</link>
		<comments>http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 17:02:08 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[ASM]]></category>
		<category><![CDATA[Automatic Storage Management]]></category>
		<category><![CDATA[Oracle 10g R2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[ASM asmtool oracleasm errors]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/</guid>
		<description><![CDATA[&#160; # /etc/init.d/oracleasm createdisk VOL1 /dev/xvdb1 Marking disk &#34;/dev/xvdb1&#34; as an ASM disk: asmtool: Device &#34;/dev/xvdb1&#34; is not a partition [FAILED] Workaround: Run the asmtool command with the -a force=yes parameter to ignore the partition check, for example # asmtool -C -l /dev/oracleasm -n VOL1 -s /dev/xvdb1 -a force=yes /etc/init.d/oracleasm scandisks The oracleasm scandisks command [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<pre># /etc/init.d/oracleasm createdisk VOL1 /dev/xvdb1
Marking disk &quot;/dev/xvdb1&quot; as an ASM disk: asmtool: Device &quot;/dev/xvdb1&quot; is not
a partition
                                                           [FAILED]</pre>
<p>Workaround: Run the asmtool command with the <code>-a force=yes</code> parameter to ignore the partition check, for example</p>
<pre># asmtool -C -l /dev/oracleasm -n VOL1 -s /dev/xvdb1 -a force=yes
/etc/init.d/oracleasm scandisks</pre>
<p>The <code>oracleasm scandisks</code> command fixes permissions once the disk is created.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/08/13/oracle-asm-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to see the files stored in ASM &#8211; Oracle Automatic Storage Management</title>
		<link>http://oracle-on-linux.net/2009/07/07/how-to-see-the-files-stored-in-asm-oracle-automatic-storage-management/</link>
		<comments>http://oracle-on-linux.net/2009/07/07/how-to-see-the-files-stored-in-asm-oracle-automatic-storage-management/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:39:19 +0000</pubDate>
		<dc:creator>Mark Wagner</dc:creator>
				<category><![CDATA[ASM]]></category>
		<category><![CDATA[Automatic Storage Management]]></category>
		<category><![CDATA[Oracle 10g R2]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[asmcmd]]></category>

		<guid isPermaLink="false">http://oracle-on-linux.net/?p=22</guid>
		<description><![CDATA[#asmcmd -p Asmcmd lets you view directory structuture and files stored inside Oracle ASM usitlizing a CLI and unix like commands. Command Description cd Changes the current directory to the specified directory. du Displays the total disk space occupied by ASM files in the specified ASM directory and all its subdirectories, recursively. exit Exits ASMCMD. [...]]]></description>
			<content:encoded><![CDATA[<p>#asmcmd -p</p>
<p>Asmcmd lets you view directory structuture and files stored inside Oracle ASM usitlizing a CLI and unix like commands.</p>
<table title="Summary of ASM Commands" dir="ltr" border="1" cellspacing="0" cellpadding="3" width="100%" frame="hsides" rules="groups" summary="ASMCMD Command Summary">
<thead>
<tr align="left" valign="top">
<th id="r1c1-t6" align="left" valign="bottom">Command</th>
<th id="r1c2-t6" align="left" valign="bottom">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td id="r2c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABFHHBB">cd</a></td>
<td align="left">Changes the current directory to the specified directory.</td>
</tr>
<tr align="left" valign="top">
<td id="r3c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABIDEII">du</a></td>
<td align="left">Displays the total disk space occupied by ASM files in the specified ASM directory and all its subdirectories, recursively.</td>
</tr>
<tr align="left" valign="top">
<td id="r4c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BCFHAEGE">exit</a></td>
<td align="left">Exits ASMCMD.</td>
</tr>
<tr align="left" valign="top">
<td id="r5c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABECFIF">find</a></td>
<td align="left">Lists the paths of all occurrences of the specified name (with wildcards) under the specified directory.</td>
</tr>
<tr align="left" valign="top">
<td id="r6c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABFIEAJ">help</a></td>
<td align="left">Displays the syntax and description of ASMCMD commands.</td>
</tr>
<tr align="left" valign="top">
<td id="r7c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABEEEDG">ls</a></td>
<td align="left">Lists the contents of an ASM directory, the attributes of the specified file, or the names and attributes of all disk groups.</td>
</tr>
<tr align="left" valign="top">
<td id="r8c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABDAGIH">lsct</a></td>
<td align="left">Lists information about current ASM clients.</td>
</tr>
<tr align="left" valign="top">
<td id="r9c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABHHCBH">lsdg</a></td>
<td align="left">Lists all disk groups and their attributes.</td>
</tr>
<tr align="left" valign="top">
<td id="r10c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABHBEDG">mkalias</a></td>
<td align="left">Creates an alias for a system-generated filename.</td>
</tr>
<tr align="left" valign="top">
<td id="r11c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABGEEDI">mkdir</a></td>
<td align="left">Creates ASM directories.</td>
</tr>
<tr align="left" valign="top">
<td id="r12c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABJBCGF">pwd</a></td>
<td align="left">Displays the path of the current ASM directory.</td>
</tr>
<tr align="left" valign="top">
<td id="r13c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABDIIJH">rm</a></td>
<td align="left">Deletes the specified ASM files or directories.</td>
</tr>
<tr align="left" valign="top">
<td id="r14c1-t6" align="left"><a href="http://oracle-on-linux.net/wp-admin/#BABCIJEB">rmalias</a></td>
<td align="left">Deletes the specified alias, retaining the file that the alias points to.</td>
</tr>
</tbody>
</table>
<p>Wildcard</p>
<p>The wildcard characters &#8220;*&#8221; and &#8220;%&#8221; match zero or more characters anywhere within an absolute or relative path. The two characters behave identically. The ASMCMD commands that accept wildcards are <code>ls</code>, <code>du</code>, <code>rm</code>, and <code>find</code>. The following examples illustrate the use of wildcards.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-on-linux.net/2009/07/07/how-to-see-the-files-stored-in-asm-oracle-automatic-storage-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

