I had a poorly set-up server with mismatched drives and a failure of one drive has made me rethink my architecture. I’ve replaced drives and ended up with my previous pool functioning correctly with 4x12TB drives, but they’re not configured in my eventual plan of RAIDZ1. I am trying to sort out the easiest way to get everything off the server, onto a large external drive I have, get the server reoriented as RAIDZ1 so I can survive single drive failure, and restore the data back onto the system. I have done some googling and had a long failure of trying to navigate this process with ChatGPT (a bad idea). Is there a simple way to do this? I have a Windows machine that is always on with SMB access to the server, if that is of any help.
So you’ve got 3x12 TB to copy to a 1x36 TB in windows ?
I’d get me another PC to plug drives in, then when done storing elsewhere, plug those drives back to the original NAS/PC/box ?, maybe.
Mind that the “large external drive” would likely have no redundancy.
USB drive I suppose? Plug it to the NAS. Create a single drive pool on it. Replicate to this pool. Export and destroy the old pool. Create your new pool. Replicate in the other direction.
Mind that the “large external drive” would likely have no redundancy.
The goal is that this would be a very temporary operation, basically copying over, creating the new pool, and copying back.
I’ve never used Replication before, I put together what made sense to me as a replication task and it completed immediately, saying “No snapshots to send for replication task”
Time to learn about snapshots then… ![]()
Gee, I just wrote up command line pool cloning in another thread:
I started a snapshot routine, tied it to a replication task, and now the size of files on the external drive matches the size on the current pool. Verifying I understand this correctly before I start hitting buttons and losing all my data: I export the current data pool, check the “destroy data” tick box, create a new pool with the existint 4x12TB drives with RAIDZ1 enabled, go to Data Protection and Replication, and set a replication task from the backup to the new pool? I see already that there are two snapshots on the external drive, so I do not expect the same errors I encountered before.
Without seeing exactly what you did and now have, it is hard to say you did it right. Sorry.
ZFS has some amazing features, but it is complex enough that casual users have been known to shoot themselves in the foot, (or worse…). Add in an evolving GUI for TrueNAS CE, and that can make things worse.