[oi-dev] weird flock problem
Toomas Soome
tsoome at me.com
Mon Nov 13 15:25:50 UTC 2017
> 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.
rgds,
toomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20171113/9506d0ab/attachment-0005.html>
More information about the oi-dev
mailing list