From: Chuck Lever Subject: Re: mount.nfs: chk_mountpoint() Date: Thu, 23 Aug 2007 16:30:23 -0400 Message-ID: <46CDEE5F.5030304@oracle.com> References: <46CC884B.1030207@oracle.com> <46CD82A0.1000408@redhat.com> <46CDC7D0.6030803@oracle.com> <46CDD069.3070608@redhat.com> <46CDE76C.3040800@oracle.com> <46CDEA2E.10902@redhat.com> Reply-To: chuck.lever@oracle.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050304010805000907020005" Cc: nfs@lists.sourceforge.net To: Peter Staubach Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1IOJLT-0002wC-Qd for nfs@lists.sourceforge.net; Thu, 23 Aug 2007 13:31:59 -0700 Received: from agminet01.oracle.com ([141.146.126.228]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IOJLX-0005le-ON for nfs@lists.sourceforge.net; Thu, 23 Aug 2007 13:32:04 -0700 In-Reply-To: <46CDEA2E.10902@redhat.com> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net This is a multi-part message in MIME format. --------------050304010805000907020005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Peter Staubach wrote: > Chuck Lever wrote: >> Peter Staubach wrote: >>> But your explanation makes sense, although we should be moving >>> people away from static mounts in fstab and towards dynamic >>> mounting via autofs. Ian and Jeff have made autofs much, much >>> better in recent times. Improving autofs further to make it >>> only mount file systems which are actually referenced would make >>> it even better. >> >> I'm in great favor of autoconfiguration. Anything that will make NFS >> "just work" is goodness, in my book. >> > > Is this an argument for or against autofs or these changes? Making autofs a reliable and useful facility is a good thing. Kudos to Ian and Jeff for their effort. > The "bg" option was a hack added to speed up system booting. I don't disagree with that assessment. > A much better solution to the problem was autofs because it > delayed the mounting until the file system was actually needed. Whether or not it is a kludge, I don't think we have enough information about who is using it for what to blithely remove it without fanfare or documentation. What alarms me more, though, is that we don't have any unit tests that caught this change before it went into the git repo. This change, in itself, may not be terribly harmful. But think of a minor and unintended change that might go in without notice, and break a lot of environments. > The "bg" option can lead to applications not working correctly > because the file system may or may not be mounted when they > need it to be there and there is no automatic synchronization > to block them until it is. Autofs supplies this synchronization, > thus once again, making it a vastly superior solution. Some people find such enforced "synchronization" to be painful and annoying. They would prefer a solution where the application is free to take its own recourse rather than hang indefinitely. I think it is valid to want to have either type of behavior. --------------050304010805000907020005 Content-Type: text/x-vcard; charset=utf-8; name="chuck.lever.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="chuck.lever.vcf" begin:vcard fn:Chuck Lever n:Lever;Chuck org:Oracle Corporation;Corporate Architecture: Linux Projects Group adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA title:Principal Member of Staff tel;work:+1 248 614 5091 x-mozilla-html:FALSE url:http://oss.oracle.com/~cel version:2.1 end:vcard --------------050304010805000907020005 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --------------050304010805000907020005 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs --------------050304010805000907020005--