Raidz1 pool expansion question

So I was just reading a different post from a year ago about adding a new disk to a raidz1 pool.. the prompt the interface gives still says the same thing about copying data over to get all the parity or whatever( sorry dont know the exact tech and what it totally says)..

And in that post the guy asks if he still needs to use that GitHub rebalancing script or whatever to make it an easier process, and I’m wondering if we still need to do that a year later? I’m guessing so because the prompt warns we need to in order to get full use of the drives, but idk if it maybe has an automated feature now behind the scenes and does it for us?

I just don’t understand the need to copy all my data somewhere else( and then move it back? Idk lol)…especially since it seems like the pool is working as expected and all the data seems to be working fine? The added drive shows the extra space available from it in the gui etc etc…

So should I still run that rebalancing script? And anyone have a video I can check on how exactly to use it? Or is their in the git fine,(sorry haven’t seen it yet and I only just found all this out yesterday and was thinking about it this morning and wanted to get others input on it)…

Thanks in advance everyone! And my server specs might be slightly outdated so sorry..I’m on the newest version of scale

25.10 introduced zfs rewrite, which is basically a buildin rewrite script, but as far as i know you still have to use the command line to invoke it.

1 Like

Ahh interesting, seems even easier than the rebalancing thing I saw lol..

so I just use that ads rewrite command and do it for the entire pool I expanded correct? Thanks for the help

Just make sure you have enough space when you use snapshots or remove snapshots before starting the rewrite

1 Like

Can all snapshots be deleted, run this, then let the system rebuild snapshots on the next Periodic Snapshot Task cycle?

Sure, the problem with snapshots and rewrite is that they will reference the old data and will block space for it.
Edit:
You can also create a manual snapshot after the rewrite is finished.

1 Like