How to Mount Synology NFS Share on Proxmox Backup Server
Synology DSM: 6.2.4-25556 Update 3, with BTRFS volume (required) [1.2.3.4]
Proxmox Backup Server: 2.1-1 [1.2.3.5]
On Synology
- Create a Shared Folder named
xxxx
on a BTRFS Volume (in this case, volume1), and give the useradmin
Read/Write permission. - In the NFS Permissions tab, set:
- Privilege: Read/Write
- Squash: No mapping
- Security: sys
- Enabled Async: checked
- Allow Connections: unchecked
- Allow Subfolders: checked
On PBS
-
Create and mount
xxxx
: -
Add a Datastore named
xxxx
using the Backing path:/mnt/xxxx
- Open/Refresh the Datastore page (you should see Error 13 on
xxxx
). -
Unmount
xxxx
:
Back on Synology
- Open Shared Folder
xxxx
, go to NFS Permissions, and change Squash to: Map all users toadmin
. - Browse to
xxxx
and delete the.lock
file.
Back on PBS
-
Remount
xxxx
: -
Open/Refresh the Datastore page (Error 13 should clear).
-
Perform a host backup on a Proxmox Node to verify (e.g., backup the
/etc
folder which is usually small). This assumes you've already connected the Node to PBS (add Cluster Storage PBS Server).
Notes
@grantph:
"I suspect this process highlights a bug in PBS datastore creation. It requires backup
uid/gid 34:34 to create the .chunks
folders but seems to prefer root
after creation (for the UI and client backups). It wasn't necessary to create a backup
user on Synology; that just led to uid/gid headaches."