From owner-freebsd-questions@FreeBSD.ORG Tue Apr 6 18:36:18 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 2C87D106566B for ; Tue, 6 Apr 2010 18:36:18 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id B53208FC0C for ; Tue, 6 Apr 2010 18:36:17 +0000 (UTC) Received: by bwz8 with SMTP id 8so187485bwz.3 for ; Tue, 06 Apr 2010 11:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=MZLj0NPpQFvu+fZhrwES5aB9H138Iu+UbpKGfOpcH0g=; b=Jwac5Mlj1dzll6NGiPFDt57TclT5ee0kk3sAUT3SqpsCkl0mBebUODrj+aAN+33hIY 9UWs8irCbsjHomZ/CaU976Vp5Qpauj2NMIyWXgZmLbkgs8SzlKg0Jfki/AdGKUy1nsuy m1EQXq+gkD2iI/4Jp4ROaH5XQejYohj37Qf9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wXfIUDj9lyv9gE8igsbgA2MB0rqNwXgwDyvUmRJ/Yy72vwizzGu0024/LYqNeruwXv APuxm319wCwgtNUiKYBm4gPfPKgi6k8Pi+a07rJ1wqudFuGJ00Ee98pfSbrtyclOotZV zlCqjuzEI4E51ifFp1nWe2pVT4UDaPj8GWYv8= MIME-Version: 1.0 Received: by 10.204.116.203 with HTTP; Tue, 6 Apr 2010 11:36:15 -0700 (PDT) Date: Tue, 6 Apr 2010 21:36:15 +0300 Received: by 10.204.83.26 with SMTP id d26mr5089941bkl.157.1270578975672; Tue, 06 Apr 2010 11:36:15 -0700 (PDT) Message-ID: From: Dan Naumov To: tundra@tundraware.com, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: 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: Tue, 06 Apr 2010 18:36:18 -0000 >I mount my SMB shares from /etc/fstab on a FBSD 8.x production machine like >this: > > //USER at WINSERVER/SHARE /mountpoint smbfs rw 0 0 > >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. > >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? A bit of an ugly hack, but have you considered attempting to mount the share via an automatic script after the system has finished booting? - Sincerely, Dan Naumov