I found a script to enter maintenance mode from internet:
> proxmox-backup-manager datastore update <datastore> --maintenance-mode offline
However, even with this commend, I cannot ummount the pool used by datastore with 'pool or dataset is busy' error.
When I checked with `lsof | grep <pool>`, I see lots of processes which open .lock file.
On the other hand, if I enter maintenance mode in web GUI, no problem occurs. I can unmount the pool immediately.
What is the difference?
And how can I disable the usage of datastore by script to unmount the used pool?
> proxmox-backup-manager datastore update <datastore> --maintenance-mode offline
However, even with this commend, I cannot ummount the pool used by datastore with 'pool or dataset is busy' error.
When I checked with `lsof | grep <pool>`, I see lots of processes which open .lock file.
On the other hand, if I enter maintenance mode in web GUI, no problem occurs. I can unmount the pool immediately.
What is the difference?
And how can I disable the usage of datastore by script to unmount the used pool?
Last edited: