From owner-freebsd-fs@FreeBSD.ORG Mon Feb 13 23:36:34 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C1071065672; Mon, 13 Feb 2012 23:36:34 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3114D8FC19; Mon, 13 Feb 2012 23:36:33 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id q1DMQuUT013743; Mon, 13 Feb 2012 17:01:06 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa03.fnfis.com with ESMTP id 12y9b7gk2x-3 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 13 Feb 2012 17:01:06 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 13 Feb 2012 17:01:05 -0600 From: Devin Teske To: Doug Barton References: <4F3993C9.1040506@fisglobal.com> In-Reply-To: <4F3993C9.1040506@fisglobal.com> Date: Mon, 13 Feb 2012 15:01:08 -0800 Message-ID: <08c101cceaa3$5ff9d880$1fed8980$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFdwB4ZmQ9SgfWzRn8l+XRpwNy7FJcZxISg Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.260, 0.0.0000 definitions=2012-02-13_05:2012-02-13, 2012-02-13, 1970-01-01 signatures=0 Cc: freebsd-fs@FreeBSD.org, freebsd-stable@FreeBSD.org, "Robison, Dave" Subject: RE: Re: Why won't 8.2 umount -f? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2012 23:36:34 -0000 > -------- Original Message -------- > Subject: Re: Why won't 8.2 umount -f? > Date: Mon, 13 Feb 2012 13:20:55 -0800 > From: Doug Barton > Organization: http://SupersetSolutions.com/ > To: > CC: > Cross posting? (gasp!) > On 02/13/2012 13:02, Doug Barton wrote: > > Is there some magic I'm missing to convince an 8.2 system to umount -f? > > I had an NFS server crash, so I'm trying to get the mounts updated. All > > of the 7.x systems happily did 'umount -f', but the 8.x systems (mostly > > 8.2-pN) are just hanging forever. > > ... and it gets worse. I just 'shutdown -r now'ed one of my > less-critical 8.2 systems, and it hung for several minutes after "All > buffers synced." After a power cycle it came back, but the buffers > weren't actually synced because it's still fsck'ing some pretty large > file systems. > > What the heck? We've noticed this behavior too (on 8.1-RELEASE-p6). The work-around (to avoid long fsck) is to: 1. Drop to the kernel debugger (Ctrl+Alt+ESC -- requires DDB to be enabled in kernel) 2. Type: call boot(0) This causes the system to attempt a second sync of the buffers. This second attempt ends up timing out but succeeds in resetting the CPU (after 3x 60s timeouts). The price (waiting 180s before cpu_reset() is called) can be well worth it (avoiding multi-hour fsck) because the disks will be marked clean. For us, this is a serious issue and like Doug, we too exclaim "what the heck?" Shouldn't have to drop to kernel debugger and [redundantly] invoke boot(0) after syncer's hang just prior to cpu_reset(). -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.