LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-24-2009, 05:49 AM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283
Blog Entries: 11

Rep: Reputation: 41
Unhappy 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.
 
Old 08-24-2009, 08:32 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
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.
 
  


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
A loop device mounted within an NFS share is not accessible via NFS? srikanthnv Linux - Software 17 12-18-2011 09:31 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 09:03 AM
Mounted NFS share denies access to subdirectories anvilravine Linux - Server 7 10-04-2007 12:10 AM
NFS share is only mounted read-only? Poetics Linux - Networking 2 05-30-2007 12:58 PM
DocumentRoot on a nfs mounted share pdhami Red Hat 0 05-17-2004 02:17 PM

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

All times are GMT -5. The time now is 09:09 PM.

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