From owner-freebsd-fs@FreeBSD.ORG Fri Apr 15 15:23:43 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 39B8A106566B for ; Fri, 15 Apr 2011 15:23:43 +0000 (UTC) (envelope-from conall@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EA03E8FC14 for ; Fri, 15 Apr 2011 15:23:42 +0000 (UTC) Received: by vws18 with SMTP id 18so2774430vws.13 for ; Fri, 15 Apr 2011 08:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=GzZW/73VxyT08V5arCZK/OIVFBdaf8HGJ3t/+Mu63z4=; b=IYnypjTTMXJuxHtA5cTXy40UBZ5q6w7Q6qPvV+Wi9Me2qItIsUsmRwMKMGSqdmG+O6 ya7X9LL3YREybZBaFsJhLEUai0uixkik16eCSHxDDewNd1KFYxYFMibh00PwTCHNwOji iN3KyyIV80XlkXUApcWpPjHqgFtxcLThTv9DI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=WjthiagxJ47yTaLujzjZ+n4TSPSEvTiRpvlAWKZBnuamohpAtBGF/6ryq0YAmSDJk+ wvedpo7+TatauWBlcmSawiqP2pImQRZ+Mi68IaNLXfhwbi/OPN1XNxDGTJUWgMJGiAzf FvtGbjTUt9q+9fGsfNebX2zsM0bdXWbNv2RYw= MIME-Version: 1.0 Received: by 10.52.100.2 with SMTP id eu2mr3177812vdb.20.1302879574460; Fri, 15 Apr 2011 07:59:34 -0700 (PDT) Sender: conall@gmail.com Received: by 10.52.161.74 with HTTP; Fri, 15 Apr 2011 07:59:34 -0700 (PDT) Date: Fri, 15 Apr 2011 15:59:34 +0100 X-Google-Sender-Auth: l8eW1mGcfmcoZPMgQj78a0HBXa4 Message-ID: From: "Conall O'Brien" To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: 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: Fri, 15 Apr 2011 15:23:43 -0000 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 amd64 -- Conall O'Brien