Rclone mount - Share drive on LAN

What is the problem you are having with rclone?

When booting the server the mount is issued but every time the network share is lost.
I have to remember to share it manually
Are there any option to tell the mount to share in the local network? I know there's a network flag but this mount directly as a network share and not a labeled drive. correct?

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

rclone v1.62.2

  • os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
  • os/kernel: 10.0.22621.1992 Build 22621.1992.1992 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: cmount

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

Dropbox business

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

"N:\rclone\rcloneMount.exe" mount MediaDB: I: ^
--use-mmap ^
--drive-chunk-size 128M ^
--vfs-cache-mode full ^
--vfs-cache-max-size 2G ^
--log-level NOTICE ^
--log-file="n:\rclone\rcloneMount mount.log" ^

The rclone config contents with secrets removed.

type = dropbox
token = {"access_token":"sl.BiFign5u-xxxxxxxxxxxxxxxxxxxxxxxxxx-GVgljFRJF84_pV-xxxxxxxxxxxxxxxxxx-RQteP-lT3tPBwGMpsNjjKw0YFSGpNWr3DOKaHMykmpi","token_type":"bearer","refresh_token":"xxxxxxxxxxxxxxxxxxxx","expiry":"xxxxxxxxxxxxxxxxxxxxx"}
client_id = xxxxxxxxxxxxxxxxxxxxx
client_secret = xxxxxxxxxxxxxxxxx

type = crypt
remote = Dropbox:Media
password = xxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxx
password2 = xxxxx-JE_MOYcrQ-xxxxxxxxxxxxxxxx
filename_encoding = base32768

A log from the command with the -vv flag

Use PowerShell to create share after mount, e.g.:

And run it after rclone mount

Tell me if I'm wrong..
I've a bat launched thru nssm at system start with the command in top post.
When running the bat the mount commad is launched but the next operation is not issued until the mount command exit..
Am I missing something?

You are perfectly correct. I have never suggested it:)

I am not Windows person but for sure you can configure multiple services and make share service to start after mount service.

Services can depend one on another. So for example you configure serviceB to start only after successful start of serviceA. Exact windows command syntax you can google.

This is a great suggestion...
I'll try! ty

Rclone mount - Share drive on LAN

have you seen my post?

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