- Joined
- Feb 2, 2018
- Messages
- 1,401
Hi there,
I have two FreeNAS (both 11-2u1), first (Dell T130 - 16G ECC) is running the production and second (Dell T-110 ; 8G ECC) is for DR. Production is replicated to DR by ZFS replication tasks. Replication works as expected.
The fact that it works as expected includes that the replicated datasets on the DR NAS are read-only and do not even show when using "ls -alF" in the shell. When using "zfs mount" I see the "root" dataset that contains all the replicated ones, but not any of the "lower" replicated datasets. All datasets and snapshots are listed in the WebUI.
I understand why replicated datasets must be and stay read-only because they can be modified by ZFS replication anytime. Despite that, I thought that it should be possible for me to clone one of these replicated datasets and then to use the clone as I wish. Should the replicated snapshot used as a source be modified or deleted, the clone should survive as is. Unfortunately, it does not work like that.
Is there a way for me to clone a replicated dataset in the target system without breaking the entire replication ? Should that requires to actually re-copy all the data locally, I do have enough space for that despite it would be a waste of resources and would surely takes a long time.
The end goal is to use the DR instance for doing small scale data recovery instead of only complete failovers. Required services are run from the DR Docker Host and all they need is temporary access to the data.
As of now, when I try to clone one of these replicated datasets, FreeNAS complains that it can not mount them. Clones are created successfully but not mounted.
Any idea how should I proceed for that ?
Thanks for your help,
I have two FreeNAS (both 11-2u1), first (Dell T130 - 16G ECC) is running the production and second (Dell T-110 ; 8G ECC) is for DR. Production is replicated to DR by ZFS replication tasks. Replication works as expected.
The fact that it works as expected includes that the replicated datasets on the DR NAS are read-only and do not even show when using "ls -alF" in the shell. When using "zfs mount" I see the "root" dataset that contains all the replicated ones, but not any of the "lower" replicated datasets. All datasets and snapshots are listed in the WebUI.
I understand why replicated datasets must be and stay read-only because they can be modified by ZFS replication anytime. Despite that, I thought that it should be possible for me to clone one of these replicated datasets and then to use the clone as I wish. Should the replicated snapshot used as a source be modified or deleted, the clone should survive as is. Unfortunately, it does not work like that.
Is there a way for me to clone a replicated dataset in the target system without breaking the entire replication ? Should that requires to actually re-copy all the data locally, I do have enough space for that despite it would be a waste of resources and would surely takes a long time.
The end goal is to use the DR instance for doing small scale data recovery instead of only complete failovers. Required services are run from the DR Docker Host and all they need is temporary access to the data.
As of now, when I try to clone one of these replicated datasets, FreeNAS complains that it can not mount them. Clones are created successfully but not mounted.
Any idea how should I proceed for that ?
Thanks for your help,