SOLVED Periodic snapshot not working

Status
Not open for further replies.

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
Hi,

I am running the latest version of FreeNAS and have setup a periodic snapshot of a dataset, however, it does not appear to be happening. When I click on the snapshots tab there is nothing listed. I have attached a screen shot of the snapshot settings.

I was expecting it to take one snapshot a day at 3am and then keep it for a week. What am I doing wrong?

Thanks,
James.
 

Attachments

  • Screen Shot 2017-01-05 at 10.34.09 PM.png
    Screen Shot 2017-01-05 at 10.34.09 PM.png
    41.7 KB · Views: 558

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,477
Your settings look fine but can you give us a more detailed explanation about any error messages you see?

Also, where are you replicating to? Are you replicating locally or to a remote machine?
 

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
Your settings look fine but can you give us a more detailed explanation about any error messages you see?

Also, where are you replicating to? Are you replicating locally or to a remote machine?

Thanks for your quick reply!

I don't see any error messages anywhere, however, I am quite new to FreeNAS so is there somewhere I should be looking for this apart from in the console?

I am not replicating it remotely. Do I have to setup a local destination to replicate to separately?

Thanks,
James.
 

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
Your settings look fine but can you give us a more detailed explanation about any error messages you see?

Also, where are you replicating to? Are you replicating locally or to a remote machine?
Thanks for your quick reply!

I don't see any error messages anywhere, however, I am quite new to FreeNAS so is there somewhere I should be looking for this apart from in the console?

I am not replicating it remotely. Do I have to setup a local destination to replicate to separately?

Thanks,
James.

I do see the following message repeated in the log a couple of times. I am not sure if it is related.

Code:
Jan  4 03:00:30 FreeNAS01 afpd[31150]: read: Operation timed out
Jan  4 03:00:30 FreeNAS01 afpd[31150]: dsi_stream_read: len:-1, Operation timed out
Jan  4 03:00:30 FreeNAS01 afpd[31150]: dsi_stream_send: Broken pipe
Jan  4 03:00:30 FreeNAS01 afpd[31150]: dsi_wrtreply: Broken pipe
Jan  4 03:00:30 FreeNAS01 afpd[31150]: dsi_disconnect: entering disconnected state
Jan  4 03:00:30 FreeNAS01 afpd[31150]: dsi_disconnect: entering disconnected state

Jan  5 02:01:55 FreeNAS01 afpd[61112]: read: Operation timed out
Jan  5 02:01:55 FreeNAS01 afpd[61112]: dsi_stream_read: len:-1, Operation timed out
Jan  5 02:01:55 FreeNAS01 afpd[61112]: dsi_stream_send: Broken pipe
Jan  5 02:01:55 FreeNAS01 afpd[61112]: dsi_wrtreply: Broken pipe
Jan  5 02:01:55 FreeNAS01 afpd[61112]: dsi_disconnect: entering disconnected state
Jan  5 02:01:55 FreeNAS01 afpd[61112]: dsi_disconnect: entering disconnected state
 
Last edited by a moderator:

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
I do see the following message repeated in the log a couple of times. I am not sure if it is related.

Jan 4 03:00:30 FreeNAS01 afpd[31150]: read: Operation timed out
Jan 4 03:00:30 FreeNAS01 afpd[31150]: dsi_stream_read: len:-1, Operation timed out
Jan 4 03:00:30 FreeNAS01 afpd[31150]: dsi_stream_send: Broken pipe
Jan 4 03:00:30 FreeNAS01 afpd[31150]: dsi_wrtreply: Broken pipe
Jan 4 03:00:30 FreeNAS01 afpd[31150]: dsi_disconnect: entering disconnected state
Jan 4 03:00:30 FreeNAS01 afpd[31150]: dsi_disconnect: entering disconnected state

Jan 5 02:01:55 FreeNAS01 afpd[61112]: read: Operation timed out
Jan 5 02:01:55 FreeNAS01 afpd[61112]: dsi_stream_read: len:-1, Operation timed out
Jan 5 02:01:55 FreeNAS01 afpd[61112]: dsi_stream_send: Broken pipe
Jan 5 02:01:55 FreeNAS01 afpd[61112]: dsi_wrtreply: Broken pipe
Jan 5 02:01:55 FreeNAS01 afpd[61112]: dsi_disconnect: entering disconnected state
Jan 5 02:01:55 FreeNAS01 afpd[61112]: dsi_disconnect: entering disconnected state


It looks like these messages are related to a Time Machine share and are unrelated to the snapshot issue.

Does anyone have any ideas what could be causing the periodic snapshots not to happen? Manual snapshot work fine.

Thanks.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Does the time on the FreeNAS system match the local time?
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
Good find, thanks. This does sound like the issue I am experiencing. I have not had any snapshots configured prior to 9.10.2 so I can not verify that they were working before the update but, they are not working on 9.10.2.

Vaibhav Chauhan said "... have reverted 79bd0e586281a7fbb1f0f6b95e4ddbd39a94cf5e which should fix the issue." He also has changed the status to "Ready for Release". Does anyone have an idea of when this update may be released?

Thanks.
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,477
@JaMu
Do you have an overly complicate setup? Depending on how important this is to you, you could just install an older version of FreeNAS and see if you don't encounter any errors.

By "do you see any errors" I meant on the replication tab of the GUI. What message does it say there?
 

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
@MrToddsFriends
Thanks for the info, I guess I'll expect it in the first half of Feb but hope for it sooner.

@nojohnny101
My setup is fairly straight forward but I will probably just wait for the update. Out of interest, if I wanted to rollback to the previously installed version couldn't I just activate it from the System->Boot menu? There are no messages under the replication tab, it is completely empty. The only thing it says, right at the top, is "ATTENTION: A periodic snapshot of a given ZFS Volume/Dataset is required to create a replication task"

Just out of interest, are there many others out there that are experiencing this bug?

Thank you all for your help.
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
Just out of interest, are there many others out there that are experiencing this bug?

Not all users that have automatic snapshots configured in 9.10.2 are affected. It seems to depend on the schedule itself if snapshots are executed delayed or not at all. On my system, all snapshots and replications are executed 31min late, which isn't troublesome for me (6:31/12:31/18:31 instead of 6:00/12:00/18:00).

Some of my snapshot configuration details:
Begin: 06:00:00
End: 23:00:00
Interval: 6 hours
 

Johan H

Dabbler
Joined
Jan 27, 2013
Messages
11
I also got this problem... First discovered on a fresh installed system, that immediately was updated to 9.10.2 before configuration. I spent hours and hours trying to get the snapshots working.

After finding this thread, I also checked my three other systems that recently was updated to 9.10.2.
Snapshots has stopped working on all of them.

How do I revert to the previous version of FreeNAS? I can't wait for the bugfix (mid Feb)..

If I go to "System/Boot" on my last installed system, I can select "Initial-Install" and "Activate".
If I do this, will the system boot the older version then?
No problem with config files etc?
Never had to use this "revert to older version" function before, just want to be sure.

Thanks.
 
Last edited by a moderator:
Joined
Dec 2, 2015
Messages
730
Don't give up on 9.10.2 yet.

The snapshots on my upgraded system had also stopped working. I eventually deleted those periodic snapshot tasks, and made new ones. The new periodic snapshot tasks are working correctly.
 

Johan H

Dabbler
Joined
Jan 27, 2013
Messages
11
That's not the situation on my systems. They don't work, even if recreated. Some of the systems shapshots are also way to many and complex to just reconfigure "just for testing".

Anyone that could confirm on how to revert to older version, without losing any settings/data/etc?
 

JaMu

Dabbler
Joined
Jul 31, 2016
Messages
30
9.10.2-U1 has now been released. I have just updated and created a test periodic snapshot, it worked as expected. I appears that this bug has been resolved in 9.10.2-U1.
 

nathcomp

Dabbler
Joined
Apr 7, 2017
Messages
13
Hello,

Please, what is last status?

Is repaired the creating of snapshots?

Because I am using this build:

FreeNAS-9.10.2-U2 (e1497f2)

And I have exactly same problem as author.

Martin
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Snapshots and replication are working normally for everyone, as far as I've seen.
 
Status
Not open for further replies.
Top