|Using NFS with ASM - This article describes how to use files presented using NFS as disks in ASM.|
Lesio said...What about direct NFS and linux ?
As I say in the article, using NFS on it's own is good. One reason it is good is because of the Direct NFS Client. This is shown and explained in my NFS RAC articles, so it's not relevant here.
If you need to know about it read my NFS RAC articles.
Some DBA said...Tim,
I understand ASM uses block devices and the only way I know to make an NFS mounted file to be handled as a block device is defining it as a loop device. What puzzles me is the note in Section 126.96.36.199 of the 11gR2 Grid Installation Guide which states "ASM does not support loop devices".
Either Oracle's note is incorrect or there is some other way to make NFS files appear as block devices to ASM or there is something else going on with this.
What are your thoughts ?
ASM supports files created with DD on any filesystem, even cooked. NFS is just preesenting the file. It is the file format that matters.
ron chennells said...
Tim the asmlib download link looks to be out of date.
I used this one
Thanks for the heads-up. I've corrected it now.
Paul said...creating the disks with
/usr/sbin/oracleasm createdisk DISK1 /dev/loop1
I got an error
"unable to access device /dev/loop1"
Everything up to that point was going fine.
Googled for it, couldn't find anything, any ideas?
Thanks in advance.
The only way I can see it failing is if you do the setup actions as a non-root user. Apart from that I have no idea.
Thank you. It is very exciting to found this articl. I`m doing the same thing. Creating ASM on NFS. Every steps just like yours. The only different is that after I Change Discovery Path and click OK. Nothing happened. The disks still not listed. Any idea why?
And I also noticed that the group for the disks you created is oinstall. Shouldn`t it be dba? The doc said it should be DBA
Group: Up to you. Use DBA if you prefer. :)
Missing files: Check ownership and permissions. Also, if the files have already been marked as ASM disks they will not be available. Must clear down properly after failed install.
DO NOT ask technical questions here! They will be deleted!
These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!