NFS mounting & network locking

NFS mounting & network locking

Post by Eeri Ka » Sat, 20 Mar 1993 07:08:48


1) How to avoid the message

WARNING: No network locking on remotehost:/home/Project: contact admin
to install server change

while NFS-mounting a directory (read/write) from a remote server running
SunOS 4.1.2? Actually, everything works fine, but this warning is annoying....

2) How should I start the X server and configure /etc/X*.hosts file in order
not to execute xhost +remotehost manually (in shell script)?

Thank you in advance,


Dept. of CS, Dresden Univ. of Technology, Germany


1. SUMMARY: NFS mounting /var/spool/mail && file locking

A while ago, I posted a question asking what the deal was with having
a single /var/spool/mail mounted via NFS on many machines.  I was
curious whether lockd bugs could cause mail to be lost.  Specifically,
I was interested in how SunOS and Ultrix dealt with this, and how elm
and sendmail fit into the picture.

I apologize for taking so long to summarize; there are two main things
that I found out:

1) Mail user agents (/usr/ucb/mail -- Ultrix & SunOS, elm, etc.)
generally use a second file to lock the mailbox such as
/usr/spool/mail/mosedale.lock.  This seems to keep many problems at

2) It is considered a very good idea to have the mail transfer agent
(eg sendmail) on the subsidiary machines punt all incoming mail to
/var/spool/mail's home machine and have it delivered only on that home
machine.  In SunOS, this is done by setting up to use the
OR command (see /usr/lib/  Ultrix sendmail
looks like it may a similar capability, but I'm not entirely clear on
how it works.  IDA sendmail can do this using the MAILSERVER macro in
the m4 source file for

The general consensus seems to be that these measures are reasonable
solutions, and almost no-one has had any lost mail problems once these
are in place.

Thanks to everyone who helped me out.

Dan Mosedale

2. Ghostscript margins

3. Frequency of NFS lock problems w/ NFS mounted mail spool

4. Freezing program on startup

5. Additional nfs mounts on diskless machine lock nfs server

6. Orinoco pcmcia card

7. Network issue, losing inetd services, ssh, & nfs mounts.

8. Unable to send e-mail to larger sites

9. Nfs-mount & RPC/network hanging/nntp inews

10. NFS cant mount from one network, mounts from another fine???

11. /var/mail: to NFS mount or not to NFS mount?

12. nfs mount to a nfs mount fails

13. nfs mount problem: mount: can't get address for nfs-server.kauai