cancel
Showing results for 
Search instead for 
Did you mean: 

NFS mount

adr33
Occasional Advisor

NFS mount

Dear,

 

I have 2 server, Server A and Server B.

The idea is I want to mount folder in server A to Server B, So Server B can access server A folder.

 

I try this command, but it return permission denied

mount -F nfs nfs_server_name:/remote_filesystem /local_filesystem

 

ps -ef|grep NFS result


    root  2081  2077  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2077     1  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2075     1  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2080  2077  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2082  2077  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2084  2077  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2085  2077  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2086  2077  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2087  2082  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2088  2081  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2089  2081  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2090  2081  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2091  2082  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2092  2080  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2093  2082  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2094  2080  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16
    root  2095  2080  0  Jan 14  ?         0:00 /usr/sbin/nfsd 16

 

I also add share -F nfs -o rw /FATABKP
in this file /etc/dfs/dfstab but the result still the same

 

Any idea why is wrong?

2 REPLIES
Dennis Handly
Acclaimed Contributor

Re: NFS mount

>I also add "share -F nfs -o rw /FATABKP" in this file /etc/dfs/dfstab but the result still the same

 

Did you actually invoke that share(1m) command?  Putting it in dfstab only works on the next reboot or when you invoke shareall(1m),

pradeep m
Respected Contributor

Re: NFS mount

hi,

 

check if you have NFS server services running. Perform the following: 

 

# rpcinfo --> shows if the NFS services are running.

If not, start the nfs servers. 

# /sbin/init.d/nfs.core start 

# /sbin/init.d/nfs.server start

# rpcinfo --> Run this command again to check if it shows the nfs services. 

 

Run "showmount" command to print the list of shared file systems

# showmount -e

 

Now try to mount the shared directory on the Server B and let us know if it works.

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details