Date: Mon, 29 Jan 2018 23:21:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225546] "zpool add" crashes in the presence of a replacing vdev with a spare child Message-ID: <bug-225546-8-Ak1HBIr7km@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-225546-8@https.bugs.freebsd.org/bugzilla/> References: <bug-225546-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225546 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Mon Jan 29 23:20:30 UTC 2018 New revision: 328569 URL: https://svnweb.freebsd.org/changeset/base/328569 Log: Add a regression test for PR 225546 If a pool contains a replacing vdev with a spare child, then any "zpool add" command will fail. It doesn't matter whether you're adding a regular vdev, log, cache, or spare vdev. The bug is in get_replication in zpool_vdev.c in the zpool command. tests/sys/cddl/zfs/tests/cli_root/zpool_add/Makefile tests/sys/cddl/zfs/tests/cli_root/zpool_add/zpool_add_010_pos.ksh tests/sys/cddl/zfs/tests/cli_root/zpool_add/zpool_add_test.sh Add a test case that creates a pool with replacing vdev that has a spare child, then attempts to add another spare. tests/sys/cddl/zfs/include/commands.txt Add an alias for /usr/bin/timeout PR: 225546 Sponsored by: Spectra Logic Corp Changes: projects/zfsd/head/tests/sys/cddl/zfs/include/commands.txt projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/Makefile =20 projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/zpool_add_01= 0_pos.ksh =20 projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/zpool_add_te= st.sh --=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-225546-8-Ak1HBIr7km>