LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2004, 12:28 PM   #1
sassman
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
NFS question


All,
First time poster here, but I have not seen this question answered previously, so here goes. I have a system that exports the /home directory. I then mount this via nfs on the client systems so that any user can access their home directories from any linux client. I just added a new drive array that I mounted as /home/workspace for users to put their output or other files that don't need to be backed up. When I go to one of the clients, I can see the /home/workspace directory, but there is nothing in it and cannot create files or directories. If I log on as them on the NFS server, I can create directories, etc, so it is a not a permissions problem, but on the NFS clients, I get the following message :

mkdir: cannot create directory `test': Permission denied

We use NIS on all the systems, so it is not a problem with the UID or anything. I am running redhat 7.3 (yes, old). Here are the entries from the NFS server in /etc/fstab

/dev/sdb1 /home ext3 defaults 1 2
/dev/sdc1 /home/workspace ext3 defaults 1 2

I know there is a problem with exporting subdirectories of exported file systems, but I didn't think it applied to physically mounted volumes. Any suggestions on what I am doing wrong?

Mark
 
Old 11-17-2004, 12:43 PM   #2
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Rep: Reputation: 15
I'm having almost exactly the same problem. I'm using MDK 10.0 as the server and another MDK 10.0 as the client. I can mount /home just fine, but when I try to delete, change, or add a file I get permission denied, even though I've specified read-write access. I can perform those functions just fine on the server though.
 
Old 11-17-2004, 01:02 PM   #3
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Rep: Reputation: 15
I just noticed something, and wanted to see if it was the same on your computer. In /var/log/syslog I'm getting the following error:

Nov 17 10:39:35 linuxbox kernel: nfs warning: mount version older than kernel

Are you getting that?
 
Old 11-17-2004, 01:18 PM   #4
sassman
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Nope. I don't have any of those messages in my /var/log/messages.


Mark
 
Old 11-17-2004, 01:24 PM   #5
Mr_Munkey
Member
 
Registered: Sep 2004
Distribution: Slackware Current
Posts: 33

Rep: Reputation: 15
Okay, call me dumb. I was doing all this as root. After logging in as myself I was able to access the file share. If you want root to have access, you can specify no_root_squash in the /etc/exports file along with rw, but then only root has access.

Hope some of this info might help.
 
  


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 question phonecian Linux - Security 3 10-02-2005 10:34 PM
Simple NFS question mazzo Linux - Newbie 2 07-11-2005 08:50 AM
NFS question xushi Solaris / OpenSolaris 1 05-15-2005 06:02 AM
NFS Client question def1014 Linux - Networking 0 07-22-2003 04:02 PM
nfs question jaysan Linux - Networking 1 05-04-2001 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration