I suppose that this document will match more NFS clients, not only Oracle Exadata.
I’m using the Exadata name case in all the document’s I found on support, the information is WRONG:
- Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance(Doc ID 1354980.1)
- Sun ZFS Storage Appliance: Oracle Database 11g R2 NFS Mount Point Recommendations (Doc ID 1567137.1)
- Step by Step – Configure Direct NFS Client (DNFS) on Linux (11g) (Doc ID 762374.1)
All this documents has the following ops when mounting a NFS share:
<myIP>:/export/myshare /myshare nfs rw,bg,hard,nointr,rsize=1048576,wsize=1048576,tcp,vers=3,actimeo=0,timeo=600 0 0
I found that trying to mount with this options on the Exadata (RH6.6) will show you the wonderful message:
mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd. mount.nfs: an incorrect mount option was specified
As you can see in Doc ID 1354980.1, their instructions for mounting NFSv3 or NFSv3 are:
dcli -l root -g /home/oracle/dbs_group chmod 644 /etc/hosts.allow dcli -l root -g /home/oracle/dbs_group chmod 644 /etc/hosts.deny dcli -l root -g /home/oracle/dbs_group chkconfig rpcbind on dcli -l root -g /home/oracle/dbs_group service rpcbind start dcli -l root -g /home/oracle/dbs_group chkconfig nfslock on dcli -l root -g /home/oracle/dbs_group service nfslock start dcli -l root -g /home/oracle/dbs_group chkconfig nfs on dcli -l root -g /home/oracle/dbs_group service nfs start
Which will show an error like:
~ # service nfs start Starting NFS services: [ OK ] Starting NFS quotas: Cannot register service: RPC: Authentication error; why = Client credential too weak rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp). [FAILED] Starting NFS mountd: [ OK ] Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied) rpc.nfsd: unable to set any sockets for nfsd [FAILED]
So why don’t use NFSv4 which has portmapping IN the protocol?
<myIP>:/export/myshare /myshare nfs rw,bg,hard,nointr,rsize=1048576,wsize=1048576,tcp,vers=4,actimeo=0,timeo=600 0 0
That’s all, Enjoy!!!