From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 13:52:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DB06106564A for ; Wed, 7 Apr 2010 13:52:02 +0000 (UTC) (envelope-from listone@deathbeforedecaf.net) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E021C8FC1C for ; Wed, 7 Apr 2010 13:52:01 +0000 (UTC) Received: by pwi9 with SMTP id 9so1015250pwi.13 for ; Wed, 07 Apr 2010 06:52:01 -0700 (PDT) Received: by 10.141.91.15 with SMTP id t15mr6952657rvl.119.1270648321224; Wed, 07 Apr 2010 06:52:01 -0700 (PDT) Received: from [10.10.10.10] (0x7e.net [203.122.226.101]) by mx.google.com with ESMTPS id 21sm2518370pzk.12.2010.04.07.06.51.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 06:51:59 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Rob In-Reply-To: <4BBB56E2.10801@tundraware.com> Date: Wed, 7 Apr 2010 23:21:53 +0930 Content-Transfer-Encoding: quoted-printable Message-Id: <830D19B5-4BA6-42B9-B2D1-1833EC04252C@deathbeforedecaf.net> References: <4BBB56E2.10801@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.1078) Cc: FreeBSD Mailing List Subject: Re: Preventing Bad SMB Mount From Stalling A Boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2010 13:52:02 -0000 On 07/04/2010, at 1:14 AM, Tim Daneliuk wrote: > I mount my SMB shares from /etc/fstab on a FBSD 8.x production machine = like=20 > this: >=20 > //USER@WINSERVER/SHARE /mountpoint smbfs rw 0 0 >=20 > The problem is that after an outage, "WINSERVER" doesn't come up > before the FBSD machine. So, the FBSD machine tries to boot and then > hangs permanently because it cannot get the SMB share points mounted. > This recently happened after a catastrophic power outage that cooked > the share info on "WINSERVER". Even after it came up, it was no longer > serving the proper shares and the FBSD machine could never find the > SMB shares and thus hung permanently. >=20 > The SMB mounts are not essential for systems operations. Is there a > way to tell the FBSD to try and mount SMB, but keep going and complete > the boot if it cannot? In an NFS environment, amd(8) is used to mount shares on demand instead = of on=20 boot. It doesn't directly support SMB, but it may be possible to to = combine=20 them: http://www.jiegao.co.cc/computer-notes/unix-tips/freebsd-amd-for-samba Rob.=