Snapshots created by Periodic Snapshot Task are not created.

ArchatParks

Dabbler
Joined
Feb 8, 2022
Messages
28
  • Lets say I go to Data Protection > Periodic Snapshot Tasks
  • I set up a snapshot.
  • I sent it to go off once and day and the next one to happen ten minutes from now.
  • Twenty minutes go by and a day goes by (just to see if one or the other didn't work).
  • If I click on the datasets tab > Manage datasets, then "Manage Snapshots" under "Data Protection" there are no snapshots created.
  • Bug report is filed.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Does the status show as Finished on that task? (maybe you need to show the status column)
 

ArchatParks

Dabbler
Joined
Feb 8, 2022
Messages
28
Nope...it never changes off of "pending". Lets say I set it for 11:00AM today, if you keep clicking refresh, "Periodic Snapshot Tasks " it will count down until 11:00AM (the time for it to fire) then changes to the next day but nothing happens (no snapshots are created).
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
OK, so checking if the snapshots are there is kind of redundant then...

Have you created a fresh task? and what schedule (and other settings) have you set exactly? (maybe a screenshot would help).
 

ArchatParks

Dabbler
Joined
Feb 8, 2022
Messages
28
They were freshly created tasks but I just deleted them all and started all over.

I have three screen shots attached:
1. TruenasCapture_task-create.PNG - shows me creating a brand new task set to go off at 1:10PM (shoudl have all the settings).
2. TruenasCapture_task-menu-after-create1-107PM.PNG - shows the menu at 1:07PM just after I created the task.
3. TruenasCapture_task-menu-after-running-112PM.PNG - shows the menu at 1:12PM just after I created the task.
 

Attachments

  • TruenasCapture_task-menu-after-running-112PM.PNG
    TruenasCapture_task-menu-after-running-112PM.PNG
    22.9 KB · Views: 122
  • TruenasCapture_task-menu-after-create1-107PM.PNG
    TruenasCapture_task-menu-after-create1-107PM.PNG
    19.6 KB · Views: 125
  • TruenasCapture_task-create.PNG
    TruenasCapture_task-create.PNG
    24.6 KB · Views: 113

somethingweird

Contributor
Joined
Jan 27, 2022
Messages
183
How much data is in the pool? Just wondering - I'm assuming the first one is going to take a lot more time then the rest..
 

ArchatParks

Dabbler
Joined
Feb 8, 2022
Messages
28
Also, I noticed that, as soon as I create a task, the file /var/db/system/syslog-53179c7b52fa4a339b6bdedf76998629/log/syslog shows a bunch of errors (may be a coincidence).

Sep 27 13:05:32 trurnasrocks middlewared[161459]: Unhandled exception during zettarepl startup

Sep 27 13:05:32 trurnasrocks middlewared[161459]: Traceback (most recent call last):

Sep 27 13:05:32 trurnasrocks middlewared[161459]: File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 151, in __call__

Sep 27 13:05:32 trurnasrocks middlewared[161459]: move_to_root_cgroups(os.getpid())

Sep 27 13:05:32 trurnasrocks middlewared[161459]: File "/usr/lib/python3/dist-packages/middlewared/utils/cgroups.py", line 8, in move_to_root_cgroups

Sep 27 13:05:32 trurnasrocks middlewared[161459]: with open(f"/sys/fs/cgroup/cgroup.procs", "w") as f2:

Sep 27 13:05:32 trurnasrocks middlewared[161459]: OSError: [Errno 30] Read-only file system: '/sys/fs/cgroup/cgroup.procs'

Sep 27 13:05:38 trurnasrocks middlewared[161468]: Unhandled exception during zettarepl startup

Sep 27 13:05:38 trurnasrocks middlewared[161468]: Traceback (most recent call last):

Sep 27 13:05:38 trurnasrocks middlewared[161468]: File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 151, in __call__

Sep 27 13:05:38 trurnasrocks middlewared[161468]: move_to_root_cgroups(os.getpid())

Sep 27 13:05:38 trurnasrocks middlewared[161468]: File "/usr/lib/python3/dist-packages/middlewared/utils/cgroups.py", line 8, in move_to_root_cgroups

Sep 27 13:05:38 trurnasrocks middlewared[161468]: with open(f"/sys/fs/cgroup/cgroup.procs", "w") as f2:

Sep 27 13:05:38 trurnasrocks middlewared[161468]: OSError: [Errno 30] Read-only file system: '/sys/fs/cgroup/cgroup.procs'

Sep 27 13:06:23 trurnasrocks middlewared[161490]: Unhandled exception during zettarepl startup

Sep 27 13:06:23 trurnasrocks middlewared[161490]: Traceback (most recent call last):

Sep 27 13:06:23 trurnasrocks middlewared[161490]: File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 151, in __call__

Sep 27 13:06:23 trurnasrocks middlewared[161490]: move_to_root_cgroups(os.getpid())

Sep 27 13:06:23 trurnasrocks middlewared[161490]: File "/usr/lib/python3/dist-packages/middlewared/utils/cgroups.py", line 8, in move_to_root_cgroups

Sep 27 13:06:23 trurnasrocks middlewared[161490]: with open(f"/sys/fs/cgroup/cgroup.procs", "w") as f2:

Sep 27 13:06:23 trurnasrocks middlewared[161490]: OSError: [Errno 30] Read-only file system: '/sys/fs/cgroup/cgroup.procs'

Sep 27 13:07:04 trurnasrocks middlewared[161530]: Unhandled exception during zettarepl startup

Sep 27 13:07:04 trurnasrocks middlewared[161530]: Traceback (most recent call last):

Sep 27 13:07:04 trurnasrocks middlewared[161530]: File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 151, in __call__

Sep 27 13:07:04 trurnasrocks middlewared[161530]: move_to_root_cgroups(os.getpid())

Sep 27 13:07:04 trurnasrocks middlewared[161530]: File "/usr/lib/python3/dist-packages/middlewared/utils/cgroups.py", line 8, in move_to_root_cgroups

Sep 27 13:07:04 trurnasrocks middlewared[161530]: with open(f"/sys/fs/cgroup/cgroup.procs", "w") as f2:

Sep 27 13:07:04 trurnasrocks middlewared[161530]: OSError: [Errno 30] Read-only file system: '/sys/fs/cgroup/cgroup.procs'
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I am seeing a lot of reference to read only filesystem. Is that dataset read only?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Sounds like a case of needing to report a bug so it can be sorted out then. Although I see you already did that... please post the link to it here if possible.
 
Top