Adding a spare hd as a spare to a existing raid z3 zfs pool

,

need help cant add a spare drive to an existing raidz3 zfs pool.

First off, do you have a spare already assigned to that RAID-Z3 pool?

Next, which OS and version of TrueNAS are you using?
Core, SCALE or CE?

Last, have you read the fine manual?
For example, TrueNAS CE, (formerly SCALE), has this:

Reading the manual may be boring, and it may not be perfect. But, if you find something to add or change, their is a place on the right side of the documentation site for giving feedback.

i have 2 spares allready in the pool i need to add 1 more drive to the spare vdev in the pool

os is scale 25.10.0.1

as far as the manual let me see if it will help me then i will get back to you

failed:

raidz_expansion feature must be enabled in order to attach a device to raidz

Adding a spare is not raidz expansion!
But the validation logic for spares is broken in 25.10; a fix was put in the tree for 26.04, let’s hope it will be ported to an earlier update.

1 Like

i have expanded the raidz pool with another hd but i want to make it a spare and not a data drive. is it possible to do it after the expand is complete

The fix was also added to 25.10.1 & 25.10.2, neither of which are likely released, YET. But, 25.10.1 should be available within a few weeks, based on the comment about 25.10.2 in the bug report needing the fix as well.

In the mean time, the only way to add additional spares is either with an earlier release of TrueNAS CE. Or do it from the command line.

1 Like

i am using scale and do you know how to move a data drive to a spare drive without degrading the pool via command line under scale 25.10.0.1

It is not possible to remove a data drive from a RAID-Zx vDev.

However, if you mean something else, like returning a spare in use back to a spare, we would need to see the output of zpool status in CODE tags.