From owner-freebsd-fs@FreeBSD.ORG Mon Apr 25 15:50:14 2011 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 35270106564A for ; Mon, 25 Apr 2011 15:50:14 +0000 (UTC) (envelope-from conall@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id BEDF78FC15 for ; Mon, 25 Apr 2011 15:50:13 +0000 (UTC) Received: by wwc33 with SMTP id 33so2224867wwc.31 for ; Mon, 25 Apr 2011 08:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=unGWWRlY+3U1EPSNfMrsDqqMihUVdcNjtKaNzCuMWe8=; b=bO4LmaQx9jU8AU3sNbF2GNNOUGg0gFqLpGEjJwImKlT8c4YdqEt+n3sZN3fSKT95ld 1dKN8+zUmw+BjNnr7ovor98yY9yAMabakpV/SxqS6B/hkwOS0UZDhLTaoQU/jElQRscr yVZDZ/BYklpAZb8adIYBSEmKihEm7UE+v++zk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=oC8dkYbKuIxNGHTcGrH3SlKqDKIeZCa6XKIMrkC87j9qXDoSUupxK6NYJPCXvzRORn N5jq1uRtmb5QVoRKBYbzFuUlLOem5PPBX6BGq0OL42KvAAnh9NV883Rw9kEMgDKn2hk2 MZpHrTRPi3T1kV2M5+36OmTgqSjZGQNZdDB/g= MIME-Version: 1.0 Received: by 10.216.245.4 with SMTP id n4mr3570190wer.83.1303746611315; Mon, 25 Apr 2011 08:50:11 -0700 (PDT) Sender: conall@gmail.com Received: by 10.216.48.18 with HTTP; Mon, 25 Apr 2011 08:50:11 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Apr 2011 16:50:11 +0100 X-Google-Sender-Auth: PpBDgVtrdxaiG1aUWEkYoB-tBWc Message-ID: From: "Conall O'Brien" To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Problems Terminating zpool scrub... 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, 25 Apr 2011 15:50:14 -0000 On 15 April 2011 15:59, Conall O'Brien wrote: > Hello, > > > I've got a NAS box running 8-STABLEW [1] which I'm running with 5x > Western Digital 2TB disks. > > > One of the disks was having DMA issues as reported in dmesg, so I > began the usual zfs workflow of "zpool offline pool dev", physically > removing it and tried to "zpool replace pool dev" but my attempts to > do so fail, actually the zpool command keeps ending up in > uninterruptable wait (the D state). Before resorting to replacing the > disk, a zpool scrub was in progress. Now, I can't kill it using "zpool > scrub -s pool", it too ends up in the D state. > > > Is there another way than "zpool scrub -s pool" to terminate a scrub > process, so I can proceed with the disk replacement. I care more about > resilvering my pool before getting around to scrubbing it. > > > Thanks! > > > [1] For completeness, uname -a reports FreeBSD galvatron.taku.ie > 8.2-STABLE FreeBSD 8.2-STABLE #1: Sat Mar 19 13:18:46 UTC 2011 > root@galvatron.taku.ie:/usr/src/obj/usr/src/sys/GALVATRON =C2=A0amd64 I worked out the problem. There's a regression in one of the drivers between the kernel I was running and my previous kernel: FreeBSD galvatron.taku.ie 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Wed Dec 29 04:00:27 UTC 2010 root@galvatron.taku.ie:/usr/src/obj/usr/src/sys/GALVATRON amd64 I'll file a PR to get it fixed. --=20 Conall O'Brien