From owner-freebsd-fs@freebsd.org Mon Aug 15 04:46:23 2016 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 CC587BB7A9D for ; Mon, 15 Aug 2016 04:46:23 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-yw0-x242.google.com (mail-yw0-x242.google.com [IPv6:2607:f8b0:4002:c05::242]) (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 8BC4E1A93 for ; Mon, 15 Aug 2016 04:46:23 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-yw0-x242.google.com with SMTP id r9so1929456ywg.2 for ; Sun, 14 Aug 2016 21:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=j+jV/Pjx7AvBSN0jPZspiDandkMlwQSP6YXVWg3guJw=; b=pcQ53+Hjt+fvLv4nkpOtJx1No4UV6eCCAUgRiwT65crHzbtNF8pjcDJRc+OFX5xIyj 1yVRds0kGOQCS/ig1FbSpbthIo18CxxetbTa8Lcnb57hRNLWa7i6F+BI2xK8sg/VD3ZD SWAQx23Q1IGdbGDvoKgbQCuORy9G25almXvuTehJvAO7I0nDa8uvFxG+YQkkSmSpjBsv O6bjdDi26W9HXPSDqGEyl9Z8is0/oEQ++gDNhBoCOjJZvLtqHhRYYMnUPcwLXpSABuJh zlVRa4vJtK50AdrDOSlWkdmT+lSynQmIcv/c5dGlDZbJosYXe8rvLIgw2MryPHnRpznA BxGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=j+jV/Pjx7AvBSN0jPZspiDandkMlwQSP6YXVWg3guJw=; b=QwIl5SyoashtcY3N1JdCjYscMF4uQ3h6EldiejX37UOU/v8ESK1P5uGffwOiKXf6WW xjlP8n0EBFUSosnYKNrskFPpF2Y8caHecJSZS3OKI47s4PdOxKs73slmQEZss4kkJjGc 9GBsrdnbp5FK8gzWGIWEdImmW7p4gRbNmNE8SVPzZy9kPD60WkLSOB56i8ZSU7tvJcic caO6fx+LbQbeq6eIDHELzXjllf7Fs72uTUJ0IO/GTVqx8ij29g4tVCozORat6MgeEPBY PACF77R1P+6BrREpGGg3CvIQ732EISA6P5Iucs2SB42GQ1ujF0MXOJka57ERHUp5nKEl A4iA== X-Gm-Message-State: AEkoouvHDCDN025zWSIVhrM7dljEvdHXkPFyiuthxiIHMdwcMEqYxMnt/6ydBqlOckdmHbnueoUhz0/C8net8w== X-Received: by 10.129.38.212 with SMTP id m203mr20140560ywm.169.1471236382752; Sun, 14 Aug 2016 21:46:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.161.37 with HTTP; Sun, 14 Aug 2016 21:46:22 -0700 (PDT) In-Reply-To: <3a38203a-e397-9695-b147-2fb46fa92d0a@delphij.net> References: <3a38203a-e397-9695-b147-2fb46fa92d0a@delphij.net> From: Zaphod Beeblebrox Date: Mon, 15 Aug 2016 00:46:22 -0400 Message-ID: Subject: Re: zfs_recovery=1, zdb, mounted pool? To: Xin Li Cc: freebsd-fs , Xin LI Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 04:46:23 -0000 On Sun, Aug 14, 2016 at 7:50 PM, Xin Li wrote: > > > On 8/14/16 13:04, Zaphod Beeblebrox wrote: > > So... I found 319 of the errno 122 errors by running zdb. My question is > > this: > > > > Can I run with zfs_recovery=1 and have zdb fix these (which are free > space > > leaked errors) while the system is running? > > No. > > If I was you I would definitely do a full backup to a different place, > recreate the pool and restore from the backup. > > It's not safe to use your pool as-is, don't do it for everybody's sake. > So, then, do I start a big bug on this issue? Is there a bug on this issue? Seriously... it appears to have happened to multiple people.