Date: Mon, 26 Apr 2010 21:10:17 -0500 From: Brandon Gooch <jamesbrandongooch@gmail.com> To: Rob <listone@deathbeforedecaf.net> Cc: Tim Daneliuk <tundra@tundraware.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Preventing Bad SMB Mount From Stalling A Boot Message-ID: <y2g179b97fb1004261910o706e41w1ed28064a85dbb41@mail.gmail.com> In-Reply-To: <830D19B5-4BA6-42B9-B2D1-1833EC04252C@deathbeforedecaf.net> References: <4BBB56E2.10801@tundraware.com> <830D19B5-4BA6-42B9-B2D1-1833EC04252C@deathbeforedecaf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 7, 2010 at 8:51 AM, Rob <listone@deathbeforedecaf.net> wrote: > 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 l= ike >> this: >> >> //USER@WINSERVER/SHARE =A0 /mountpoint =A0 =A0smbfs =A0 rw =A0 =A0 =A0 = =A0 =A00 =A0 =A0 =A0 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? > > In an NFS environment, amd(8) is used to mount shares on demand instead o= f on > boot. It doesn't directly support SMB, but it may be possible to to combi= ne > them: > > =A0http://www.jiegao.co.cc/computer-notes/unix-tips/freebsd-amd-for-samba > > Rob. Wow. Thanks for the link. I really AM a newb when it comes down to it, I didn't even know this was possible with amd(8). Add to the reading list `info am-utils`... Perhaps the information at the link: http://www.jiegao.co.cc/computer-notes/unix-tips/freebsd-amd-for-samba could someday be added to the handbook under "29.3.5 Automatic Mounts with = amd": http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#NETWORK= -AMD At least in the future these two links will be in the same place for another user's benefit :) -Brandon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y2g179b97fb1004261910o706e41w1ed28064a85dbb41>