LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 10-18-2009, 12:40 PM   #1
glass931
LQ Newbie
 
Registered: Sep 2007
Posts: 6
Thanked: 0
Can't mount Debian Lenny NFS server volume in Slackware with write permission


[Log in to get rid of this advertisement]
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.
linuxdebian glass931 is offline  
Tag This Post , , ,
Reply With Quote
Old 10-19-2009, 05:10 AM   #2
jhwilliams
Member
 
Registered: Apr 2007
Location: Portland, Oregon
Distribution: Mostly Debian or some (exceptionally popular?) derivative thereof.
Posts: 615
Thanked: 46
Check out the output of:
Code:
sudo rgrep -i nfs /var/log
linuxubuntu jhwilliams is offline     Reply With Quote
Old 10-19-2009, 10:25 AM   #3
glass931
LQ Newbie
 
Registered: Sep 2007
Posts: 6
Thanked: 0

Original Poster
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.
linuxdebian glass931 is offline     Reply With Quote
Old 10-19-2009, 12:19 PM   #4
jhwilliams
Member
 
Registered: Apr 2007
Location: Portland, Oregon
Distribution: Mostly Debian or some (exceptionally popular?) derivative thereof.
Posts: 615
Thanked: 46
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.
linuxubuntu jhwilliams is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration