Hi all,
I'm new to TrueNAS and I'm trying to understand somethings about how it handles snapshots. I have read a few things on here and in the OpenZFS docs but it still leaves me a bit confused.
My first question is: At what level is snapshot data stored? I assume the answer would be either at the pool or dataset level but its not been clear to me.
Question 2: How do I reserve space for storage of snapshots for a specific zvol/dataset? I I want to have space allocated so that snapshots dont overflow into the usable data space of the zvol/dataset. In NetApp terminology they would call this Snapshot Reserve, but I'm not sure what its called in TrueNAS and how its configured. In my case the goal would be to reserve space equal to the size of the actual zvol/dataset file system max capacity. The reason for doing this would be so that no matter how much change happens there would always be enough room to keep at least one snapshot. I recognize this is a very unlikely scenario in most cases but in my case I absolutely positively don't want to lose the ability to have at least one recoverable snapshot at all times.
Question 3: How does TrueNas handle things when space available for Snapshots is full? Typically most vendors seem to have an option to delete older snaps to make space for new ones or just stop taking snaps once it runs out of space to preserve access to data. If TrueNas has both of these options then how do I configure them?
Appreciate any replies received...
Thanks,
pricemc1
I'm new to TrueNAS and I'm trying to understand somethings about how it handles snapshots. I have read a few things on here and in the OpenZFS docs but it still leaves me a bit confused.
My first question is: At what level is snapshot data stored? I assume the answer would be either at the pool or dataset level but its not been clear to me.
Question 2: How do I reserve space for storage of snapshots for a specific zvol/dataset? I I want to have space allocated so that snapshots dont overflow into the usable data space of the zvol/dataset. In NetApp terminology they would call this Snapshot Reserve, but I'm not sure what its called in TrueNAS and how its configured. In my case the goal would be to reserve space equal to the size of the actual zvol/dataset file system max capacity. The reason for doing this would be so that no matter how much change happens there would always be enough room to keep at least one snapshot. I recognize this is a very unlikely scenario in most cases but in my case I absolutely positively don't want to lose the ability to have at least one recoverable snapshot at all times.
Question 3: How does TrueNas handle things when space available for Snapshots is full? Typically most vendors seem to have an option to delete older snaps to make space for new ones or just stop taking snaps once it runs out of space to preserve access to data. If TrueNas has both of these options then how do I configure them?
Appreciate any replies received...
Thanks,
pricemc1