From nobody Mon Jun 14 19:13:13 2021 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 44CCB7E93CA for ; Mon, 14 Jun 2021 19:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G3h1P1G2Jz4ZJq for ; Mon, 14 Jun 2021 19:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 140CD1A2DF for ; Mon, 14 Jun 2021 19:13:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 15EJDDQf082311 for ; Mon, 14 Jun 2021 19:13:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15EJDDSS082310 for fs@FreeBSD.org; Mon, 14 Jun 2021 19:13:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 256582] ZFS unable to attach/replace disk to the mirror/raidz Date: Mon, 14 Jun 2021 19:13:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: serzh@expir.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256582 --- Comment #7 from Sergei Masharov --- no, zpool replace never working. I have hoped that after migrating data to the new pool the problem will be solved, but it was migrated to the new pool with the data. root@proxy:/ # zpool status -v t1 pool: t1 state: ONLINE scan: scrub repaired 0B in 00:10:16 with 0 errors on Sun Jun 13 19:43:27 = 2021 config: NAME STATE READ WRITE CKSUM t1 ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 ada0s1 ONLINE 0 0 0 ada0s2 ONLINE 0 0 0 ada0s3 ONLINE 0 0 0 ada0s4 ONLINE 0 0 0 errors: No known data errors root@proxy:/ # zpool replace t1 ada0s4 ada2s4 cannot replace ada0s4 with ada2s4: already in replacing/spare config; wait = for completion or use 'zpool detach' root@proxy:/ # zdb -l /dev/ada2s4 ------------------------------------ LABEL 0 ------------------------------------ version: 5000 name: 't1' state: 0 txg: 0 pool_guid: 6410165186213320141 errata: 0 hostname: 'proxy.expir.org' top_guid: 14589067438874636017 guid: 14589067438874636017 vdev_children: 1 vdev_tree: type: 'disk' id: 0 guid: 14589067438874636017 path: '/dev/ada2s4' whole_disk: 1 metaslab_array: 0 metaslab_shift: 0 ashift: 12 asize: 42944954368 is_log: 0 create_txg: 21014 features_for_read: com.delphix:hole_birth com.delphix:embedded_data create_txg: 21014 labels =3D 0 1 2 3 --=20 You are receiving this mail because: You are the assignee for the bug.=