Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-29-2008, 11:43 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
NFS mounting problem

Hi friends,

Have 2 RHEL4 systems i want to share files through NFS..

have added lines in /etc/exports


And also added line in /etc/nsswitch.conf

passwd: files nis
shadow: files nis
group: files nis

And also added line in /etc/hosts.allow file


i have started the nfs n portmap services..(No error)

When i tried to mount the file in other system using this command

mount -t nfs /rpm

I am getting access denied error
mount: failed, reason given by server: Permission denied

Both the directories having full permission...

Please help me to solve this problem

Old 03-01-2008, 12:46 AM   #2
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
Hi Sumanth,

did you do exportfs from the source. Please do it if you haven't done.

please see "man exportfs" for more options.

Old 03-01-2008, 04:30 AM   #3
LQ Newbie
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
sorry problem was .....

i have given wrong subnet mask....
i should give this...

thanks a lot
Old 03-02-2008, 08:46 AM   #4
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Please only post your question in one forum!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
nfs mounting problem Frustin AIX 5 02-04-2005 11:29 AM
problem mounting NFS goldkanal Linux - Networking 2 01-30-2005 01:07 PM
problem mounting NFS goldkanal Linux - Networking 3 01-30-2005 12:56 PM
NFS mounting problem KePSuX Linux - Networking 16 06-26-2003 10:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 PM.

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