Changing Maintenance Mode to Offline

EllyMae

Member
Jul 20, 2022
133
10
23
When I try to take a datastore offline in Options, it shows that there are several other "conflicting" tasks when there are no active tasks on the datastore. When I first changed the Option, there were a few more than this, but the number decreased, and seems to be stuck now.
Screenshot from 2023-10-01 10-28-07.png
 
  • Like
Reactions: Quim Roscas
what does 'proxmox-backup-manager task list' show?
 
Hey,

could you post the output of ps ax | grep proxy and cat /run/proxmox-backup/active-operations/<ds-name>? What was the last task that ran on the datastore? You can either systemctl restart proxmox-backup-proxy.service, or delete /run/proxmox-backup/active-operations/<ds-name> and /run/proxmox-backup/active-operations/<ds-name>.lock, both will clear the active operations tracking and should fix your problem.
 
Sorry, I'll have to get back to you after another month. This is a once-a-month thing where I (PBS) sync a datastore for off-site backup.

Thanks for the work-around, though.

I tried to umount the datastore device in question, even with the -f option, but it always said that the device was busy. So I went to the PVE VM config (PBS is running in a VM) and forcibly "unplugged" its USB definition. This was after I issued the sync command in both PBS and PVE.