I have read a lot about disabling the ZIL (or setting Sync=disabled) on a particular dataset, and from what I understand when this is done, Data is written into RAM, and if a power failure or system crash were to occur, data would be lost.
My question is, if we were taking automatic snapshots every x minutes, and this situation arose, could we simply revert to a previous snapshot, and loose any possible data corruption.
We would be running NFS on top of ZFS servicing ESXI hosts.
We use ZeusRam at present, for our Log, in most cases, but there are certain systems where loosing 5 minutes would not be an issue, we just would not want corruption.
All of our kit is on UPS and Generators, crashes could still be an issue though!
I have read lots, but can't seem to get to the bottom of whether actual corruption would occur.
Is it true to say data is written into RAM, then written to disks at leisure? Or does it happen fairly quickly? i.e is worst case loosing 5 minutes if power loss occurs or crash as bad as it will get?
I guessed maybe that the data gets written from memory to disk based upon a tuneable?
If so do snapshots force this commit from memory to spinning disks when the LOG is disabled?
Thanks in advance.
My question is, if we were taking automatic snapshots every x minutes, and this situation arose, could we simply revert to a previous snapshot, and loose any possible data corruption.
We would be running NFS on top of ZFS servicing ESXI hosts.
We use ZeusRam at present, for our Log, in most cases, but there are certain systems where loosing 5 minutes would not be an issue, we just would not want corruption.
All of our kit is on UPS and Generators, crashes could still be an issue though!
I have read lots, but can't seem to get to the bottom of whether actual corruption would occur.
Is it true to say data is written into RAM, then written to disks at leisure? Or does it happen fairly quickly? i.e is worst case loosing 5 minutes if power loss occurs or crash as bad as it will get?
I guessed maybe that the data gets written from memory to disk based upon a tuneable?
If so do snapshots force this commit from memory to spinning disks when the LOG is disabled?
Thanks in advance.