From owner-freebsd-fs@freebsd.org Thu Feb 16 21:33:45 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 840E8CE2903 for ; Thu, 16 Feb 2017 21:33:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (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 3E7081BEB for ; Thu, 16 Feb 2017 21:33:45 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qk0-x231.google.com with SMTP id 11so28115020qkl.3 for ; Thu, 16 Feb 2017 13:33:45 -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=csAzwWmLgV5dk5k+ZaZ0d4VUZvz4nBdM9rYpuLvl/Po=; b=hx/++rVwma+gLF+N41a79F0xP1mVZnJnioSuYc5nKDDg4Zfv8WsTGK4RweAj1aL122 n+KyA1txJ9CmXVH6PqrMK/eRuTXb5dAspO9NvPHh0MHwYNjdhzuxuiiMFG/uLxRzPXK+ fq6nTTqvdGLwteKKU6LvnPPg3w302n1/fxBrnmeIwPnIYB/buzN6P2w4Dr+2LGzDvLEB v46aGIOOQA/MAqdwSzNvMFXfEkdGoyW479vBnd4OPLxanjJqDpna5ZjulOSNOecyoJ51 6xGhBma+mH3nSRdWZMYCHjuKY0G4DdSOkzgbKMGA5x4picszSYd6yx90/DQaLuiez5v3 LB1g== 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=csAzwWmLgV5dk5k+ZaZ0d4VUZvz4nBdM9rYpuLvl/Po=; b=qybB8ucL8NMNuDb1G0wVbrUxZl8YURTyIRdtxi88RK8ssem1hhfnS+TrApG6HeOAq1 e1gTWjz1JZ8VsE1psG8uuvzFBlgKe00XElMFj+byIWw/sczD0kMG3Ysh4XtT6pGJDfdp kWWZ+p3BkEVCxUBjWHWoeFbwSQw+nBE2ckbCacxfRbzBtpNf0hPyuO86T0WvRfNAoC8v YGxpOnS4E1gWff00p4w0AQhh2ErWohbfQtr38t2g0J6M62RS8N+s3I2C+qXHK5CDDl9L KIlea2jHMRAT0TyK2hQqRLzJkWMvDGop0ug4Yr+LmT1yMc17io7QrgUMZX5sfF84UGj7 biQA== X-Gm-Message-State: AMke39mCjAnV3F/C39V/fqCx/ysMX/z37kuFuKbExDClQ+y2oe8JpAHlOdrntYEo1mSM1F39Mi3oqI5YGYuPjw== X-Received: by 10.55.192.65 with SMTP id o62mr3996772qki.10.1487280824270; Thu, 16 Feb 2017 13:33:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.28.202 with HTTP; Thu, 16 Feb 2017 13:33:43 -0800 (PST) In-Reply-To: References: From: Freddie Cash Date: Thu, 16 Feb 2017 13:33:43 -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: Thu, 16 Feb 2017 21:33:45 -0000 On Fri, Jan 6, 2017 at 9:03 AM, Freddie Cash wrote: > 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 o= f > 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! > > =E2=80=8BJust to close out this thread, the 11.0-based mfsBSD LiveCD work= ed to allow the background destroy to complete successfully. Afterward, I was able to import the storage pool back into the 10.3 install running off the root pool.=E2=80=8B This server is back online and running normally. Thanks for all the help and pointers everyone! --=20 Freddie Cash fjwcash@gmail.com