Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Mounting NFS shares (Solved)

Post comments, problems, bugs here.

Mounting NFS shares (Solved)

Postby Xenos Katawin on Tue Aug 05, 2008 7:53 pm

Hi all

I have 2 boxes. One a 7.0 (Clothos) that got a dist upgrade and another (Atropos) that had a fresh install of 7.2. I installed nfs-common and portmap on both.

On Clothos when root issues "mount 192.168.1.26:/Share /Storage" everything is ok all users can read and write to the nfs share.

On Atropos the same command only allows root to read and write. All others have only read access. I tried adding the mount command to fstab with user,defaut,rw but that didn't make any difference.

The export file has the ip range for exports so the permissions on the server are identical.

I'm pulling my hair out on this one. I have compared everything I can think of on the two client boxes and everything seems identical
Last edited by Xenos Katawin on Fri Aug 08, 2008 6:30 pm, edited 1 time in total.
Reg. Linux User #249090
Xenos Katawin
 
Posts: 22
Joined: Wed Mar 05, 2008 6:59 pm
Location: Evia, Greece

Postby eriefisher on Tue Aug 05, 2008 8:10 pm

Maybe check the permissions of the actual mount point. Just right click to properties and check for read/write..........
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Postby h2 on Tue Aug 05, 2008 9:05 pm

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492970

If you are using debian sid sources, the current 1.1.3 nfs-common is broken, see that bug report for more information.

breaks user write to share/server.
smxi site (manuals, how-to's, faqs) :: script forums
h2
 
Posts: 80
Joined: Fri Jun 13, 2008 8:24 am

Postby Xenos Katawin on Fri Aug 08, 2008 11:01 am

Thank you h2!

It does indeed look like I ran into the broken nfscommon package. Following the discussion in the thread, I managed to get the nfs client to mount with the proper permissions.

The trick is to add "sec=sys" to the options in the fstab.
Code: Select all
192.168.1.26:/Share /Storage nfs sec=sys,user,defaults,noatime 0 0


After adding the options things were perfect.

Off topic- This is a fantastic forum, not too big and busy, but full of knowledgeable readers.

Katawin
Reg. Linux User #249090
Xenos Katawin
 
Posts: 22
Joined: Wed Mar 05, 2008 6:59 pm
Location: Evia, Greece


Return to antiX-M7.2 VETËVENDOSJE!

Who is online

Users browsing this forum: No registered users and 0 guests