I currently have two severs/pools (POOL1 and POOL2 respectively) in which:
POOL1 - is where my data is located
POOL2 - is for redundancy.
There are three different datasets on Pool1 in which:
“Pool1” - is my main data.
“Lab” - is my ESXi lab data.
“Apps” - is data for my services/containers.
I have set up a replication task where “Pool1” snapshots are replicated to POOL2 and now I’m trying to do the same for the “Apps” dataset. However, when the task runs, the directory that hosts the “Apps” dataset, on POOL2, is empty and only contains sub-directories and not files.
I understand that whatever changes that are made to the snapshot is what is saved but when I did the initial replication for “Pool1,” all the data was transferred over.
A pool that is named “Core” that lives on SCALE, with a root dataset named “Pool”.
I think you might be confusing directories for datasets, or the other way around.
This information can help:
zfs list -r -d 1 -t filesystem -o space Pool1
zfs list -r -d 1 -t filesystem -o space Pool2
For future reference, it’s usually better to allow the replication task, itself, to create the destination dataset, rather than you create it on the destination ahead of time.
I deleted all the tasks and snapshots off both servers and made a task for each one except a sub-dataset which is under lab (lab/os-images) and now each dataset is doing the same thing EXCEPT the aformentioned dataset which wasn’t included in the previous snapshots. I’m guessing based on this is the “data” from UNIT-1 is already present on UNIT-2 and it doesn’t need to transfer anything else unless it’s not present? Do I have that right?
The only thing that’s on UNIT-2 is that home dataset (I deleted the others just to simply troubleshooting) and a zvol hosting a running virtual machine…