Hello friends!
We have a proxmox backup server 2.4-1
We recently moved from one datastore to another with ZFS
We moved the chunks folder and changed the configuration settings, connected the datastore and it seemed that everything was ok, the tasks were saved, the namespaces were available. All backups/verifys/prunes are performed properly, but when starting the Garbage Collection, phase 1 “marked” is skipped/ignored(?) and immediately goes to phase 2 - “processed”, this did not happen before and the GC started from the first phase. After the start of the GC, 16% managed to complete and on a datastore of 37TB of data, about 6TB of data was deleted from the datastore, which can be seen on the dashboard. It looks like all data is being deleted from the datastore, 16% of 37TB ~ 6TB
After executing the prune, the logs show which backups are marked for keep
What do I need to do to restore the correct operation of the GC?
And what happens to the deleted data? Can I say goodbye to them?
this is an example of a prune log
Thanks!
We have a proxmox backup server 2.4-1
We recently moved from one datastore to another with ZFS
We moved the chunks folder and changed the configuration settings, connected the datastore and it seemed that everything was ok, the tasks were saved, the namespaces were available. All backups/verifys/prunes are performed properly, but when starting the Garbage Collection, phase 1 “marked” is skipped/ignored(?) and immediately goes to phase 2 - “processed”, this did not happen before and the GC started from the first phase. After the start of the GC, 16% managed to complete and on a datastore of 37TB of data, about 6TB of data was deleted from the datastore, which can be seen on the dashboard. It looks like all data is being deleted from the datastore, 16% of 37TB ~ 6TB
After executing the prune, the logs show which backups are marked for keep
What do I need to do to restore the correct operation of the GC?
And what happens to the deleted data? Can I say goodbye to them?
2023-11-04T09:44:30+05:00: starting garbage collection on store ds01
2023-11-04T09:44:30+05:00: Start GC phase1 (mark used chunks)
2023-11-04T09:44:30+05:00: Start GC phase2 (sweep unused chunks)
2023-11-04T10:01:59+05:00: processed 1% (191156 chunks)
2023-11-04T10:19:55+05:00: processed 2% (383124 chunks)
2023-11-04T10:39:00+05:00: processed 3% (575310 chunks)
2023-11-04T10:59:57+05:00: processed 4% (766738 chunks)
2023-11-04T11:23:52+05:00: processed 5% (957354 chunks)
2023-11-04T11:47:54+05:00: processed 6% (1146817 chunks)
2023-11-04T12:11:03+05:00: processed 7% (1335878 chunks)
2023-11-04T12:34:18+05:00: processed 8% (1524693 chunks)
2023-11-04T12:57:42+05:00: processed 9% (1713397 chunks)
2023-11-04T13:21:08+05:00: processed 10% (1903154 chunks)
2023-11-04T13:44:45+05:00: processed 11% (2092344 chunks)
2023-11-04T14:08:25+05:00: processed 12% (2281452 chunks)
2023-11-04T14:32:23+05:00: processed 13% (2469877 chunks)
2023-11-04T14:55:54+05:00: processed 14% (2659058 chunks)
2023-11-04T15:19:36+05:00: processed 15% (2848080 chunks)
2023-11-04T15:42:27+05:00: processed 16% (3036123 chunks)
2023-11-04T15:48:00+05:00: received abort request ...
2023-11-04T15:48:00+05:00: TASK ERROR: abort requested - aborting task
2023-11-04T09:44:30+05:00: Start GC phase1 (mark used chunks)
2023-11-04T09:44:30+05:00: Start GC phase2 (sweep unused chunks)
2023-11-04T10:01:59+05:00: processed 1% (191156 chunks)
2023-11-04T10:19:55+05:00: processed 2% (383124 chunks)
2023-11-04T10:39:00+05:00: processed 3% (575310 chunks)
2023-11-04T10:59:57+05:00: processed 4% (766738 chunks)
2023-11-04T11:23:52+05:00: processed 5% (957354 chunks)
2023-11-04T11:47:54+05:00: processed 6% (1146817 chunks)
2023-11-04T12:11:03+05:00: processed 7% (1335878 chunks)
2023-11-04T12:34:18+05:00: processed 8% (1524693 chunks)
2023-11-04T12:57:42+05:00: processed 9% (1713397 chunks)
2023-11-04T13:21:08+05:00: processed 10% (1903154 chunks)
2023-11-04T13:44:45+05:00: processed 11% (2092344 chunks)
2023-11-04T14:08:25+05:00: processed 12% (2281452 chunks)
2023-11-04T14:32:23+05:00: processed 13% (2469877 chunks)
2023-11-04T14:55:54+05:00: processed 14% (2659058 chunks)
2023-11-04T15:19:36+05:00: processed 15% (2848080 chunks)
2023-11-04T15:42:27+05:00: processed 16% (3036123 chunks)
2023-11-04T15:48:00+05:00: received abort request ...
2023-11-04T15:48:00+05:00: TASK ERROR: abort requested - aborting task
this is an example of a prune log
2023-11-03T18:00:00+05:00: prune job 's-acf028c4-eac7'
2023-11-03T18:00:00+05:00: task triggered by schedule '18:00'
2023-11-03T18:00:00+05:00: Starting datastore prune on datastore 'ds01', namespace 'AD', down to full depth
2023-11-03T18:00:00+05:00: retention options: --ns AD --keep-last 1 --keep-daily 5
2023-11-03T18:00:00+05:00: Pruning group AD:"vm/511"
2023-11-03T18:00:00+05:00: remove vm/511/2023-10-02T23:30:02Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-03T23:30:00Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-04T23:30:02Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-31T03:14:04Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-31T23:30:01Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-11-01T23:30:04Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-11-02T23:30:07Z
2023-11-03T18:00:00+05:00: TASK OK
2023-11-03T18:00:00+05:00: task triggered by schedule '18:00'
2023-11-03T18:00:00+05:00: Starting datastore prune on datastore 'ds01', namespace 'AD', down to full depth
2023-11-03T18:00:00+05:00: retention options: --ns AD --keep-last 1 --keep-daily 5
2023-11-03T18:00:00+05:00: Pruning group AD:"vm/511"
2023-11-03T18:00:00+05:00: remove vm/511/2023-10-02T23:30:02Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-03T23:30:00Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-04T23:30:02Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-31T03:14:04Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-10-31T23:30:01Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-11-01T23:30:04Z
2023-11-03T18:00:00+05:00: keep vm/511/2023-11-02T23:30:07Z
2023-11-03T18:00:00+05:00: TASK OK
Thanks!