From nobody Fri Aug 05 13:34:06 2022 X-Original-To: bugs@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 4Lzmlf2ltdz4Y00c for ; Fri, 5 Aug 2022 13:34:06 +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 4Lzmlf0ntwz3HwF for ; Fri, 5 Aug 2022 13:34:06 +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 4Lzmld6zdZzwPl for ; Fri, 5 Aug 2022 13:34:05 +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 275DY5a1081598 for ; Fri, 5 Aug 2022 13:34:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 275DY5le081597 for bugs@FreeBSD.org; Fri, 5 Aug 2022 13:34:05 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: bugs@FreeBSD.org Subject: [Bug 265647] zpool attach gives misleading error message on block size mismatch Date: Fri, 05 Aug 2022 13:34:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matthias.pfaller@familie-pfaller.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659706446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BYfaKVqEwwor8r2PMIeYqSymw8Zv9ecNqcuu5qpxRlo=; b=yVRg5/sdONQXZiH1P+UcyoZTOsVP3Gb5Ac+1HlUxlrBctK029QuFmVpLgZGW6gHKcnwVRB Yt+EFb4QaVR+EkMOYzOGfYuwTxSuh4+NeUOhyUKmpOoRrvX375NPKhCBSzmBbcudxndSOY rEGz/JETwr/xxM1Y6WVrdZ9ey1a/nebaPKdrNVw4OBOpDTptO2QAvPys4vSnUr4W9YzsCu BkWHxnd9ycNvVrrLq/xs3qGXiqjCgvt1hMwHQkPxVyU4kw8w263liWmgyeYDwoCpdKEf73 KSsQFtXGEGx9L+q3Ae7ZdsRyGp8LD5cPAsWvsTcSsiefzG0TQVd7fducLUVNfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659706446; a=rsa-sha256; cv=none; b=p0/+2Ez4weXg3izm/3QU3ACNL9pdZh31CCptn3wlhxOJKBYTs/0IJc6Jp6lLxpoSpbGdLf 53KJ+ueioK8/95xhZwosgLotfGk7jeiMFbqxYBPh/v1t9NPshgb4pEn+X1K+fQPSzEIEAo 9pAIDAOVuB0XIYXmkSUg2MRorUm3iyLvUmsQ60TmEKjYNDjNaMo6QHDKDhYZnCkwmZBcvJ WbXOuzWX68Qio/bCxmdE2EH7F3bSvvxnw/TQ2mesjOrrOziUJzZPkIXnVBw/YcHVWIWjdE VOUt9VJCEeCRpQmDU/W819uF5DN5cuw0Ru2oGH5uk8F8sO3hrNzqcoQ7bQBzew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265647 Bug ID: 265647 Summary: zpool attach gives misleading error message on block size mismatch Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: matthias.pfaller@familie-pfaller.de I tried to attach a new ssd to an existing zpool to upgrade the pool to a mirrored pool. bash# zpool attach root gpt/root0 gpt/root1 will output the error message "cannot attach gpt/root1 to gpt/root0: can on= ly attach to mirrors and top-level disks" bash# zpool attach -o ashift=3D9 root gpt/root0 gpt/root1 worked in my case, but it took some googling to get to this point. With a better error message some frustration could have been avoided. --=20 You are receiving this mail because: You are the assignee for the bug.=