Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2022 13:34:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265647] zpool attach gives misleading error message on block size mismatch
Message-ID:  <bug-265647-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265647-227>