From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:09:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEA1416A4CE for ; Mon, 10 Jan 2005 21:09:10 +0000 (GMT) Received: from smtpauth03.mail.atl.earthlink.net (smtpauth03.mail.atl.earthlink.net [209.86.89.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8848C43D49 for ; Mon, 10 Jan 2005 21:09:10 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=[192.168.63.10]) by smtpauth03.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1Co6mk-000731-2M; Mon, 10 Jan 2005 16:09:10 -0500 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Mon, 10 Jan 2005 15:09:20 -0600 User-Agent: KMail/1.6.2 References: <1105332185.1028.4.camel@p4> <41E24463.3080207@locolomo.org> <1105389918.813.2.camel@p4> In-Reply-To: <1105389918.813.2.camel@p4> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501101509.20300.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bccc624ad85c367de90ee917f7c33374f7350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 cc: Robert Marella Subject: Re: NFS export of evolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 21:09:11 -0000 On Monday 10 January 2005 02:45 pm, Robert Marella wrote: > On Mon, 2005-01-10 at 10:01 +0100, Erik Norgaard wrote: > > Robert Marella wrote: > > > Hello > > > > > > I am not sure where this problem should go so I am posting to > > > -questions. > > > > > > I have a SOHO set up with several computers running a mix of > > > FreeBSD 5.3 Release and Stable. I have an NFS server set up so > > > that data can be shared at all of the computers. > > > > > > I would like to have the ability to retrieve mail from any of the > > > computers I happen to be logged into. I have tried various > > > permutations of exporting /home, /home/reg-user, and > > > /home/reg-user/.evolution and I always get the same error when > > > trying to read mail. > > > > > > I am able to mount the directory(ies) on the client computers and > > > am able to call up evolution and see the messages but when I try > > > to read any message I get this error > > > > > > ***************************************************************** > > >* Error while Retrieving message 1292 (this number varies of > > > course) > > > > > > Failed to get lock using fcntl(2): Operation not supported. > > > ***************************************************************** > > >* > > > > > > I read the man page for fcntl but I didn't get any help out of > > > it. It was way over my head. > > > > > > Here is the important bits from /etc/exports > > > > > > /home/reg-user/.evolution -alldirs notebook.my.local.lan > > > > > > I have also tried -maproot with out any luck. I would think this > > > is possible but I guess I haven't set up the right conditions or > > > options. Can anyone help me out? > > > > The error appears to be with filelocking not mounting. Filelocking > > is a problem on NFS as many independent systems might try to get > > write access to the same file at the same time. Do you have: > > > > rpc_lockd_enable="YES" # Run NFS rpc.lockd needed for > > client/server. rpc_statd_enable="YES" # Run NFS rpc.statd needed > > for client/server. > > > > in your rc.conf? > > Eric, > No I do not have that in my rc.conf. I tried adding it and got the > same results. Should I try to change the values to ="NO" ?? > > Thanks for responding. > > Robert > I had a hard time sharing NFS directories that were not actual mount points. When I changed the shared directories in /etc/exports to actual mount points (not directories below them) with -alldirs, I was able to mount the specific subdirectories I wanted on the client side. Although /etc/exports allows me to limit access to my own user, the idea of sharing whole mount points makes me a little nervous, so I don't use NFS much. I'm sure I've done something wrong; but I found it easier to use the alternatives below than to hunt down the problem. If you can't get NFS working, you might try: 1. Sharing files via webdav. This would be convenient if you're already running a web server and your clients browse using konqueror. I use webdav with ssl on Apache2. 2. Accessing remote email and PIM applications using tightvnc. Good luck, Andrew Gould