[prev in list] [next in list] [prev in thread] [next in thread]
List: procmail
Subject: Re: dotlocking issues over NFS
From: Paul Sandys <myj () nyct ! net>
Date: 2006-12-14 23:38:25
Message-ID: 20061214183347.M28692 () bsd4 ! nyct ! net
[Download RAW message or body]
It turns out the hard option is default on FreeBSD. There's just something
inherently wrong here. I see from source code that procmail creates a
unique file and then renames it to the desired lockfile name. That should
be bulletproff, but it somehow isn't.
P.
On Thu, 14 Dec 2006, Paul Sandys wrote:
> Date: Thu, 14 Dec 2006 18:09:50 -0500 (EST)
> From: Paul Sandys <myj@nyct.net>
> To: Michelle Konzack <linux4michelle@freenet.de>
> Cc: procmail@lists.RWTH-Aachen.DE
> Subject: Re: dotlocking issues over NFS
>
>
> There's no "hard" option on FreeBSD.
>
> I tried having a Linux box deliver to the same NFS mounted directory and
> the corruption was much worse than with just FreeBSD boxes. I'll try the
> "hard" option on Linux.
>
> But as far as FreeBSD goes, the dotlocking is broken :(
>
> P.
>
> On Wed, 13 Dec 2006, Michelle Konzack wrote:
>
>> Date: Wed, 13 Dec 2006 16:30:43 +0100
>> From: Michelle Konzack <linux4michelle@freenet.de>
>> To: procmail@lists.RWTH-Aachen.DE
>> Subject: Re: dotlocking issues over NFS
>>
>> Am 2006-12-08 07:46:32, schrieb Bart Schaefer:
>>> I presume since you said that only dotlocking is enabled that these
>>> are "nolock" NFS mounts? Are they also "hard" mounts? Even
>>> procmail's careful lock file creation algorithm is not guaranteed to
>>> work on a "soft" mount.
>>
>> I had this problem for some years too.
>>
>> If you mount the NFS-Share, you NEED the option "hard".
>>
>> I personaly use:
>>
>> samba3:/home /home nfs rw,bg,hard,intr,tcp,vers=3,rsize=8192,wsize=8192 0 0
>>
>>
>> Greetings
>> Michelle Konzack
>> Systemadministrator
>> Tamay Dogan Network
>> Debian GNU/Linux Consultant
>>
>>
>> --
>> Linux-User #280138 with the Linux Counter, http://counter.li.org/
>> ##################### Debian GNU/Linux Consultant #####################
>> Michelle Konzack Apt. 917 ICQ #328449886
>> 50, rue de Soultz MSM LinuxMichi
>> 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
>>
>> ____________________________________________________________
>> procmail mailing list Procmail homepage: http://www.procmail.org/
>> procmail@lists.RWTH-Aachen.DE
>> http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
>>
>
> Paul Sandys
> network operations manager
> http://www.nyct.net/
> 212.293.2620
>
> ____________________________________________________________
> procmail mailing list Procmail homepage: http://www.procmail.org/
> procmail@lists.RWTH-Aachen.DE
> http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
>
Paul Sandys
network operations manager
http://www.nyct.net/
212.293.2620
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic