Jeff Abrahamson on Tue, 25 Jul 2000 12:39:56 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] NFS and fcntl


I have the following, which FAQ's, HOWTO's, and deja.com are failing
to illucidate for me. (Or I'm failing, but I digress.)

mh.purple.com is my mail hub, runs linux, either RH 6.0 or Mandrake
7.0, I forget. It delivers mail locally using procmail to
/var/spool/mail. I export that directory rw by putting it in
/etc/exports with a line like

	     /var/spool/mail	client(rw)

client.purple.com (to make the example easy to follow) is my
workstation where I read mail. I mount mail:/var/spool/mail on
/lan/mh/mail. This works fine: I can see my spool directory, and
typing touch /lan/mh/mail/jeff works.

Now I make a symlink

    /var/spool/mail/jeff --> /lan/mh/mail/jeff

Seems to work: I can cat and touch just fine. I don't symlink the
whole directory for reasons of paranoia.

Looks fine. I go to read my mail, but mutt (v. 1.2i) can't get an
fcntl lock. Now, I trust mutt, so I assume it's my NFS setup.

I would expect to need a lockd process running on mh, but I can't find
one. There's some indication that lockd is a kernel module. Anyway, I
should think that /etc/rc.d/init/nfs would set it up correctly.

Well, I'm confused. Anyone have any pointers?

-- 
 Jeff Abrahamson
 610/270-4845
 abrahj01@molbio.sbphrd.com

 (home is jeff_abrahamson@purple.com)


[ Disclaimer: the machine names are changed to make things easier to
  follow. ]


______________________________________________________________________
Philadelphia Linux Users Group       -       http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion   -   http://lists.phillylinux.org/mail/listinfo/plug