<?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: Using ASM with files (either locally or via NFS)</title>
	<atom:link href="http://blog.ronnyegner-consulting.de/2009/09/21/using-asm-with-local-disk-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ronnyegner-consulting.de/2009/09/21/using-asm-with-local-disk-files/</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/09/21/using-asm-with-local-disk-files/comment-page-1/#comment-15894</link>
		<dc:creator>Ronny Egner</dc:creator>
		<pubDate>Mon, 11 Apr 2011 08:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=177#comment-15894</guid>
		<description>Hi,

as far as i know &quot;Direct NFS&quot; refers to the ability to use DIRECT IO against data files placed on NFS shares.

The way you are using ASM with NFS is the only way i know. For re-creating the mapping upon boot you have to write a custom init script.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>as far as i know &#8220;Direct NFS&#8221; refers to the ability to use DIRECT IO against data files placed on NFS shares.</p>
<p>The way you are using ASM with NFS is the only way i know. For re-creating the mapping upon boot you have to write a custom init script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://blog.ronnyegner-consulting.de/2009/09/21/using-asm-with-local-disk-files/comment-page-1/#comment-15420</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Wed, 30 Mar 2011 16:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=177#comment-15420</guid>
		<description>Oracle also claims that with 11gR2 RAC, that the Direct_NFS client works with ASM diskgroups. But how do you &quot;discover&quot; the mounted disks?
I was able to discover the mounted disks using a similar approach to yours:
# dd if=/dev/zero of=/u10/group001/disk001 bs=1024k count=100000
# losetup /dev/loop1 /u10/group001/disk001
# ./oracleasm createdisk DISK010 /dev/loop1

but that doesn&#039;t seem like it will remount on a reboot.
There are a lot of blogs and white papers that tell you how to configure Direct NFS but nothing on how to get ASM to see this new disk group, officially.</description>
		<content:encoded><![CDATA[<p>Oracle also claims that with 11gR2 RAC, that the Direct_NFS client works with ASM diskgroups. But how do you &#8220;discover&#8221; the mounted disks?<br />
I was able to discover the mounted disks using a similar approach to yours:<br />
# dd if=/dev/zero of=/u10/group001/disk001 bs=1024k count=100000<br />
# losetup /dev/loop1 /u10/group001/disk001<br />
# ./oracleasm createdisk DISK010 /dev/loop1</p>
<p>but that doesn&#8217;t seem like it will remount on a reboot.<br />
There are a lot of blogs and white papers that tell you how to configure Direct NFS but nothing on how to get ASM to see this new disk group, officially.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some DBA</title>
		<link>http://blog.ronnyegner-consulting.de/2009/09/21/using-asm-with-local-disk-files/comment-page-1/#comment-4572</link>
		<dc:creator>Some DBA</dc:creator>
		<pubDate>Sun, 25 Jul 2010 15:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://ronnyegner.wordpress.com/?p=177#comment-4572</guid>
		<description>Regarding 11gR2 RAC, ASM, and NFS, it is my understanding that NFS mounted file systems are mounted as anonymous file systems rather than block devices and ASM requires block devices.  The only way I know of to have Linux treat an anonymous file system mounted over NFS as a block device is to subsequently mount it as a loop device as shown in your article.  However, the Oracle 11gR2 documentation specifically states, &quot;ASM does not support loop devices&quot;.

How do I mount NFS file systems as block devices so ASM will use them?  

Without creating the loop device, oracleasm createdisk complains the given file is not a block device when i run

/usr/sbin/oracleasm createdisk DISK1 /u01/oradata/data_disk_01

where /u01/oradata is an NFS mount from a NetApp volume defined in /etc/fstab.

When I use the asmca, it does not find any candidate disks even with the search path set.</description>
		<content:encoded><![CDATA[<p>Regarding 11gR2 RAC, ASM, and NFS, it is my understanding that NFS mounted file systems are mounted as anonymous file systems rather than block devices and ASM requires block devices.  The only way I know of to have Linux treat an anonymous file system mounted over NFS as a block device is to subsequently mount it as a loop device as shown in your article.  However, the Oracle 11gR2 documentation specifically states, &#8220;ASM does not support loop devices&#8221;.</p>
<p>How do I mount NFS file systems as block devices so ASM will use them?  </p>
<p>Without creating the loop device, oracleasm createdisk complains the given file is not a block device when i run</p>
<p>/usr/sbin/oracleasm createdisk DISK1 /u01/oradata/data_disk_01</p>
<p>where /u01/oradata is an NFS mount from a NetApp volume defined in /etc/fstab.</p>
<p>When I use the asmca, it does not find any candidate disks even with the search path set.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

