Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2011 16:14:36 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: 7-STABLE NFS: fatal: "select lock: Permission denied"
Message-ID:  <alpine.BSF.2.00.1104041605490.55888@hub.org>
In-Reply-To: <E9441056-3EFE-4668-A815-271B857FD230@mac.com>
References:  <alpine.BSF.2.00.1104030135160.55888@hub.org> <alpine.BSF.2.00.1104041508000.55888@hub.org> <0F56F33B-C492-4723-B7EC-713AD64E856C@mac.com> <alpine.BSF.2.00.1104041554100.55888@hub.org> <E9441056-3EFE-4668-A815-271B857FD230@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Apr 2011, Chuck Swiger wrote:

> On Apr 4, 2011, at 11:58 AM, Marc G. Fournier wrote:
>>> Be careful; multiple access from different processes even on a single host can still run into locking issues against NFS filesystems, or data corruption if locking isn't available.  You're most at risk with local delivery to an mbox-style INBOX; delivery to maildir-style INBOX is much safer even on NFS without locking.
>>
>> In my case, I have postfix+cyrus-imapd ...
>
> OK-- Cyrus IMAP uses a variant of maildir, so you're relatively safe 
> even if locking is not available.

So, just to get this clear ...

If I were to boot a diskless station using an NFS backend, then that 
instance would be prone to corruption since lockd wouldn't work, even 
though the only processes handling the files on that mount?

And this may be where I'm mis-understanding things:

Does rpc.lockd work at the process level or file system?  For instance, in 
my test case, I'm trying to operate within a jail ... does the rpc.lockd 
runnig at the primary OS level handle communications between 
client<->server, irrelevent of whether the process is running in a jail or 
not?


----
Marc G. Fournier                        Hub.Org Hosting Solutions S.A.
scrappy@hub.org                                     http://www.hub.org

Yahoo:yscrappy    Skype: hub.org    ICQ:7615664    MSN:scrappy@hub.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1104041605490.55888>