Stale snapshots not deleted by snapshot task in 9.3.1

Status
Not open for further replies.

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
Since I updated to 9.3-STABLE-201508250051 on 25/8/15 none of my (one day lifetime, obviously) expired snapshots have been deleted. I have six snapshot tasks on six different datasets, and 5 of them generate hourly snapshots expiring in one day. None of the daily snapshots taken since I updated to 9.3.1 on the morning of the 25th have expired.

I have been looking at some problems with replication, and briefly reverted to the previous boot snapshot, so I don't know if this is a general problem or related to something I've done. I'd be very grateful if anyone else with one day life snapshots who has updated more than 24 hours ago could check if the same is happening to them before I report it.
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
No-one got any short life snapshot tasks that they could check on in 9.3.1?

Edit: anyone using 9.3.1 want to set up an every 15 minute snapshot task on a small dataset, to expire in 1 hour, and see if they are deleted after an hour?
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I'll be updating this weekend and can check afterwards
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I'm away from the server, but I'll try to check tomorrow. If KSP doesn't suck me in. Little green men won't get to space if someone doesn't run their space program.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Just got done updating and my snapshot task is working as expected.
Code:
Aug 29 19:00:01 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs snapshot "RAIDZ2_1/jails/portnginx@auto-20150829.1900-3d"
Aug 29 19:00:01 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs get -H freenas:state "RAIDZ2_1/jails/portnginx@auto-20150826.1900-3d"
Aug 29 19:00:01 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs destroy -r -d "RAIDZ2_1/jails/portnginx@auto-20150826.1900-3d"
 

rogerh

Guru
Joined
Apr 18, 2014
Messages
1,111
Just got done updating and my snapshot task is working as expected.
Code:
Aug 29 19:00:01 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs snapshot "RAIDZ2_1/jails/portnginx@auto-20150829.1900-3d"
Aug 29 19:00:01 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs get -H freenas:state "RAIDZ2_1/jails/portnginx@auto-20150826.1900-3d"
Aug 29 19:00:01 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs destroy -r -d "RAIDZ2_1/jails/portnginx@auto-20150826.1900-3d"
I'm beginning to think that it is only snapshots that have been operated on by the new replication task that aren't being deleted, because my snapshot tasks have started deleting '1w' snapshots that were replicated before 9.3.1. But I don't want to jump to conclusions and I have neither the skills nor the time to work out what precisely is happening. Are your snapshots being replicated?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
No they are not.
 
Status
Not open for further replies.
Top