Files
mirror_zfs/lib/libzfs
Rich Ercolani 1139e170d4 Add explicit error for device_rebuild being disabled
Currently, you get back "can only attach to mirrors and top-level disks"
unconditionally if zpool attach returns ENOTSUP, but that also happens
if, say, feature@device_rebuild=disabled and you tried attach -s.

So let's print an error for that case, lest people go down a rabbit hole
looking into what they did wrong.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #11414 
Closes #12680
2021-10-29 15:55:22 -07:00
..
2020-07-10 14:26:00 -07:00
2021-07-15 12:31:00 -06:00
2021-09-14 10:17:54 -06:00
2020-11-17 09:18:52 -08:00
2019-09-02 17:53:27 -07:00