LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-02-2011, 11:14 AM   #16
blue_bob
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0

Thanks for the tutorial.I installed the client but still I get a permission denied..
 
Old 01-02-2011, 11:23 AM   #17
blue_bob
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0
I installed the client but I still get permission denied
 
Old 01-02-2011, 04:18 PM   #18
blue_bob
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0
I just figured out I can mount the directory /home ,but not /home/bob/Music.
 
Old 01-03-2011, 03:46 AM   #19
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
For nfs4 your exports file should look different (look for option fsid and do bind mount exported directory in root of nfs exports) or use nfs version 3, by specifing type "mount -t nfs".
 
1 members found this post helpful.
Old 01-03-2011, 11:11 AM   #20
blue_bob
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0
I see. I mixed up NFS3 and NFS4 then. I want to use NFS4 so I changed my export file.

I created a new directory /export owned by user bob (uid 500, gid 500) and changed my /etc/export to this:
Code:
/export 192.168.1.42(rw,fsid=0,insecure,no_root_squash,anonuid=500,anongid=500)
I can mount it and access subdirectories but still can't write anything.

Last edited by blue_bob; 01-03-2011 at 11:11 AM. Reason: typo
 
Old 01-04-2011, 05:01 AM   #21
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Do you mount with option -rw ? Can you paste mount output on the client.
 
Old 01-04-2011, 07:55 AM   #22
blue_bob
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you everyone for your help, especially eSelix. It works now.

My 2 problems were:
The wrong configuration: Trying to run an NFSv4 server does not work with an NFSv3 configuration file.
My standard user did not have writing permissions for the folder on the server. Now I simply gave everyone read, write and execute permissions and I can access it very well
 
  


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
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
nfs server on ubuntu doesn't play nice with nfs client on solaris mathiraj Linux - Networking 11 09-15-2009 02:08 PM
LXer: Run your NFS server in the user address space with NFS-GANESHA LXer Syndicated Linux News 0 11-27-2008 04:40 AM
Allowing NFS in IPTABLES: Fix port for NFS Lock Manager Swakoo Linux - General 10 08-25-2006 05:24 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:34 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
Open Source Consulting | Domain Registration