I'm in the middle of upgrading my server setup and moving my data from an existing pool (mix of drive sizes and no redundancy) to a new one (identical drives in raidz1 configuration).
I've read other posts here that led me to a plan of setting up the new drives as a temporary pool, copying all of the data across, then disconnecting both pools, and reconnecting the new pool under the old pool's name, to hopefully pick up all of the config that the old pool had. I ran into a bit of trouble doing that, however; I initially tried using
I searched around the forums a bit, and figured out I needed to run a scrub task on the pool. It came up with about 74 errors, which it seems to have fixed. I didn't manage to grab the details of the errors as I ended up doing a reboot to tweak some fan speed settings from the bios afterwards, and it doesn't seem that the system keeps track of the errors cleaned previously (if it has, I'd be grateful for a pointer to find them). I'm about 10 hours into a second scrub task just to be safe; 80% done and no errors found yet, so I should be good to run
Now, the advice I'm looking for is how to proceed with copying the data over to my new pool. Given the issue I ran into, I'm wanting to be cautious, given this existing pool has no redundancy. What's the safest way for me to transfer the files from one pool to the other? It's pretty much all large mkv and mp4 files at this point for my plex server. Should I set that one-off dataset replication running? cp smaller chunks of data, or copy as much as I can through an intermediary PC over the network? The total capacity of the original pool is 18.03 TiB, and I've used 14.7TiB of that. I assume that creating a snapshot needs at least a decent proportion of space on the same pool as it is snapshoting, so I doubt that I could fit that in the remaining 3.34 TiB available, unless I'm misunderstanding how snapshots work?
Any advice would be greatly appreciated.
System info is in my signature, but putting the details of the two relevant pools here too for reference:
Running TrueNAS-SCALE-23.10.2
I've read other posts here that led me to a plan of setting up the new drives as a temporary pool, copying all of the data across, then disconnecting both pools, and reconnecting the new pool under the old pool's name, to hopefully pick up all of the config that the old pool had. I ran into a bit of trouble doing that, however; I initially tried using
cp -a
to move the files. This worked fine for my smaller dataset (photos, about 32Gib), but during a copy of the larger dataset (media, 14.6 TiB) it wasn't long before the system rebooted itself and reported one of my 4TB drives as degraded, though a quick SMART test didn't show any issues with it. I then tried to set up a one-off replication task in the UI to move the media dataset, and ran into the same reboot issue.I searched around the forums a bit, and figured out I needed to run a scrub task on the pool. It came up with about 74 errors, which it seems to have fixed. I didn't manage to grab the details of the errors as I ended up doing a reboot to tweak some fan speed settings from the bios afterwards, and it doesn't seem that the system keeps track of the errors cleaned previously (if it has, I'd be grateful for a pointer to find them). I'm about 10 hours into a second scrub task just to be safe; 80% done and no errors found yet, so I should be good to run
zpool clear
on the pool after it's done.Now, the advice I'm looking for is how to proceed with copying the data over to my new pool. Given the issue I ran into, I'm wanting to be cautious, given this existing pool has no redundancy. What's the safest way for me to transfer the files from one pool to the other? It's pretty much all large mkv and mp4 files at this point for my plex server. Should I set that one-off dataset replication running? cp smaller chunks of data, or copy as much as I can through an intermediary PC over the network? The total capacity of the original pool is 18.03 TiB, and I've used 14.7TiB of that. I assume that creating a snapshot needs at least a decent proportion of space on the same pool as it is snapshoting, so I doubt that I could fit that in the remaining 3.34 TiB available, unless I'm misunderstanding how snapshots work?
Any advice would be greatly appreciated.
System info is in my signature, but putting the details of the two relevant pools here too for reference:
Running TrueNAS-SCALE-23.10.2
x2 4TB Seagate Ironwolf ST4000VN006-3CW104 + x1 12TB Seagate Ironwolf ST12000VN0008-2YS101 SATA HDDs
STRIPE formation (no redundancy )
Currently storing Plex media and Photos
STRIPE formation (no redundancy )
Currently storing Plex media and Photos
x3 12TB Seagate Ironwolf Pro ST12000NE0008-1ZF101 SATA HDDs
RAIDZ1 formation
Intended replacement for nas_pool_1
RAIDZ1 formation
Intended replacement for nas_pool_1