Simple setup and I am not understanding ZFS's disk usage (or TrueNAS's reporting of it maybe?)
I have 1Tib of reserved space and then 4 zvols that are 12TiB each on a datastore that is 63.78TiB usable. My "Usage" graph in storage shows that I am using 77% of the space and is happy.
I put a chunk of data into each of these 4 zvols... the first zvol for example has 7TiB of data in it. If I do a single manual snapshot (no existing automatic or manual snapshots in the system at all before this) of this zvol my "Usage" graph jumps instantly from 77% to 88% and goes into the red.
So.... I thought the whole zfs snapshot idea was that you only "paid" for changes... yet a single snapshot in the system with 0 changes is charging me for 7TiB of additional space in the usage graph instantly.
When I look at 'zfs list -o space' it looks more logical to me and the usedsnap says '447K' for the zvol... but the "used" on it jumped from 12.0T to 18.9T also. (screenshot attached)
I ask all this because I have accidentally run that usage graph to 100% before and paid the price of restoring everything. I am not keen to do it again. :D
Thanks for any help/insight you folk can provide.
I have 1Tib of reserved space and then 4 zvols that are 12TiB each on a datastore that is 63.78TiB usable. My "Usage" graph in storage shows that I am using 77% of the space and is happy.
I put a chunk of data into each of these 4 zvols... the first zvol for example has 7TiB of data in it. If I do a single manual snapshot (no existing automatic or manual snapshots in the system at all before this) of this zvol my "Usage" graph jumps instantly from 77% to 88% and goes into the red.
So.... I thought the whole zfs snapshot idea was that you only "paid" for changes... yet a single snapshot in the system with 0 changes is charging me for 7TiB of additional space in the usage graph instantly.
When I look at 'zfs list -o space' it looks more logical to me and the usedsnap says '447K' for the zvol... but the "used" on it jumped from 12.0T to 18.9T also. (screenshot attached)
I ask all this because I have accidentally run that usage graph to 100% before and paid the price of restoring everything. I am not keen to do it again. :D
Thanks for any help/insight you folk can provide.