Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2008 18:41:54 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, gphoto6@gmail.com
Subject:   Re: How to disable NFS fnctl in /etc/fstab?
Message-ID:  <200809081641.m88GfsXb082210@lurza.secnetix.de>
In-Reply-To: <1f51039c0809040911oe4409b5ibe3f4dcf53528407@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim Chen wrote:
 > For some reason we want to disable fnctl lock for NFS
 > mounted partition. We can achieve this by the following
 > command: mount_nfs -T -L server:/home /mnt
 > However after several time of failure tests, we still
 > can not make it work in /etc/fstab.
 > 
 > server:/home /mnt nfs rw,tcp 0 0

server:/home /mnt nfs rw,tcp,-L 0 0

 > By the way, since the machine is running as a mail server which
 > install postfix,courier-imap, will it happen any kind of data
 > corruption due to NFS fnctl lock disabled?

In general, all programs that access mail files must use
locking for concurrent access.  Without proper locking
you'll get data corruption.  I strongly advise against
running mail software on NFS mounts without locking
(i.e. with the -L option).

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"If you think C++ is not overly complicated, just what is a protected
abstract virtual base pure virtual private destructor, and when was the
last time you needed one?"
        -- Tom Cargil, C++ Journal



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