LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-16-2004, 12:50 PM   #1
]Trix[
LQ Newbie
 
Registered: Feb 2003
Location: Europe - Slovenia
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Nfs Mount Problem [SOLVED]


Hi!

This is the problem:

mount -t nfs gateway://home/storage /mnt/nfs
mount: gateway://home/storage failed, reason given by server: Permission denied

On server machine all required services are started.

rpcinfo -p shows next services running:
portmapper on port 111
status on port 4000
nfs on port 2049
nlockmgr port 32773
mountd on port 4002

On client machine portmap is started.

On the server machine i get this message:
[rpc.mountd] authenticated mount request from 192.168.1.2:701 for /home/storage (/home/storage)

This are my settings:

/etc/exports:
/home/storage 192.168.1.2(rw,sync)

/etc/hosts.allow:
ALL : 127.0.0.1
ALL : 192.168.1.2
portmap : 192.168.1.2
mountd : 192.168.1.2

and in /etc/conf.d/nfs i have changed a this two things:

RPCMOUNTDOPTS="-p 4002"
RPCSTATDOPTS="-p 4000"

No firewall running.

Thank you in advance.

Last edited by ]Trix[; 12-19-2004 at 07:57 AM.
 
Old 12-16-2004, 03:46 PM   #2
gunjan thakkar
LQ Newbie
 
Registered: Dec 2004
Location: India
Posts: 4

Rep: Reputation: 0
hi
i read ur problem
what i think ur problm is minor everything seems fine
u might have write wrong command
mount -t nfs gateway://home/storage /mnt/nfs
instead it should be
mount -t nfs gateway:/home/storage /mnt/nfs
because in /etc/export it is showing u have given permisstion /home
one more / meanse to be different directory
otherwise rest is o.k

reply me if it works
bye
cheers
 
Old 12-19-2004, 07:57 AM   #3
]Trix[
LQ Newbie
 
Registered: Feb 2003
Location: Europe - Slovenia
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
It works now.
I specified the wrong path. // instead of / .
Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
NFS Mount Problem sroyc Red Hat 2 08-12-2005 12:29 AM
NFS Mount problem doug stand Linux - Networking 1 07-26-2005 11:01 AM
NFS Mount problem frank2 Linux - Networking 10 05-07-2004 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration