Changing Maintenance Mode to Offline

Jul 20, 2022
117
5
18
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
 
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.
 

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!