1827682 Members
3428 Online
109967 Solutions
New Discussion

NFS problem

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

NFS problem

Red Hat Enterprise Linux 4 Update 2.

I wanto to mount a NFS filesystem but I get an error:

[root@dev ~]# mount monitor:/ora /sw
mount: monitor:/ora failed, reason given by server: Permission denied

Server which has the NFS origin filesystem has portmap, nfs and nfslock services running.

/etc/exports has the following:
/ora dev(rw,sync)

I ran the exportfs -a after configure /etc/exports.

Any idea about the source of my problem?
2 REPLIES 2
njia_1
Trusted Contributor
Solution

Re: NFS problem

Hi

If you did not have the folloiwng entry in your /etc/fstab file
monitor:/ora /sw nfs xxxx

then you need to tell mount command that you are mounting a nfs filesystem.
[root@dev ~]# mount -f nfs monitor:/ora /sw

if you get the same error message try the following.

Login "monitor" the
# showmount -e

then you will see a list of all filesystems being exported.
/ora should be on the list and should be accessible by "dev"

thanks
Nan
Tonatiuh
Super Advisor

Re: NFS problem

Nop, I would not want to mount the NFS at server start.

My real problem was that the hosts entry for the server that was allowed to acces NFS was wrong. It is running right now.