Oscar del Rio <del...@mie.utoronto.ca> writes:

> On 2022-06-07 1:36 p.m., I wrote:
>> On 2022-06-06 3:59 p.m., hput via openindiana-discuss wrote:
>>> Any way to set the pace of snaps myself? It appears that its set to
>>> do 24 hourly snaps a day which for my use is about %90 more than I
>>> need or want.  In fact 2 per day would be about right for me.
>>
>> Check:
>>
>> # svcprop auto-snapshot:hourly
>> zfs/interval astring hours
>> zfs/keep astring 23
>> zfs/period astring 1
>>
>> Change:
>>
>> # svccfg -s auto-snapshot:hourly setprop zfs/keep=2
>> # svccfg -s auto-snapshot:hourly setprop zfs/period=8
>>
>
> I forgot to add "refresh"
>
> # svcadm refresh auto-snapshot:hourly

Thank you sir.  I see the difference after the above mentioned
refresh . . .

 svcprop auto-snapshot:hourly 2>&1|tee |egrep 'zfs/(interval|keep 
astring|period astring)'

Now outputs:

 # svcprop auto-snapshot:hourly 2>&1|tee |egrep 'zfs/(interval|keep 
astring|period astring)'
     zfs/interval astring hours
     zfs/keep astring 2
     zfs/period astring 8

So we're now doing 3 snaps per day?
But keeping only 2?

So one is removed every day?


 



_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to