[Bug 265647] zpool attach gives misleading error message on block size mismatch
Date: Fri, 05 Aug 2022 13:34:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265647 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 only attach to mirrors and top-level disks" bash# zpool attach -o ashift=9 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. -- You are receiving this mail because: You are the assignee for the bug.