From owner-freebsd-stable@FreeBSD.ORG Thu Sep 4 16:33:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D80DD1065672 for ; Thu, 4 Sep 2008 16:33:58 +0000 (UTC) (envelope-from gphoto6@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC628FC17 for ; Thu, 4 Sep 2008 16:33:58 +0000 (UTC) (envelope-from gphoto6@gmail.com) Received: by gxk10 with SMTP id 10so6522284gxk.19 for ; Thu, 04 Sep 2008 09:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=DgYmhJTEUCJ01zjGZAMwBjkvgOH8nhfCG+U1hKU4de4=; b=xBqmTCBs4ihDpBdgws4OVWNprPHzi8mZbRehJQN34Vqu51IH1NOPl0gn0ndX7QkzH1 JBk2NDUUC85bKCzkyuzDq7iV7jT9qo1tuWeBshhEMrIsaW2TfkivhIK84ZDNOK9V/JNu Ge2NoupJoywcPLkr6gLJIcJhOLTzA0OlgvD40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kJAGbhpeZOjo9Q7MOYTSMzLhChM0PfmS8H8GKoX7DywK2wTodMjHQ0IynpqqMaaD2L BOhOPtYewtFyLg3PsV4DLeyl5IBO9i5/C+LxR82CDHPeM8UMAlyiJCWOUVuDzE5lgrNX V07PdvG1BbthkPrIxfS0PFbqHqm8QyjQJZpUk= Received: by 10.150.217.14 with SMTP id p14mr14723025ybg.56.1220544680908; Thu, 04 Sep 2008 09:11:20 -0700 (PDT) Received: by 10.151.41.19 with HTTP; Thu, 4 Sep 2008 09:11:20 -0700 (PDT) Message-ID: <1f51039c0809040911oe4409b5ibe3f4dcf53528407@mail.gmail.com> Date: Fri, 5 Sep 2008 00:11:20 +0800 From: "Tim Chen" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to disable NFS fnctl in /etc/fstab? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 16:33:58 -0000 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 It seems there is no coresponding options in /etc/fstab so that I can disable fnctl lock for NFS. If we can not set it right in /etc/fstab, every time the machine reboot requires human intervention to mount the partition manually. It is very annoying and inconvenient. Please give us some suggestion and hint to solve this situation. 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? Best regards, Tim