06-21-2012
Can't access NFS Share on Solaris Server from a Linux Client
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
Quote:
share -F nfs -o rw /var/share
& then ran the following
Quote:
svcadm -v enable -r network/nfs/server
On the client machine, while running the mount command, I am getting the following error.
Quote:
mount -vt nfs 97.146.133.114:/var/share /nfs_test
mount: trying 97.146.133.114 prog 100003 vers 3 prot tcp port 2049
mount: trying 97.146.133.114 prog 100005 vers 3 prot udp port 32777
mount: 97.146.133.114:/var/share failed, reason given by server: Permission denied
97.146.133.114 is the NFS Server.
Please help me to resolve this issue.
Thanks,
Sunil
Moderator's Comments:
|
|
Double post, continued here
|
|
Last edited by pludi; 06-21-2012 at 11:53 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ,
I am new to the unix .
And right now I have a unix machine "test" . I want to share a folder in the /opt/example .AND I hope when I use a windows machine to access the unix machine ,ep:start->cmd->\\test,I can see the shared folder "example",
what shall I do
thanks :) (2 Replies)
Discussion started by: floopw
2 Replies
2. Linux
Hi,
my problem is that I am not able to grand the nfs directory on a Fedora 7 server to a standard solaris client.
I always got the messages no permission.
Important: No change on the client (Solaris) is possible! So I am not able to change the NFS Version on the client side to force the... (3 Replies)
Discussion started by: joerg
3 Replies
3. Solaris
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies
4. AIX
Hi all,
Hopefully this question hasn't been asked a thousand times. I am trying to connect a Windows Server to an exported NFS share which resides on an AIX box.
I think the directory is exported correctly from the AIX side but I can't verify that because I didn't do it myself. On the... (6 Replies)
Discussion started by: ThePistonDoctor
6 Replies
5. AIX
Hi,
I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error:
# mount 128.127.11.121:/aix /to_be_del
mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper
failure - RPC: 1832-008 Timed out
mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies
6. Red Hat
When i tried to mount the nfs i see this error message
mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount
mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied
and the /etc/exports file in the host side looks like this
/remote/proj1 ... (12 Replies)
Discussion started by: srinathk
12 Replies
7. Red Hat
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
share -F nfs -o rw /var/share
& then ran the following
svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies
8. Red Hat
Hi All,
Is it possible to give full access for a normal user in a NFS share?
If its not possible is there a trick with which I can make it work?
Thanks in advance
Shyam (1 Reply)
Discussion started by: shyam2j
1 Replies
9. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
10. Solaris
I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies
mountd(1M) mountd(1M)
NAME
mountd - server for NFS mount requests and NFS access checks
SYNOPSIS
/usr/lib/nfs/mountd [-v] [-r]
mountd is an RPC server that answers requests for NFS access information and file system mount requests. It reads the file
/etc/dfs/sharetab to determine which file systems are available for mounting by which remote machines. See sharetab(4). nfsd running on the
local server will contact mountd the first time an NFS client tries to access the file system to determine whether the client should get
read-write, read-only, or no access. This access can be dependent on the security mode used in the remoted procedure call from the client.
See share_nfs(1M).
The command also provides information as to what file systems are mounted by which clients. This information can be printed using the show-
mount(1M) command.
The mountd daemon is automatically invoked by share(1M).
Only super user can run the mountd daemon.
The options shown below are supported for NVSv2/v3 clients. They are not supported for Solaris NFSv4 clients.
-r Reject mount requests from clients. Clients that have file systems mounted will not be affected.
-v Run the command in verbose mode. Each time mountd determines what access a client should get, it will log the result to the con-
sole, as well as how it got that result.
/etc/dfs/sharetab shared file system table
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfssu |
+-----------------------------+-----------------------------+
nfsd(1M), share(1M), share_nfs(1M), showmount(1M), nfs(4), sharetab(4), attributes(5)
Since mountd must be running for nfsd to function properly, mountd is automatically started by the svc:/network/nfs/server service. See
nfs(4).
Some routines that compare hostnames use case-sensitive string comparisons; some do not. If an incoming request fails, verify that the case
of the hostname in the file to be parsed matches the case of the hostname called for, and attempt the request again.
27 Apr 2005 mountd(1M)