Rclone mount on OpenBSD supported?

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Command mount not available and nfsmount raises error message

Run the command 'rclone version' and share the full output of the command.

rclone v1.69.1-DEV

  • os/version: openbsd 7.7 (64 bit)
  • os/kernel: 7.7 (amd64)
  • os/type: openbsd
  • os/arch: amd64
  • go/version: go1.24.1
  • go/linking: dynamic
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone nfsmount USR:DIR /home/onedrive/DIR

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[USR]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business

A log from the command that you were trying to run with the -vv flag

2025/05/31 23:17:00 DEBUG : rclone: Version "v1.69.1-DEV" starting with parameters ["rclone" "nfsmount" "USR:DIR" "/home/onedrive/DIR" "-vv"]
2025/05/31 23:17:00 DEBUG : Creating backend with remote "USR:DIR"
2025/05/31 23:17:00 DEBUG : Using config file from "/home/onedrive/.config/rclone/rclone.conf"
2025/05/31 23:17:01 DEBUG : OneDrive root 'USR': Next delta token is: NDslMjM0OyUyMzE7MzsyYjA4ZWNjMC1kNjE0LTRjNWUtYWQzYy0yNjk3Mzc2OThkYjQ7NjM4ODQzMjMwMTgwOTMwMDAwOzY2ODg4OTcxOTslMjM7JTIzOyUyMzA7JTIz
2025/05/31 23:17:01 NOTICE: OneDrive root 'USR': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2025/05/31 23:17:01 WARNING: context.Background: NFS writes don't work without a cache, the filesystem will be served read-only
2025/05/31 23:17:01 DEBUG : nfs: Starting memory handle cache
2025/05/31 23:17:01 DEBUG : Running mount command: ["mount" "-o" "port=33945" "-o" "mountport=33945" "-o" "tcp" "localhost:USR DIR" "/home/onedrive/DIR"]
2025/05/31 23:17:01 NOTICE: NFS Server running at 127.0.0.1:33945
2025/05/31 23:17:01 CRITICAL: Fatal error: failed to mount FUSE fs: mount_nfs: -o mountport: option not supported: failed to mount NFS volume: exit status 1

Ok, the current mount_nfs call in rclone/cmd/nfsmount/nfsmount.go seems to be incompatible with OpenBSD / FreeBSD. May be topic should be moved into category Suspected Bug.

first, should update rclone and test again.

I updated already to 1.69.3.

Issue filed on GitHub: “rclone nfsmount” uses mount_nfs incompatible with BSD Unix · Issue #8578 · rclone/rclone

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.