Periodic ZFS snapshots are no longer executed

Status
Not open for further replies.

newUser

Cadet
Joined
Jun 13, 2011
Messages
4
Hello,

I am running FreeNAS-8.0-RELEASE-amd64.
I configured one snapshot task with a lifetime of 4 months.

Since first of June, no snapshots are generated anymore.
Manual snapshots are working.

I reload the configuration via WebUI and reset the periodic snapshot task.
On commandline, it is the same. Only snapshots to May, 31st are shown.

Do you know if there is a maximum number of periodic snapshots? I configured it recursive and for a long time. So it is a very long list.
Or any other ideas? Which script configures this? May I debug it by running the python script manually?
How can I list the periodic snapshot tasks on command line?

Thanks
NewUser
 

newUser

Cadet
Joined
Jun 13, 2011
Messages
4
Hello again,

I needed some weeks, but could find the bug. I will post it in the bug area, too.

The autosnap.py script has a problem with date handling. (line 80)
If the last snapshot is from a 31st of a month, the calculation of snapshots to be destroyed will fail, because the next month does not have a 31st and the calender function just adds one month to the last date. (Could happen with february, too)

Just deleting the snapshots from the 31st will solve the problem, but in my case all automatically generated snapshots were automatically deleted. And I do not know why. Probably, because I changed the peridic snapshots.

Regards
NewUser
 
Status
Not open for further replies.
Top