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 |
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? |
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 |
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) 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:
|
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 |
All times are GMT -5. The time now is 10:32 PM. |