[oi-dev] weird flock problem
Carsten Grzemba
grzemba at contac-dt.de
Mon Nov 13 15:49:47 UTC 2017
On 13.11.17 16:26, Toomas Soome <tsoome at me.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
> >
> > On 13 Nov 2017, at 17:07, Till Wegmüller <toasterson at gmail.com> wrote:
> >
> >
> > On 13.11.2017 15:59, Carsten Grzemba wrote:
> >
> > >
> > >
> > > On 13.11.17 15:16, *Bob Friesenhahn * <bfriesen at simple.dallas.tx.us> wrote:
> > >
> > > > On Mon, 13 Nov 2017, Carsten Grzemba wrote:
> > > >
> > > > >
> > > > > This compiles on Openindiana without an error, but if it runs throws
> > > > >
> > > > the error: Invalid argument (os error 22)
> > > >
> > > > >
> > > > > If I copy this on Openindiana compiled code to Smartos it runs correctly.
> > > > >
> > > >
> > > > Are you using the same filesystem on both systems? For example, zfs
> > > > vs tmp on swap could make a difference. Or something to do with
> > > > filesystem paths.
> > > >
> > > Thats the clue:
> > > it fails on NFS, but works on ZFS and TMPFS
> > >
> >
> > Doesn't NFS require a special lock daemon to be setup between server and
> > client? AFAIk NFS locking is quite limted when i last tried it years ago.
> >
> >
> >
>
>
> NFSv2/NFSv3 has separate locking protocol and implementation, NFSv4 has locking integrated.
>
>
>
>
<signatureafterquotedtext>I my case, it fails on NFSv4.
</signatureafterquotedtext>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20171113/48995317/attachment-0005.html>
More information about the oi-dev
mailing list