[Bug 225546] "zpool add" crashes in the presence of a replacing vdev with a spare child
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 29 23:21:18 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225546
--- Comment #1 from commit-hook at 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
projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/zpool_add_010_pos.ksh
projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_add/zpool_add_test.sh
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list