I’ve got a RAIDZ1 with 3 4TB Drives, is it possible to swap one at a time to 12TB or is there a better way?
Totally possible and the route that probably 80-90% people go to.
Another way (if you have enough room and spare slots, is to just make another pool with the new 3 drives, make another pool, and just ZFS send/receive from your old pool to the new pool. It would likely be much faster, but would require 6 drives online at the same time.
It is possible, but the slightly better way is to add the new drive and then do the replacement with the old drive still in place (= no loss of redundancy).
Note though, that raidz1 gets less secure as drives get larger. If you can front-load the cost of at least 4 drives, creating a new raidz2 pool would be better.
I glanced at the Docs for the current Scale. I didn’t see an in place option. Does it vary from the two procedures listed? Do you think in place should be added to docs?
You’re looking at procedures for (totally) failed drives, which is not the case here.
Whenever possible, it is better NOT to offline or remove the drive to be replaced, but let ZFS do it after the replacement. So, yes, the docs could be improved.
That document does mention online replacement… for a failing disk
But I do think it over-emphasizes removing a disk and reducing redundancy.
There should be a section on “Replacing healthy disks” which makes clear that online replacement is not only a viable option, but a safer option
I just put in Feedback for that section to add and pointed to this thread as an example
I would use the second method, but is it possible to tell the apps that they should use the new pool with the moved date. Is it as easy as going to the Apps tab and clicking the Choose pool under Configuration?
Yes, it should be that easy.
Yes, it should be added:
I don’t know if that belongs in the Feature Request section. Document updates can be requested on the Document pages itself. On the right side of the documents pages is a Feedback tab. (as long as you haven’t blocked it with EFF Privacy Badger plugin in Firefox, ha ha)
I already gave Feedback to try to get a section added for this today.
Got it, thanks.
Thanks to @tangofan too. For future reference, a quicker way to get docs attention is to use the Feedback button on the Docs Hub itself (as @SmallBarky describes). That comes right to us as a Jira ticket to triage.
There is also an Edit Page link at the top of every article that you can use to propose changes, alert us to small issues like typos, etc.
Edit link wants a Github login.
Rename or remove the old pool. Rename the new pool to the old name. You’ll have to use the command line.
Thanks to both of you, @SmallBarky and @DjP-iX for explaining the proper process. I’ll know better now for next time. And kudos to the TrueNAS project for having such an excellent process in place re. documentation.
This has always bugged me that you can’t do a simple export/reimport to a new name through the UI.