From owner-freebsd-fs@freebsd.org Fri Jan 6 17:03:39 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D560CA2537 for ; Fri, 6 Jan 2017 17:03:39 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 186971F4F for ; Fri, 6 Jan 2017 17:03:39 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qk0-x233.google.com with SMTP id a20so81260202qkc.1 for ; Fri, 06 Jan 2017 09:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DDIuRldAxHGCaXFuakSZdydtuohkYoMBc++jDijEMgE=; b=vGv/TpCsNl7tDDGLAxQgz+uid6bxPb8CKWFHQASE6Q3/Hf7BlYZLyrw+Bt+dcw8JeP mfM02wVnc6LKidAFyXmD5G/83QkKMn8+00f5mrVgc6HYhjD1D/oZPS/huDRNQ6XEIAx/ VojaVAUwjNBAZn3f59t/sxxpBlSQX7CRlDNkjx0CIig1ZLxOBzz9T3OG06IP6NTeGREg Tlyhh7/Qp8Sm4+Khpfk4s2qNNVlFAqLD2jbHIL/0c5J0IgGDHHvL7oPq4bbgFGYid9tS zqMMptr3iqrcuZNex3Gq0p+UuMSp5fZdJqxs9iVEt1spNHO1dMUPt53GCJFJ2ADFeQ3b L6NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DDIuRldAxHGCaXFuakSZdydtuohkYoMBc++jDijEMgE=; b=SY9SxVHdoSolfZPL6PVSDwQjuXrevXW86rWfqc640EsF5sozY4jXCDgpuJB9zB6wHi IukspwUYdzuNd+tZRLcFz7NWPmy8kj89VB7Ro1mMdAykZEFbD+CyAxTSK0FK7JiS06tH 0p+H3z7oErhRO4UxqIeiyn3aZf9wjSW1MpMsEl+VlEORTZQeEuXbXczAYsoKPtIwf5ro Kxwar9vK7zybKMXC5wY0bo0JjqFXBRnjBFYeOnKs0/XToW1JPHffClNwOlFSoklJ0ivM q1gC+V2ilfaejERyb7xyQZ889WkLJoAdT+X8aurkmINrGpRqg526YQXF5iUS9JqYQOIC iGbw== X-Gm-Message-State: AIkVDXKOJIkqp4qbtL6AS/0IFw2TyUqH+Bm72EFi6e4kwSeBnfIQ80ww7eo3ODDERH/cF4MceCQ2wA37l+cyfQ== X-Received: by 10.55.112.65 with SMTP id l62mr87155886qkc.76.1483722218124; Fri, 06 Jan 2017 09:03:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.165.161 with HTTP; Fri, 6 Jan 2017 09:03:37 -0800 (PST) In-Reply-To: References: From: Freddie Cash Date: Fri, 6 Jan 2017 09:03:37 -0800 Message-ID: Subject: Re: Check status of background destroy To: Xin LI Cc: FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 17:03:39 -0000 On Wed, Jan 4, 2017 at 10:43 AM, Xin LI wrote: > Try setting vfs.zfs.free_max_blocks to 100000 (this is an arbitrary > number, can be larger, limits maximum blocks being freed per txg; see > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D271532 for > details). > > You can inspect the progress with DTrace by looking at zfs-dbgmsg. > =E2=80=8BThis is looking promising. Booting off an 11.0-based mfsBSD didn't work (locked up after "Trying to mount root from /dev/md0"). Booting off a 10.3-based mfsBSD worked. Set that sysctl, then imported the pool without issues. The box has now been running for just over 24 hours. ARC is sitting at 93 GB, with Wired at 116 GB. Previously, the ARC would only be around 10 GB with Wired over 120 GB. "zpool iostat" shows lots of reads and writes happening to the pool. And the Avail space is slowly ticking upwards. Now just need to wait and see how long it takes to free up all 40 TB of referenced space. :) Thanks for the info! --=20 Freddie Cash fjwcash@gmail.com