LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2005, 06:51 PM   #1
jmanjeff
Member
 
Registered: Dec 2004
Distribution: Debian Sid/ Mepis/ XP for Gameing
Posts: 34

Rep: Reputation: 15
Need NFS help


What am i doing wrong and what info do you need to help me
Thanks


jeff@debian:~$ su
Password:
debian:/home/jeff# umount -a -t nfs
debian:/home/jeff# exportfs -ra
exportfs: No options for /192.168.1.100/home*(rw) : suggest (sync) to avoid warning
exportfs: /etc/exports [3]: No 'sync' or 'async' option specified for export ":/192.168.1.100/home*(rw)".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: No options for /192.168.1.100/usr/local*(ro) : suggest (sync) to avoid warning
exportfs: /etc/exports [4]: No 'sync' or 'async' option specified for export ":/192.168.1.100/usr/local*(ro)".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: No options for /192.168.1.100/mnt/fat*(rw) : suggest (sync) to avoid warning
exportfs: /etc/exports [5]: No 'sync' or 'async' option specified for export ":/192.168.1.100/mnt/fat*(rw)".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
debian:/home/jeff# mount 192.168.1.101:/usr/local /QuakePC/usrlocal -o rw
mount: 192.168.1.101:/usr/local failed, reason given by server: Permission denied
 
Old 06-24-2005, 07:03 PM   #2
ToastedToad
Member
 
Registered: Feb 2005
Location: Sequim,WA
Distribution: Debian_sid/Debian_sarge_amd64
Posts: 157

Rep: Reputation: 30
If we could see your /etc/hosts.allow, /etc/hosts.deny and /etc/exports maybe something will jump out at us.

Are your hosts defined in /etc/hosts on all machines. Can you ping the server?
 
Old 06-26-2005, 11:27 AM   #3
jmanjeff
Member
 
Registered: Dec 2004
Distribution: Debian Sid/ Mepis/ XP for Gameing
Posts: 34

Original Poster
Rep: Reputation: 15
Computer #1 main computer IP 192 .168.1.100


# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/192.168.1.100/home*(rw)/ *(async)
/192.168.1.100/usr/local*(ro)/ *(async)
/192.168.1.100/mnt/fat*(rw)/ *(async)
/home/ *(rw,async,all_squash) \
192.168.1.100(rw,async)
/usr/local/ *(async,all_squash)
/QuakePc/fat/ *(rw,async,all_squash)


/etc/hosts
127.0.0.1 localhost.localdomain localhost debian

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
#
portmap: 192.168.1.101





Computer #2 quake3 server 192.168.1 101

# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/192.168.1.101/home*(rw) / * (rw,async)
/192.168.1.101/usr/local*(ro) / * (rw,async)

/ect/hosts 127.0.0.1 localhost.localdomain localhost Quake

# The following lines are desirable for IPv6 capable hosts
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
#
portmap: 192.168.1.100

And there is nothing in deny
 
Old 06-26-2005, 12:09 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
from what i have seen, the exports syntax is different from what you have. maybe yours is one way to do it, i'm just saying what works for me is slightly different. for example, using your main computer info, it would be:

Code:
/home           192.168.0.100(rw,async) 
/usr/local       192.168.0.100(ro,async) 
/mnt/fat         192.168.0.100(rw,async) 
/QuakePc/fat/  192.168.0.100(rw,async,all_squash)
etc.

note that x.x.x.100 is the client that is getting access, not the server where the shares are. it kind of looks like you have it set up with x.x.x.100 as the server, but maybe i'm wrong about that.

where have you seen doing it the way you listed? i'd like to check it out if you have a link. the guide i used is here:

http://nfs.sourceforge.net/nfs-howto/server.html#LATER

and following that has always worked for me.


gl


Quote:
Originally posted by jmanjeff
Computer #1 main computer IP 192 .168.1.100


# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/192.168.1.100/home*(rw)/ *(async)
/192.168.1.100/usr/local*(ro)/ *(async)
/192.168.1.100/mnt/fat*(rw)/ *(async)
/home/ *(rw,async,all_squash) \
192.168.1.100(rw,async)
/usr/local/ *(async,all_squash)
/QuakePc/fat/ *(rw,async,all_squash)



<snip>
 
Old 06-26-2005, 02:43 PM   #5
jmanjeff
Member
 
Registered: Dec 2004
Distribution: Debian Sid/ Mepis/ XP for Gameing
Posts: 34

Original Poster
Rep: Reputation: 15
I have tried it so many was now i don't know what is up .
I set it up the first time as your link but i got Permission denied so if you could post the way you think that it should be in both exports files

Main box is xxx.100
quake box is xxx.101
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 01:01 PM
fast encrypted NFS but slow regular NFS cazzazullu Linux - Networking 0 10-19-2004 10:08 AM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 12:05 PM

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

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