Can't stop sync task

Oct 7, 2019
793
323
108
Spain
I have a PBS on which there's a sync task running and I would like to stop it, but PBS just does nothing when I try to stop it and the task keeps running. The sync is local in the same server, as part of moving data to another datastore/zfs dataset. The disk are all HDD without any vDev.

The log looks like this:

Code:
2022-10-18T14:09:01+02:00: Starting datastore sync job '[edited]'
2022-10-18T14:09:01+02:00: task triggered by schedule 'hourly'
2022-10-18T14:09:01+02:00: sync datastore '[edited]' from '[edited]'
2022-10-18T14:09:01+02:00: ----
2022-10-18T14:09:01+02:00: Syncing datastore 'VMs', root namespace into datastore '[edited]', namespace '[edited]'
2022-10-18T14:09:43+02:00: found 1 groups to sync (out of 22 total)
2022-10-18T14:09:45+02:00: re-sync snapshot vm/1010/2021-09-05T01:00:49Z
2022-10-18T14:09:45+02:00: no data changes
2022-10-18T14:09:45+02:00: re-sync snapshot vm/1010/2021-09-05T01:00:49Z done
2022-10-18T14:09:45+02:00: percentage done: 1.41% (4/283 snapshots)
2022-10-18T14:09:45+02:00: re-sync snapshot vm/1010/2021-09-12T01:00:48Z
2022-10-18T14:09:45+02:00: sync archive drive-scsi1.img.fidx
2022-10-18T14:09:47+02:00: downloaded 10743983 bytes (6.60 MiB/s)
2022-10-18T14:09:47+02:00: sync archive drive-scsi0.img.fidx
2022-10-18T14:10:02+02:00: downloaded 249647631 bytes (16.03 MiB/s)
2022-10-18T14:10:02+02:00: got backup log file "client.log.blob"
2022-10-18T14:10:02+02:00: re-sync snapshot vm/1010/2021-09-12T01:00:48Z done
2022-10-18T14:10:02+02:00: percentage done: 1.77% (5/283 snapshots)
2022-10-18T14:10:02+02:00: sync snapshot vm/1010/2021-09-19T01:00:47Z
2022-10-18T14:10:02+02:00: sync archive qemu-server.conf.blob
2022-10-18T14:10:02+02:00: sync archive drive-scsi1.img.fidx
2022-10-18T14:18:11+02:00: received abort request ...

Eventually, the 2022-10-18T14:18:11+02:00: received abort request ... just dissapears and another snapshot starts to sync. Meanwhile the task is going on, as I see more data being copied into the new dataset.

Is there any way to forcibilly stop the task besides restarting services/rebooting the server?

Thanks.
 
Last edited:
It took like 35 minutes to stop, but finally did. Seems as if the task has to reach a given point to be able to stop properly. Some feedback about this in the GUI and/or/ CLI would be nice.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!