From owner-freebsd-stable@FreeBSD.ORG Mon Sep 21 20:24:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF52210656A3 for ; Mon, 21 Sep 2009 20:24:43 +0000 (UTC) (envelope-from christof.schulze@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 4BADD8FC14 for ; Mon, 21 Sep 2009 20:24:43 +0000 (UTC) Received: (qmail invoked by alias); 21 Sep 2009 20:24:42 -0000 Received: from 98.90.135.212.in-addr.arpa (EHLO klausdieter0815.dyndns.org) [212.135.90.98] by mail.gmx.com (mp-eu005) with SMTP; 21 Sep 2009 22:24:42 +0200 X-Authenticated: #56306756 X-Provags-ID: V01U2FsdGVkX18r7otp8ZsrZpatOm/Xw+YERSBX/GmI52hfggSllS EF3mOAe3dj4UCe Received: by myhost.mydomain.de (Postfix, from userid 1001) id AF38485; Mon, 21 Sep 2009 22:24:32 +0200 (CEST) From: Christof Schulze To: freebsd-stable@freebsd.org Date: Mon, 21 Sep 2009 22:24:11 +0200 User-Agent: KMail/1.12.0 (FreeBSD/7.2-STABLE; KDE/4.3.0; amd64; ; ) References: <200909202342.22881.christof.schulze@gmx.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909212224.29096.christof.schulze@gmx.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51 Subject: WORKAROUND Re: zpool scrub hangs on 7.2-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Sep 2009 20:24:44 -0000 having removed the cache did not do anything at first but after letting zpool scrub sit there for ~20 minutes (no CPU or HDD activity whatsoever) it suddenly started the scrubbing process. So I seem to have hit a bug. Regards Christof Am Montag 21 September 2009 17:32:05 schrieb Jason J. Hellenthal: > On Sun, 20 Sep 2009 17:42 -0000, christof.schulze wrote: > > Hello, > > > > currently I am running a 7.2 stable with zfs v13. > > Things work nicely except that zpool scrub hangs without disk activity. > > I do not get any error messages in dmesg or /var/log/messages and > > therefore I do not know where to look further. > > > > Is this a known issue or should I investigate? If the latter is the case > > I would need some help doing so. > > > > % uname -a ~ > > FreeBSD ccschu935 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Jul 7 04:56:00 > > CEST 2009 root@ccschu935:/usr/obj/usr/src/sys/GENERIC amd64 > > % zpool status ~ > > pool: tank > > state: ONLINE > > scrub: scrub in progress for 0h3m, 0,00% done, 3370h48m to go > > config: > > > > NAME STATE READ WRITE CKSUM > > tank ONLINE 0 0 0 > > ad0s6 ONLINE 0 0 0 > > ad0s3f ONLINE 0 0 0 > > ad0s3e ONLINE 0 0 0 > > cache > > mmcsd0 UNAVAIL 0 0 0 cannot open > > > > errors: No known data errors > > > > > > kind Regards > > > > Christof > > I see you cache is disabled no available. Even though I don't think this > should or might be the problem can you remove the device from the pool and > re-scrub to see if that relieves the problem.