i would also for future users, so i will get on it (once i get it working) and submit a feature request to include sanoid as a part of the preinstalled software, but sadly i dont think it will be in time for 24.10
if anyone is still wondering here is an update: i screwed up, but its actually a good thing and every thing should hopefully be working like nothing happened in less then 24hrs.
even with @HankB’s amazing help i was just not confident enough in the zfs send/receive command i used(even though now that i think about it should have been fine but i cant verify it because my dumbass didnt put it in my notes), i tried to use truenas’s gui for zfs send/receive operations but i couldnt understand how to select a specific snapshot, so i used rsync not thinking that it wouldn’t recreate my zfs datasets.
thankfully it moved everything to a sub directory with the name of the old pool so when i wake up the last drive will finish its resilver and i could start to recreate and cleanup my datasets to get everything up and running again. but its actually kind of a good thing that it happened i can now clean up the permission mess i made by messing up docker permissions for apps and that i didnt clean up before, because if you havent figured it out all ready i am super lazy
sorry if i got a bit ramblely, its 2 AM and i need to wake up early* tomorrow
p.s one of the reasons it took soo long is that i unknowingly had a bad sata cable that every so often started trowing errors like crazy and the cable management in my case is none existent so i REALLY didnt want to open it again.
ZFS send is awesome. And once you get your head around it, it’s easy to use.
zfs send -R pool/dataset@last | zfs recv pool2/dataset
The -R flag sends all settings and previous snapshots at block level. Much faster than rsync, which copies a file level.
If dataset is encrypted, I add the --raw flag to send encrypted.
Incremental is a it of a headache, but I use:
zfs send -I pool/dataset@previous pool/dataset@new | zfs recv pool2@dataset
Double check these I wrote the commands from memory
I really need to try out this Sanoid app. Got a few IT projects on the go so do not have head space to learn something new at the moment. I do not even use Truenas – nothing but a bare-metal machine and a terminal for me.