From owner-freebsd-stable@FreeBSD.ORG Mon May 6 17:48:25 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A5618D3A for ; Mon, 6 May 2013 17:48:25 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 8548F603 for ; Mon, 6 May 2013 17:48:25 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id ro12so2124401pbb.4 for ; Mon, 06 May 2013 10:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=4c5cdQpQMoOo+rBLe+2jAI/HlzoDXdUyEWrLQfFnU0k=; b=QczitrvCXhaeXV8/wNdvZZEXGoNOTql1rCct6yw4vgLwntZe1CtrQXVKsbJQ82M0qy LOzv3pgpi/TuZVmpm7EeRZijzsDbjzAWy9dBVY7Qfcbx1Ek/HIuh9iQ/pXfCA1Arx+k7 vxr1XA8sch01hOwJHA3eRHcZcdTpEtUdx1kjZ5KiiDi64KnWOmnzkHn89seHiBL7Lbij 8vT+k46UeO5i9o6hmzRWt7RKjlfak2EG0r0mIRobkuF5Cb7+soEUA/HyTAgTzEws8toj bIviRpCja9tjTB+q8PAv6jrDtOD2xJdasgleZkNW4fg1zFcoI4BYjJZDIfCBa9aKMdyU vqGg== X-Received: by 10.66.74.170 with SMTP id u10mr27997654pav.202.1367862505337; Mon, 06 May 2013 10:48:25 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPSA id 12sm3675994pay.5.2013.05.06.10.48.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 May 2013 10:48:23 -0700 (PDT) Message-ID: <5187ECE6.2030205@gmail.com> Date: Mon, 06 May 2013 10:48:22 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130506 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: multiple NFS mounts with bg,retrycount=0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 17:48:25 -0000 I updated a FreeBSD 9-STABLE system to r250290 and noticed an NFS oddity -- fstab entries that specify a retrycnt are mounted multiple times. I have this in /etc/fstab: xxxx:/remote/yyyy /local/zzzz nfs rw,bg,retrycnt=0 0 0 And this in /etc/rc.conf: rpcbind_enable="YES" nfs_client_enable="YES" nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_flags="-domain XXXXXX" rpc_lockd_enable="YES" rpc_statd_enable="YES" If I run mount immediately after the system boots up I don't see anything mounted on /local/zzzz. If I wait a minute or so and recheck I see two identical mounts on /local/zzzz. # mount | grep /local xxxx:/remote/yyyy on /local/zzzz (nfs) xxxx:/remote/yyyy on /local/zzzz (nfs) It is almost as if the system tried to mount the remote FS, failed, and then forked multiple (?) processes to retry the operation, and all of them succeed later. Unfortunately, I can't reboot the system for a couple of days so I can't go looking for mount_nfs processes right after a fresh boot. Regards, Navdeep