lkml.org 
[lkml]   [1999]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file locking over NFS in 2.2.7
Le 1999-05-22, Trond Myklebust écrivait :

> > What about the case where a partition on a Linux server is mounted
> > by a Solaris client? Solaris does not have a 'nolock' option for

> As far as I know, Solaris won't use locking if it doesn't detect a
> lockd daemon.

This is very strange, because my Linux server has never had a
lockd (it has always run the userland NFS server), and yet I see
error messages ("no locks available") each time the Sendmail on
the Solaris host tries to deliver a mail to a file on the Linux
box:

May 22 18:51:53 sunbox sendmail[19043]: AAA21937: to=/linuxbox/user/.mail-backup, ctladdr=<user@domain.com> (537/101), delay=2+18:34:49, xdelay=00:00:00, mailer=*file*, stat=Operating system error
May 22 18:51:53 sunbox sendmail[19171]: XAA20894: SYSERR(user): cannot lockf(/linuxbox/user/.mail-backup, fd=16, type=2, omode=37777777777, euid=537): No record locks available
May 22 18:51:53 sunbox sendmail[19171]: XAA20894: 16: fl=0x9, mode=100644: size=654362

(I am conscious, in any case, that the absence of proper locking creates
an unsafe situation, but this is not the issue at stake.)

--
Thomas.Quinot@Cuivre.FR.EU.ORG <URL:http://web.fdn.fr/~tquinot/>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.036 / U:1.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site