LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 08-24-2009, 05:49 AM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Slackware 13.1multilib, Archlinux
Posts: 261
Blog Entries: 10

Rep: Reputation: 31
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
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,289

Rep: Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration