unmounting datastore disk

tlex

Member
Mar 9, 2021
103
14
23
43
Good day,
I did follow this thread and created a Remote location that is actually local in order to be able to make a sync job to an external usb disk such as :

"Hi, the easiest way of doing that would be to create a Sync Job to a Remote (that is not actually a remote, let me explain).
You can do offsite-copies to other PBS Servers with the "Sync Job" feature for datastores. In this case we want to sync not to a different PBS server, but to our same server with a different (external) drive.

To do this, create a "Remote" in Configuration->Remotes that points to localhost. Then create a datastore on your external HDD, click on that newly created Datastore, go to "Sync Jobs", create a new sync job, choose the "Source Remote" you just created earlier that points to localhost and set "Source Datastore" to the Datastore you want to copy to that external drive."


This is working great but I was wondering if there is an easy way to unmount my usb disk once the sync job is completed ?
I tried with umount but I get : umount: /mnt/datastore/Passport4tb: target is busy.

Any idea or suggestions ?
 
you need stop pbs then umount then restart pbs
Code:
systemctl stop proxmox-backup-proxy.service proxmox-backup.service
umount /mnt/datastore/XXX
systemctl start proxmox-backup.service proxmox-backup-proxy.service
 
  • Like
Reactions: tlex

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!