LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-19-2006, 11:01 PM   #1
ahmedb72
Member
 
Registered: Jan 2006
Location: Sydney
Distribution: RHEL
Posts: 72

Rep: Reputation: 15
NFS share not working


I wanted to do simple NFS share, but it didn't work.

Here's the steps I followed

In the server side (192.168.131.77):

vi /etc/exports
/mnt/inst *(ro,sync)
# exportfs -a
# iptables F
# service nfs restart
# showmount -e
Export list for rhe4as:
/mnt/inst *


in the client side (192.168.131.73):
# ping 192.168.131.77
64 bytes from 192.168.131.77: icmp_seq=0 ttl=64 time=3.91 ms
# mount -r 192.168.131.77:\mnt\inst \root\temp\inst
mount 192.168.131.77:mntinst failed, reason given by server: Permission denied


Why the mount didn't work? how can I fix it?

Thanks in advance.
 
Old 02-20-2006, 08:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
you're using the wrong syntax, as the mount command states: 192.168.131.77:mntinst try turning your slashes round the right way! ;-)
 
Old 02-21-2006, 10:54 PM   #3
ahmedb72
Member
 
Registered: Jan 2006
Location: Sydney
Distribution: RHEL
Posts: 72

Original Poster
Rep: Reputation: 15
You're right acid, it worked after putting the correct slashes :-)

but I should point out the returning message was misleading.

Thank you acid.
 
Old 02-22-2006, 02:38 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
misleading in as much as a denied message when nothing exists? well i don't think that's justified as IF you are someone who's allowed to mount a share then you mount the correct share. If you start saying things like the specified share does not exist thenyou open up a huge hole in terms of providing information about the filesystem you are protecting. instead you just say "no" and leave it at that, as it's much more secure.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't share directory using NFS hedpe Linux - Networking 3 09-13-2005 08:16 PM
Need to configure a NFS share... Thaidog Linux - Newbie 1 06-01-2005 09:39 AM
Mapping an NFS share not working mijohnst Linux - Networking 4 05-12-2004 01:14 PM
NFS share issues takisd Linux - Networking 0 03-17-2004 07:12 AM
Can't acces NFS share simonwindt Debian 5 10-06-2003 03:58 AM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration