Failed to delete snapshot

Status
Not open for further replies.

my95z34

Explorer
Joined
Oct 25, 2014
Messages
51
So, over the last couple weeks, I've noticed this output in my logs (http://pastebin.com/KQd2AsfW).

Only my jails dataset is having the error. It just keeps saying that it failed to delete snapshot. Any idea what would have caused this?

Currently running FreeNAS-9.3-STABLE-201509160044

Thanks in advance!
 

saurav

Contributor
Joined
Jul 29, 2012
Messages
139
I had this same issue with the same release. I noticed that it was complaining about stale snapshots created by the previous version *during replication*. I wasn't sure if it was having issues with deleting local or remote snapshots. At that point I didn't have the time to look more closely, so I just turned off replication to avoid getting flooded with critical alert mails.

Later when I turned replication back on, it was successful! I guess once it removed local stale snapshots created by the previous version it was able to carry on with replicating the newer ones.
 

my95z34

Explorer
Joined
Oct 25, 2014
Messages
51
I had this same issue with the same release. I noticed that it was complaining about stale snapshots created by the previous version *during replication*. I wasn't sure if it was having issues with deleting local or remote snapshots. At that point I didn't have the time to look more closely, so I just turned off replication to avoid getting flooded with critical alert mails.

Later when I turned replication back on, it was successful! I guess once it removed local stale snapshots created by the previous version it was able to carry on with replicating the newer ones.
I actually don't have any replication on. =\
 

my95z34

Explorer
Joined
Oct 25, 2014
Messages
51
Also, just noticed the same error on my moms server.

Code:
Sep 23 13:00:05 bsymommie autosnap.py: [tools.autosnap:323] Failed to destroy snapshot 'volume_1/jails/transmission_2@auto-20150921.1300-2d': could not find any snapshots to destroy; check snapshot names.
Sep 23 13:30:03 bsymommie autosnap.py: [tools.autosnap:323] Failed to destroy snapshot 'volume_1/users/tonya@auto-20150916.1330-1w': could not find any snapshots to destroy; check snapshot names.



And I apparently cannot update it either....

Code:
Sep 23 13:30:39 bsymommie updated.py: [freenasOS.Update:1109] Cannot destroy BE FreeNAS-9.3-STABLE-201509220011 which is necessary for upgrade
Sep 23 13:30:39 bsymommie updated.py: [freenasOS.Update:1118] Unable to mount boot-environment FreeNAS-9.3-STABLE-201509220011
Sep 23 13:30:41 bsymommie manage.py: [middleware.exceptions:38] [MiddlewareError: Unable to mount boot-environment FreeNAS-9.3-STABLE-201509220011]


wtf is going on here? o_O
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874

biGdada

Dabbler
Joined
Oct 24, 2012
Messages
44
i think i am experiencing the same. i have a pereodic snapshot task set to run once a day. snapshots are created as expected but i get alot of error messages alog the lines of "could not find any snapshots to destroy; check snapshot names.", trying to delete the oldest snapshot.
for example, today i got:

Code:
Oct 12 01:30:06 freenas autosnap.py: [tools.autosnap:71] Popen()ing: /sbin/zfs destroy -r -d "vol_main/users@auto-20151005.0000-7d"
Oct 12 01:30:06 freenas autosnap.py: [tools.autosnap:323] Failed to destroy snapshot 'vol_main/users@auto-20151005.0000-7d': could not find any snapshots to destroy; check snapshot names.

any idea how to solve this?
 
Status
Not open for further replies.
Top