Weird Question (Perhaps) Regarding VDEVs

Hi,

Currrently I have

  • 1 Pool with
  • 2 vdev at
  • 43% capacity
  • both vdevs are running zfs3
  • meanwhile most of my failing drives belong to a single vdev
  • running Electric Eel (if it matters)
  • have not upgraded zfs system (w/ the electric eel upgrade)

Since I do not see a “delete” button for a vdev, how can I remove the problematic vdev and reassign their slots to creating a new vdev? Can’t just replace drive since I want to reuse the slots to create mirrors vdevs instead (and they’re different capacities from the existing ones in the bad vdev).

Anyone advise for this challenge of mine? Many thx to all my esteemed fellow Truenas enthusiasts in advance.

Bes,
Richard

You cannot remove a “data” vdev if there exists any RAIDZ data vdevs in the pool.

To go from a pool comprised of RAIDZ vdevs to one comprised of mirrors, requires you to create a new pool (of mirrors only), and then to replicate/copy the data from the old pool to the new pool.

Would it make sense the logic that if my capacity is under 50%, I can also safely delete half the drives in the entire pool (as a way to remove one vdev) ? Just a thought and wondering…

Only with mirrors. In which case the remaining mirror(s) will receive the “evacuated” data.

Not possible with RAIDZ vdevs.

1 Like