Home » Server Options » RAC & Failsafe » Cannot mount NFS to install cluster (Oracle 11g, OEL6)
Cannot mount NFS to install cluster [message #649829] Fri, 08 April 2016 03:30 Go to next message
ducnt26
Messages: 8
Registered: April 2016
Location: Hanoi
Junior Member

Dear all,

I follow this tutorial to install Oracle Cluster 11GR2:
http://www.oratraining.com/blog/2013/03/setup-shared-file-system-and-other-pre-requisites/

I created share file system:


Quote:

[root@dbhost1 ~]# mkdir /shared_1

[root@dbhost1 ~]# mkdir /shared_2

[root@dbhost1 ~]# mkdir /shared_3

[root@dbhost1 ~]# chown oracle:dba /shared_1

[root@dbhost1 ~]# chown oracle:dba /shared_2

[root@dbhost1 ~]# chown oracle:dba /shared_3

[root@dbhost1 ~]# chmod g+w /shared_1

[root@dbhost1 ~]# chmod g+w /shared_2

[root@dbhost1 ~]# chmod g+w /shared_3
[root@dbhost1 ~]# more /etc/exports

/shared_1 *(rw,sync,no_wdelay,insecure_locks,no_root_squash)

/shared_2 *(rw,sync,no_wdelay,insecure_locks,no_root_squash)

/shared_3 *(rw,sync,no_wdelay,insecure_locks,no_root_squash)

[root@dbhost1 ~]# tail -3 /etc/fstab

nfshost:/shared_1 /u01 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
nfshost:/shared_2 /u02 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
nfshost:/shared_3 /u03 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0 0 0
[root@dbhost1 ~]# mount /u01
mount.nfs: mount options: "bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0,addr=192.168.84.169"


But when I checked there is no /u01:

Quote:

#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_rac1-lv_root
50G 8.4G 39G 19% /
tmpfs 1.9G 80K 1.9G 1% /dev/shm
/dev/sda1 477M 64M 384M 15% /boot
/dev/mapper/vg_rac1-lv_home
45G 9.0G 34G 22% /home
/dev/sr0 3.6G 3.6G 0 100% /media/OL6.6 x86_64 Disc 1 20141018


Please help me. Thanks very much.
Re: Cannot mount NFS to install cluster [message #649830 is a reply to message #649829] Fri, 08 April 2016 03:57 Go to previous messageGo to next message
John Watson
Messages: 7699
Registered: January 2010
Location: Global Village
Senior Member
Welcome to the forum. Please read our OraFAQ Forum Guide and How to use [code] tags and make your code easier to read

Generally speaking, if you have a problem with an article like that, you should ask the author of the article.
However, in this case I think it is obvious: you have not created the /u0% mount points.

Note that this question is nothing to do with Oracle, it is to do with NFS. You need to ask it on a Unix forum, not here.

Re: Cannot mount NFS to install cluster [message #649833 is a reply to message #649829] Fri, 08 April 2016 09:43 Go to previous messageGo to next message
bpeasland
Messages: 51
Registered: February 2015
Location: United States
Member

As John said, you didn't create the directories for the mount points. You did this:

[root@dbhost1 ~]# mkdir /shared_1

[root@dbhost1 ~]# mkdir /shared_2

[root@dbhost1 ~]# mkdir /shared_3


But you should have done this:


[root@dbhost1 ~]# mkdir /u01

[root@dbhost1 ~]# mkdir /u02

[root@dbhost1 ~]# mkdir /u03


And of course, change owner, permissions, all that...

Also...which NFS vendor are you using? You might want to consult their documentation to ensure those mount options are correct for their product running Oracle databases.


Cheers,
Brian
Re: Cannot mount NFS to install cluster [message #649834 is a reply to message #649829] Fri, 08 April 2016 09:59 Go to previous message
Michel Cadot
Messages: 66049
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

This question bears no real connection with Oracle database.
Please find a more appropriate forum.
The topic is locked. /forum/fa/448/0/
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).
Previous Topic: ASM diskgroups not mounted automatically
Next Topic: TAF connectivity
Goto Forum:
  


Current Time: Wed Dec 12 13:20:50 CST 2018