Results 1 to 10 of 10
Guys help me to solve this problem. . .
I have to configure NFS in my office. . .I am getting error message like this
mount failed, reason given by ...
- 08-28-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 13
Problem in NFS
Guys help me to solve this problem. . .
I have to configure NFS in my office. . .I am getting error message like this
mount failed, reason given by server: Permission denied. . .
I have done these steps. . .
In SERVER. . .
mkdir /raj
chmod ug+rw /raj
vi /etc/exports
/raj serverIP(rw)
service portmap restart
service nfs restart
exportfs -ra
rpcinfo -p
All the necessary services are running
In Client. . .
mkdir /kumar
chmod ug+rw /kumar
service portmap restart
service nfs restart
rpcinfo -p
All the necessary services are running
mount serverIP:/raj /kumar
mount failed, reason given by server: Permission denied
sad. . .What should i do now???
Plz give me best suggestion to solve this problem. . .
- 08-28-2010 #2You need to specify client, not server. Or you can export for whole subnet by giving netmask, like 192.168.0.0/24./raj serverIP(rw)
man exports
- 08-28-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 13
oops!!!....
I changed it...even though i m getting the same error????
- 08-28-2010 #4
From client:
Do you see exports?Code:showmount -e server
See examples in man exports, make sure no firewall is blocking connections.
- 08-28-2010 #5Just Joined!
- Join Date
- Aug 2010
- Posts
- 3
You can try checking your Firewall and SELINUX. You can try by temporarily disabling them.
- 08-29-2010 #6Just Joined!
- Join Date
- Jul 2010
- Posts
- 13
I already checked my firewall and selinux. . .
Its in disable only. . .??
any other way???
- 08-29-2010 #7Just Joined!
- Join Date
- Jun 2010
- Posts
- 25
Mounting NFS Share
on nfs server side try with these option it might work

vim /etc/exports
/<sharename> <*.your_domain_name>(rw,sync,no_root_squash)
then type
exportfs -rv
and restart the desired services
on client side type
showmount -e <server_ip>
if your shared folder is been listed then type
cd /net/<server_ip>/<shared_folder_name>
or
mount -t nfs <server_ip>/<shared_folder_name>
- 08-30-2010 #8Just Joined!
- Join Date
- Jul 2010
- Posts
- 13
Guys still getting the same error. . i have tried all steps u told. . .its urgent help
- 08-31-2010 #9Just Joined!
- Join Date
- Jun 2010
- Posts
- 25
On client side
mount -t nfs <server_ip>:<shared_folder_name> <mount _point>
mount -t nfs 192.168.0.254:/myshare /mnt
here 192.168.0.254 is nfs server ip
dont forget to give ":" after server ip
and /mnt is mount pount
- 08-31-2010 #10Just Joined!
- Join Date
- Jul 2010
- Posts
- 13
Thanks Friends got d desired output. . .Success


Reply With Quote