[oi-dev] weird flock problem

Udo Grabowski (IMK) udo.grabowski at kit.edu
Mon Nov 13 15:21:30 UTC 2017


On 13/11/2017 16:07, Till Wegmüller 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.
>

See Jerry's explanation in an older thread regarding Robert's 3252
submission:
<https://illumos.topicbox.com/groups/developer/T4f506841bb47dd24-M8057a0df338253641fec29ad>
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5227 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20171113/9b98979a/attachment-0005.bin>


More information about the oi-dev mailing list