LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   I can't access my mounted NFS share (https://www.linuxquestions.org/questions/slackware-14/i-cant-access-my-mounted-nfs-share-749825/)

xri 08-24-2009 05:49 AM

I can't access my mounted NFS share
 
This is the exports file on the server (running Slack 12.1):

Quote:

# See exports(5) for a description.
# This file contains a list of all directories exported to other co
mputers.
# It is used by rpc.nfsd and rpc.mountd.

/media/truecrypt2/ gimli(rw,no_subtree_check,sync,all_squash) \
bilbo(rw,no_subtree_check,sync,all_squash) \
*(rw,async,all_squash)
rpcinfo -p localhost on the server:

Quote:

program vers proto port
100000 2 tcp 111 portmapper
100024 1 udp 37560 status
100024 1 tcp 35732 status
100011 1 udp 839 rquotad
100011 2 udp 839 rquotad
100011 1 tcp 842 rquotad
100011 2 tcp 842 rquotad
100021 1 udp 60547 nlockmgr
100021 3 udp 60547 nlockmgr
100021 4 udp 60547 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 tcp 53658 nlockmgr
100021 3 tcp 53658 nlockmgr
100021 4 tcp 53658 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 46429 mountd
100005 1 tcp 53910 mountd
100005 2 udp 46429 mountd
100005 2 tcp 53910 mountd
100005 3 udp 46429 mountd
100005 3 tcp 53910 mountd
rpcinfo -p localhost on the client (running Slack 12.2):
Quote:

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 60165 status
100024 1 tcp 33059 status
100021 1 tcp 43665 nlockmgr
100021 3 tcp 43665 nlockmgr
100021 4 tcp 43665 nlockmgr
On the client, I'm being able to mount the share by:
mount -t nfs theoden:/media/truecrypt2 /home/bella/cons

However, when I try to cd /home/bella/cons, either as user or as root, I consistently get:

bash: cd: cons/: Permission denied


When I run ls -l /home/bella/cons, I get:

Quote:

ls: cannot access cons/TEMPLATES: Permission denied
ls: cannot access cons/SHARED: Permission denied
ls: cannot access cons/delphi: Permission denied
ls: cannot access cons/FRESH: Permission denied
ls: cannot access cons/PCTS_ AUTHORIZATIONS: Permission denied
ls: cannot access cons/READY-TO-FAX-PRINT: Permission denied
ls: cannot access cons/BEST_BILLING: Permission denied
ls: cannot access cons/DISCHARGE_LETTERS: Permission denied
ls: cannot access cons/FEE SCHEDULES: Permission denied
ls: cannot access cons/lost+found: Permission denied
ls: cannot access cons/sgc: Permission denied
ls: cannot access cons/GENERAL: Permission denied
ls: cannot access cons/KAREN-TO-DO: Permission denied
total 0
?????????? ? ? ? ? ? BEST_BILLING
?????????? ? ? ? ? ? DISCHARGE_LETTERS
?????????? ? ? ? ? ? FEE SCHEDULES
?????????? ? ? ? ? ? FRESH
?????????? ? ? ? ? ? GENERAL
?????????? ? ? ? ? ? KAREN-TO-DO
?????????? ? ? ? ? ? PCTS_ AUTHORIZATIONS
?????????? ? ? ? ? ? READY-TO-FAX-PRINT
?????????? ? ? ? ? ? SHARED
?????????? ? ? ? ? ? TEMPLATES
?????????? ? ? ? ? ? delphi
?????????? ? ? ? ? ? lost+found
?????????? ? ? ? ? ? sgc
Any ideas as to what I may be wrong/missing?
Thanks for reading this.

allend 08-24-2009 08:32 AM

Quote:

rpcinfo -p localhost on the server:
program vers proto port
100000 2 tcp 111 portmapper
The above listing does not show a listing for
100000 2 udp 111 portmapper

From /usr/doc/Linux-HOWTOs/NFS-HOWTO
Quote:

Linux systems use UDP by default unless TCP is explicitly
requested;...
The above HOWTO provides information on the setup and troubleshooting of NFS.
Perhaps you a firewall problem or just need to restart the services.


All times are GMT -5. The time now is 08:21 AM.