From owner-freebsd-fs@freebsd.org Sun Aug 14 23:50:28 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 8CF3FBB9C77 for ; Sun, 14 Aug 2016 23:50:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65EA4151B for ; Sun, 14 Aug 2016 23:50:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from Xins-MacBook-Pro.local (c-73-189-16-150.hsd1.ca.comcast.net [73.189.16.150]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 6269E1D6D6; Sun, 14 Aug 2016 16:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1471218627; x=1471233027; bh=LOypc6xwXvwwp4k4yGYzcnv4yoVNX9VjN58cV1kwTps=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=YRwJYD9zDAy4wob3zje0fVIRyxhfpGv4v+oQKRIVveuHsRX7MhlP+zWc0BiSTOXs7 WSE8rIgwVNL1Lq6Cv/jvUFWMSL3c6245yN6yS5M7WPiTkLUFcQbe31W5T+5Izd9L4M 5CkGVRz9Cn6DVJw91svQZ1RQjfGyRAe1EkcaIC8A= Subject: Re: zfs_recovery=1, zdb, mounted pool? To: Zaphod Beeblebrox , freebsd-fs References: Cc: d@delphij.net From: Xin Li Message-ID: <3a38203a-e397-9695-b147-2fb46fa92d0a@delphij.net> Date: Sun, 14 Aug 2016 16:50:22 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UEgjIwIK2kPTlLodCpwg5g6GbCoItvSPU" 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: Sun, 14 Aug 2016 23:50:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UEgjIwIK2kPTlLodCpwg5g6GbCoItvSPU Content-Type: multipart/mixed; boundary="eFMcj68R53sJjl4IQb2Qkt31WeWffRswv" From: Xin Li To: Zaphod Beeblebrox , freebsd-fs Cc: d@delphij.net Message-ID: <3a38203a-e397-9695-b147-2fb46fa92d0a@delphij.net> Subject: Re: zfs_recovery=1, zdb, mounted pool? References: In-Reply-To: --eFMcj68R53sJjl4IQb2Qkt31WeWffRswv Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: >=20 > Can I run with zfs_recovery=3D1 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. Cheers, --eFMcj68R53sJjl4IQb2Qkt31WeWffRswv-- --UEgjIwIK2kPTlLodCpwg5g6GbCoItvSPU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXsQPBAAoJEJW2GBstM+nsD2QP/2uZvmOfbT4z1c8JeonIYpHi 8iZqKHUXI4LendkOlO42apcQrn/+TtRRg/gfjdxMKUta2S7bEMTpOB2Z0N6z7/5x KBGKvnL79U1oeygOVPFKlPiNEiHzMi2pqQSAAZ6e+stiq7XpcJNgnNm0h8O7Vocn gbD9b2vL3waMrzliJkARg2mdNx87qcVgqEGC6ErlU45I4S4la7/mGhF4fPDVwwIW O2g3472RXxDQMgHeyIdzrb+UbPe/BecMLNfIK/oYYzddMXljfmIX/BpYShUW0Apk 0Fh5YwUwYjj/SpENFiGxvMwujqT3W3uBcNZXViOLy6V5Av4xDLcu9QXI4vQMBP1K rdhy+49grp5Wg5qmgTa5ITur/Rr7NQly/VjXSfbEVSV/36iLr3JueYL6vg9jWt9n nXgDBDgiMyw4Epds39gLCe+U9Vs7OICRlINmukWXB3J9vJZj0utuhadOvkRwfFig iZ7qFTTIBrkb5E64w4Y+Q/JRR2otKDAjhOX8m0aeCIaWVobI1jRrGDu4EBLbdC/l sSFnzA5wjbeYrV7V97PY1I6fRRcU5SQhQfJ1iuxORKT2IExCHiOoKEjOs9dlXBXR umi4xCE2iimWBiQqCug6aDjo+1qyls5elCHw1RXO3vITkfN5jmqhDafVBnwOkN1L 3vr2XgOL8UPFhjj+ns+e =Pcvg -----END PGP SIGNATURE----- --UEgjIwIK2kPTlLodCpwg5g6GbCoItvSPU--