LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-18-2009, 11:40 AM   #1
glass931
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
Can't mount Debian Lenny NFS server volume in Slackware with write permission


I have no problem, as root user on Lenny NFS clients, mounting the volume exported by the Lenny NFS server. The server grants rw permission to root and the client has root rw permission for the exported volume.

I use the RIP (recovery is possible) recovery system from time to time, which is based on Slackware 12. Even though mtab shows the nfs volume with rw permission, I can not create or copy a file onto the volume. I can, however, modify a pre-existing file on the volume.

I've tried all the possible changes I can find. I note that the uid and gid for nobody is different, but am not sure if this is the problem or how I might fix it. It seems to me that the default user would not be a problem when dealing with root access.

Any assistance would be greatly appreciated.
 
Old 10-19-2009, 04:10 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Check out the output of:
Code:
sudo rgrep -i nfs /var/log
 
Old 10-19-2009, 09:25 AM   #3
glass931
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Original Poster
Rep: Reputation: 0
NFS Problem

Quote:
Originally Posted by jhwilliams View Post
Check out the output of:
Code:
sudo rgrep -i nfs /var/log/
As root I entered rgrep -i nfs /var/log/*, in order to query all the files in /var/log. I found the following:
/var/log/messages:Oct 17 09:04:34 RIPLinuX rpc.statd[1702]: statd running as root. chown /var/lib/nfs/sm to choose different user
/var/log/messages:Oct 17 09:40:17 hpn2 rpc.statd[1702]: statd running as root. chown /var/lib/nfs/sm to choose different user

I realized that I had two names for the machine in /etc/hosts, RIPLinuX and hpn2. The former is
the RIP system hostname and the latter is the lenny system hostname. This resulted, however, from some experimentation after the problem was first noted.

Thanks for the prompt reply.
 
Old 10-19-2009, 11:19 AM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Quote:
Originally Posted by glass931 View Post
As root I entered rgrep -i nfs /var/log/*, in order to query all the files in /var/log.
Just wanted to point out:

Code:
jameson@salmon:~$cat /usr/bin/rgrep 
#!/bin/sh

exec grep -r "$@"
from grep(1):
Quote:
-R, -r, --recursive
Read all files under each directory, recursively; this is equivalent to the -d recurse option.
 
  


Reply

Tags
lenny, networking, nfs, slackware



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 mount failed, reason given by server: Permission denied alirezan1 Linux - Newbie 5 12-13-2012 02:57 AM
NFS mount : reason given by server: Permission denied linuxsys Linux - Newbie 6 06-09-2009 11:13 AM
LXer: Creating An NFS-Like Standalone Storage Server With GlusterFS On Debian Lenny LXer Syndicated Linux News 0 06-04-2009 06:20 PM
LXer: Setting Up An NFS Server And Client On Debian Lenny LXer Syndicated Linux News 0 05-01-2009 05:20 PM
nfs mount between Slackware 11.0 and Windows Server 2003 Sebastien Faucher Linux - Networking 3 06-01-2007 02:07 PM

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

All times are GMT -5. The time now is 06:11 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