LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-01-2004, 11:58 PM   #1
darfie
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
nfs mount


Greetings,

How do I nfs mount a filesystems exported from FC2. This worked fine in RH 9. Now I get permission denied. It fails whether is solaris or FC2 trying to mount filesystem.

root@workhourse# mount 192.168.1.65:/work /mnt
nfs mount: 192.168.1.65:/work: Permission denied


I have the following filesystem exported:

[root@claycourt-65 root]# exportfs
exportfs: No host name given with /work (ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping= identity,anonuid=-2,anongid=-2), suggest *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping =identity,anonuid=-2,anongid=-2) to avoid warning
exportfs: No host name given with /usr (ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping= identity,anonuid=-2,anongid=-2), suggest *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping =identity,anonuid=-2,anongid=-2) to avoid warning
/work <world>
/usr <world>
 
Old 10-04-2004, 12:31 PM   #2
shubb
Member
 
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150

Rep: Reputation: 16
As the error message says, you need to add a host to the exports. The host specifies which hosts are allowed to mount that export.

Edit the file /etc/exports and add a * to the beginning of each of the exports. That will allow all hosts to connect.

If you want to limit to certain hosts, specify them individually with a <space> between each hostname or IP.


/tftpboot *(rw,no_root_squash)

/usr/local/src server1 server2 10.1.1.5(rw,no_root_squash)
 
Old 10-24-2004, 03:13 PM   #3
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Rep: Reputation: 30
@darfie

Show the output of
#cat /etc/export

#cat /etc/hosts.allow

#cat /etc/hosts.deny

So, that i can try to solve u r query.



-Akshat
 
  


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
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
nfs mount richard22 Linux - Networking 2 09-10-2002 11:49 AM
NFS Mount siddiqu Linux - Networking 0 11-23-2001 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:53 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