Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
What determines the size of a snapshot?
« previous
next »
Print
Pages: [
1
]
Author
Topic: What determines the size of a snapshot? (Read 149 times)
beneix
Newbie
Posts: 47
Karma: 2
What determines the size of a snapshot?
«
on:
November 13, 2024, 01:07:45 pm »
I have a series of snapshots going back to 24.7.1. Their sizes vary greatly, and I would like to understand why and if there is anything I can do to influence the size.
Logged
OPNsense 24.7.7-amd64 on APU2E4 using ZFS
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1553
Karma: 172
Re: What determines the size of a snapshot?
«
Reply #1 on:
November 13, 2024, 01:11:51 pm »
The delta is your current active zfs pool vs the snapshot zfs pool for each of these snapshots.
Try marking a different one as active and you will see all values change to the delta of the new active one.
So the more files change the larger they get over time.
Logged
Hardware:
DEC740
beneix
Newbie
Posts: 47
Karma: 2
Re: What determines the size of a snapshot?
«
Reply #2 on:
November 13, 2024, 01:24:31 pm »
Quote from: Monviech (Cedrik) on November 13, 2024, 01:11:51 pm
So the more files change the larger they get over time.
Thanks, but looking at my list the size goes 903M -> 3.67G -> 1.17G -> 804M in date order from 30/8 to 27/10. That doesn't constitute a constant increase. Is this because updates replace some larger files with smaller ones? I have not made any configuration changes of my own between these snapshots.
Logged
OPNsense 24.7.7-amd64 on APU2E4 using ZFS
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1553
Karma: 172
Re: What determines the size of a snapshot?
«
Reply #3 on:
November 13, 2024, 01:34:57 pm »
The delta is always to your current active zpool.
These snapshots are not incremental and not in a chain relationship to each other, they are differential.
Some of them replace a lot of files and the kernel so the delta will be larger than for others.
Also I think a lot of logging will inflate them too. Keeping them around too long will make you run out of space eventually.
«
Last Edit: November 13, 2024, 01:37:27 pm by Monviech (Cedrik)
»
Logged
Hardware:
DEC740
Patrick M. Hausen
Hero Member
Posts: 6742
Karma: 568
Re: What determines the size of a snapshot?
«
Reply #4 on:
November 13, 2024, 01:37:11 pm »
And they are on the ZFS block and not on the file level.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
What determines the size of a snapshot?