Would like some help getting truenas to truenas replication working

Good morning. I am working on a Truenas Scale setup that would include 2 truenas appliances. One would be located in my production environment and a second one would be in my DR facility. These sites are connected via 10gbps fiber and I have my layer 2 network extended to DR so they can be in the same IP space. This deployment is initially setup for using iSCSI volumes which are mounted to a server in the prod environment and presented as a local windows disk. I have that working and have the following setup on truenas1:

  1. One single dataset that is 31.81T in size named “Pool1”
  2. One zvol/dataset under Pool one named “o365backup-data1” sized at 20T

I have that 20T dataset attached to my windows server and have been writing data to it nightly without issue. I have a second truenas appliance in DR named truenas2 with the following:

  1. One single dataset that is 31.81T in size named “Pool1”

What I would like to have is a copy of “o365backup-data1” in DR that can be mounted in the event that truenas1 fails. I have tried to setup replication via ssh for this dataset but keep getting “not enough space” type errors on the snapshot. I have also setup a replication job of just Pool1 and got it to work, but it doesnt copy anything. I am used to snapshots on iSCSI volumes being pretty small and representing only the change-delta in the volume, so I am confused wy the 10TB of remaining space in Pool1 isn’t enough to hold the snap correctly. Can anyone guide me towards a working solution for my scenario? Thank you!

Should have said this is version 25.04.0 on both sides and joined to my AD domain on both sides if that matters.

I solved this on my own. The issue keeping me from creating snapshots was reservation and refreservation on the zvol. I set these both to 0 (i know i need to manage space independently) and then was able to create snapshots no problem and after that replication worked as it should.

1 Like