From owner-freebsd-questions@freebsd.org Mon Aug 24 02:02:41 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91A083AB0D4 for ; Mon, 24 Aug 2020 02:02:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZb400cbYz3fyq for ; Mon, 24 Aug 2020 02:02:39 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id F04C84FA for ; Sun, 23 Aug 2020 22:02:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 23 Aug 2020 22:02:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=j9nRWD6WNDCdBW3DREhlSfM0TlD ylvts+kI16kkczBA=; b=EPfCoV1QLhgHtc9v4pC1e5v5vqrIYP5hJLe3QIY0Wsl kcL/CVf0FiVV9lhkN2vBp6CjEdKx9T72kI1wiHgqw3uxtALmgtwNZfEUXv/YKd4Z NCKVgffhEopD8P6nlKEKm72aoMPVZJJ8p7A+0IeCIpkeXjL0WBCUs66FXTGpULTc 3E7TyhIz8fxnU1UG9PJHWgx/xM9YNjQw5seAQU9fA6MfdqCAvcZG4zER0kQV4sGj 4pxP339B/VDHrvK0sOakxJC20SlmZDEHiGbfVOJ56bnRqdDiT3OVGFg6FU9q1ZEa jFqgb8R2Gm2zxvs+qr6KkXNFbMEZMcILkKA1fQiIXmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=j9nRWD 6WNDCdBW3DREhlSfM0TlDylvts+kI16kkczBA=; b=ju0OgvDI3S9RKZ5eN45Jfg UUuEvrbQ2XhKTdrs3CK9LQZIeMxiZi2lsYt/DdeuVCUG6DZQr31b4Ohyf3FreOcb WUqTxsleGUYLDiwRCTtQB29MtumUPOKhcR6miHSURVobisw5Qj5bgt0reQXe8Yf9 2CHyPkbs3a8UoE0bsb18NZiniJ072M7bMH6+D59rg13qx8AHaDPuhX2okgMCsJ7R /Z/xRhf2ttK+3kD12ofKVNy4z+WMzk94heXJS+Z8AIyXxjdXRvVsERB1KpVmb0/w BUBaoGSHlMyr595Vurintc6+BGbMBEYHiqnajsrOiuKma/218h80uQk3uR5pl4LA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddujedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurdelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id D066B306005F for ; Sun, 23 Aug 2020 22:02:36 -0400 (EDT) Date: Mon, 24 Aug 2020 03:02:07 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: adding disk to zfs mirror after removal of disk Message-ID: <20200824020207.GB17289@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20200821230206.GA56267@bastion.zyxst.net> <20200822050431.GA17289@bastion.zyxst.net> <9274f688-2897-8d0b-d799-100316684b06@holgerdanske.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline In-Reply-To: <9274f688-2897-8d0b-d799-100316684b06@holgerdanske.com> X-Rspamd-Queue-Id: 4BZb400cbYz3fyq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=EPfCoV1Q; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=ju0OgvDI; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-3.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.68)[-0.677]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 02:02:41 -0000 --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 22, 2020 at 04:05:36AM -0700, David Christensen wrote: > >I should have said this before -- first, back up all of your data. The data was disposable. Theres an arguement for not using zfs at all with these two disks as it contained only a poudriere installation. In the end, I deleted the pool and re-created it, and moved poudriere configs off to anot= her server. Fortunately the disk seems overengineered in the remappable space department, with 759 sectors remapped. At least that number isnt increasing. smartctl -t long passes. Seems what I should have done is zpool replace ada3 ada3 after fixing the failing disk, in order to retain the mirror. >I use a version control system (CVS) and create a project for every >computer. Inside each project, I maintain a plain text "administrative >log file" where I write notes to myself of what I'm doing, where, when, >and why. I copy and paste important console sessions into the log >files. I also check-in any system configuration files I create or >modify. All of this effort provides invaluable information for >historical research and future use. If you're not comfortable with a >version control system, putting stuff on a USB drive (and backing it up >frequently) is better than nothing. Funny you mention this, I'm doing exactly this (with cvs too) for the same purpose, on a dedicated machine. thanks for your help, --=20 J. --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9DH6QACgkQs8o7QhFz NAUqaQ/8DkRwRP0dyP2d1hZ3kSG/8yVg9C6BA16o8IsHDA+eZoYFKPWqUZPcf2Bi TIssJVA5Hn4Lgj5CRIPT76oqZHrvVSjwhCBCY2YONRVx9UHGhaHbA0wF6KZUTUA0 jLfuR62m80zQ27choVG6f5tqw+v5r+tqTkt8hk4TGRT4eOY6DKAPty6iXOGcidba ytb9WiRuPy1i0a3s5IKWIKK32ynkCrfRfwS6y7DXLU7HaQznikWzrTMFOeJjUX6p nk8GKg+YBaKu32Ceb2EdYVbge8IKatSoCsPfKCiyZfG68x5XrPMOOmRN08N87RrY /JuRHogg38ZKBzAzcDpW3RkGoxBBeXJHnOw/oxfL1yI24NjuaYWUAP3yHSqxfrgB +4JnZ34v8VCLcdOlVJovV14V8t/5sZn/ploQm4F65Ye/5BiquHyQ6meYGqq4l34h ayRg4USksADfTFhCtGUzkPhQa1OseMsH/8zZHTIDq/lfXHoPs1T6Ufa0bwUkBmo0 P08t4j3sbeFQrT0FjzW5YnDnEDCyKStkK0NQhyAqN3VIcNRt4QQ5HtVmDd8d+jL+ UAp3qgOqrdunhKNuVzdcLFdGUSZbzAmQcWNsyylNZCOe45b5BT6mEHIH80Jtf6mD UHDk8bdLvvdQIpQTkje9ZKEIPcOtxN9Y1BpbptoEdD5sRj9B9kY= =5z7S -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes--