I'm not able to mount a folder, but rclone is working

What is the problem you are having with rclone?

I'm not able to mount my remote NAS, and cannot see the mounted folder on OSX finder.
However the rclone command works, so for example:

 ~/ rclone lsd magnum:/                                                                                  
          -1 2021-03-07 22:21:51        -1 docker
          -1 2021-03-11 22:36:25        -1 home
          -1 2021-02-16 01:10:43        -1 homes
          -1 2021-02-17 09:21:33        -1 media
          -1 2021-03-15 12:02:08        -1 pictures
          -1 2021-02-28 18:10:03        -1 shared
          -1 2021-01-30 15:35:04        -1 usbshare1
          -1 2021-01-31 16:57:41        -1 usbshare2
          -1 2021-02-06 15:18:21        -1 www 

What is your rclone version (output from rclone version)

 ~/ rclone version 
rclone v1.54.1
- os/arch: darwin/amd64
- go version: go1.16

Which OS you are using and how many bits (eg Windows 7, 64 bit)

OSX Big Sur 11.2.3

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

I'm using a Synology DS 1821+ over sftp

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

rclone mount magnum:/ magnum --volname magnum --vfs-cache-mode full --daemon  

The rclone config contents with secrets removed.

 ~/ cat .config/rclone/rclone.conf
[magnum]
type = sftp
host = 192.168.1.2
user = fabio
port = 22
pass = xxx
key_file_pass = xxx
md5sum_command = none
sha1sum_command = none

A log from the command with the -vv flag

 ~/ rclone mount magnum:/ magnum --volname magnum --vfs-cache-mode full --daemon -vv -log-file=rclone.log
2021/03/19 14:42:07 DEBUG : rclone: Version "v1.54.1" starting with parameters ["rclone" "mount" "magnum:/" "magnum" "--volname" "magnum" "--vfs-cache-mode" "full" "--daemon" "-vv" "-log-file=rclone.log"]
2021/03/19 14:42:07 DEBUG : Creating backend with remote "magnum:/"
2021/03/19 14:42:07 DEBUG : Using config file from "/Users/fabio/.config/rclone/rclone.conf"
2021/03/19 14:42:07 DEBUG : sftp://fabio@192.168.1.2:22//: New connection 192.168.1.212:59280->192.168.1.2:22 to "SSH-2.0-OpenSSH_7.4"
2021/03/19 14:42:07 DEBUG : rclone: Version "v1.54.1" finishing with parameters ["rclone" "mount" "magnum:/" "magnum" "--volname" "magnum" "--vfs-cache-mode" "full" "--daemon" "-vv" "-log-file=rclone.log"]

For some reason, rclone.log is not created.

hello and welcome to the forum,

the mount command will error out due to -log-file=rclone.log
that is not a valid parameter value
should be --log-file=rclone.log

perhaps when testing do not use --daemon, might miss the command line output error.

and instead of -vv, try --log-level=DEBUG

Ok thanks, I've solved:

2021/03/19 14:58:40 Fatal error: failed to mount FUSE fs: mount is not supported on MacOS when installed via Homebrew. Please install the binaries available at https://rclone.org/downloads/ instead if you want to use the mount command

I feel stupid! I knew the homebrew version didn't mount with fuse, but I didn't remember. I actually upgraded with homebrew last week and it had stopped working since then. I have now replaced rclone with the one downloaded from the site and it works.

Thank you.

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