From owner-freebsd-stable@FreeBSD.ORG Thu Sep 4 16:56:02 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 09B21106566B for ; Thu, 4 Sep 2008 16:56:02 +0000 (UTC) (envelope-from freebsd-stable@bengrimm.net) Received: from office2.aipotu.nl (office2.aipotu.nl [194.123.169.74]) by mx1.freebsd.org (Postfix) with ESMTP id 1C7B38FC22 for ; Thu, 4 Sep 2008 16:55:57 +0000 (UTC) (envelope-from freebsd-stable@bengrimm.net) X-H2O-MailScanner-Watermark: 1221152136.69122@LhG1/z0RzZW9YlSKPR2wqQ Received: from hail.bengrimm.net (hail.bengrimm.net [86.90.159.11]) by office2.aipotu.nl (8.14.3/8.14.3) with ESMTP id m84GtZai007870 for ; Thu, 4 Sep 2008 18:55:36 +0200 (CEST) Authentication-Results: office2.aipotu.nl; dkim=pass (1024-bit key) header.i=@bengrimm.net; dkim-adsp=pass X-AIPOTU-FROM: X-AIPOTU-TO: X-AIPOTU-IP: hail.bengrimm.net [86.90.159.11] X-H2O-MailScanner-Watermark: 1221152121.7381@YBoAJpcsqxM8nwgT8D5i0w Received: from benmobi.bengrimm.net (localhost [127.0.0.1]) by hail.bengrimm.net (8.14.3/8.14.3) with ESMTP id m84GtJ86026043 for ; Thu, 4 Sep 2008 18:55:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bengrimm.net; s=libertas; t=1220547320; bh=es2Q9ZDfRvamD1h6okgQSOhnBHrZ/bRB9iKrXW e3GV0=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=NZUDjPSV/cr1 9SzD5uFSvijC+/9GyyspSTcSCPmhFfP8zZEeXpj1uHNkOpoDVDdzD8l6Hs6J3oAhaQX 6ViyaMGt8dJjvly2stkNVGTZf7PKwQRjgHE9Gq+fIsdIwULtVgeW+mCr3uY/PptdA83 PeUIPNsyYKTmlp7sZ1KC4TUTs= X-HAIL-FROM: X-HAIL-TO: X-HAIL-IP: localhost [127.0.0.1] Message-ID: <48C012F7.6090809@bengrimm.net> Date: Thu, 04 Sep 2008 18:55:19 +0200 From: "Ben C. O. Grimm" User-Agent: Thunderbird 2.0.0.16 (X11/20080816) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <1f51039c0809040911oe4409b5ibe3f4dcf53528407@mail.gmail.com> In-Reply-To: <1f51039c0809040911oe4409b5ibe3f4dcf53528407@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Hail-MailScanner: Found to be clean X-Hail-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 4, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00) X-Hail-MailScanner-From: freebsd-stable@bengrimm.net X-MailScanner-ID: m84GtZai007870 X-Aipotu-MailScanner: Found to be clean X-Aipotu-MailScanner-SpamCheck: X-Aipotu-MailScanner-From: freebsd-stable@bengrimm.net Subject: Re: 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:56:02 -0000 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 > > 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. I see some references to 'nolock' here and there, but YMMV.