Rclone mount – Fatal Error

What is the problem you are having with rclone?

I cannot mount a remote.

What is your rclone version (output from rclone version)

rclone v1.49.5

  • os/arch: darwin/amd64
  • go version: go1.13.1

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

MacOS Mojave

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

SFTP

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

rclone mount Safe:/MBP /Volumes/Backup

Where MBP is an existing folder in the encrypted remote Safe:

Safe: infos:

[Safe]
type = crypt
remote = Sola:/home/user/RESCUE
filename_encryption = standard

Note: the command rclone lsf Safe:/MBP lists well my files and folders.

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

When I do rclone listremotes, I have:

Safe:
Sola:

Safe is the encrypted remote.

I don't really understand why I'm stucked here with rclone.

I've got a little experience mounting remote volumes using the FUSE library.
For example, I use SSHFS as follows (enough for my own needs):

$ alias sshfs
sshfs='sshfs -o reconnect,follow_symlinks,auto_cache,volname="VPS"'

$ sshfs SRV: /Volumes/VPS

Where SRV is a Host in my ~/.ssh/config file. The last command enables me to mount the remote volume that contains a folder called RESCUE and to which Safe: points. Of course, RESCUE content is encrypted and I was hoping to access it in an unencrypted way with rclone mount.

$ rclone -vv mount Safe:/MBP /Volumes/Backup
2019/10/22 22:43:51 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rclone" "-vv" "mount" "Safe:/MBP" "/Volumes/Backup"]
2019/10/22 22:43:51 DEBUG : Using config file from "/Users/$USER/.config/rclone/rclone.conf"
2019/10/22 22:43:51 DEBUG : sftp://user@server//home/user/RESCUE/i7g5t5qe8cpsquegeq53a0vt7g: New connection <IP 1>:<PORT 1> -> <IP 3>:<PORT 3> to "SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8"
2019/10/22 22:43:51 DEBUG : sftp://user@server//home/user/RESCUE/i7g5t5qe8cpsquegeq53a0vt7g: New connection <IP 1>:<PORT 2> -> <IP 3>:<PORT 3> to "SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8"
2019/10/22 22:43:51 Fatal error: Can not open: /Volumes/Backup: open /Volumes/Backup: no such file or directory

What does "ls -al /Volumes" show?

Hi, thanks for your prompt reply.

Command ouput:

$ ls -al /Volumes
total 24
drwxr-xr-x@  5 root      wheel   160 22 oct 23:38 .
drwxr-xr-x@ 33 root      wheel  1056  8 oct 16:13 ..
-rw-r--r--@  1 admin     admin  6148  3 oct  2016 .DS_Store
lrwxr-xr-x   1 root      wheel     1  9 oct 13:21 Macintosh HD -> /
drwxr-xr-x@  1 Nathalie  staff  4096 22 oct 19:40 VPS

Where VPS is the volume mounted using the above sshfs command:

$ llh /Volumes/VPS
total 1,6M
drwxr-xr-x 1 Nathalie staff 4,0K 26.07.2019 14:08  RESCUE/

$ llh /Volumes/VPS/RESCUE
total 24K
drwxr-xr-x 1 Nathalie staff 4,0K 26.07.2019 14:08 4216hcivmhefp0qb7pr4c5p4tg/
drwxr-xr-x 1 Nathalie staff 4,0K 22.10.2019 20:02 h348f00isqrtfb1a4b8e1u2l9k/
drwxr-xr-x 1 Nathalie staff 4,0K 22.10.2019 13:19 i7g5t5qe8cpsquegeq53a0vt7g/
drwxr-xr-x 1 Nathalie staff 4,0K 06.06.2019 09:51 jce39rhv0qjqok7oqgod2tu128/
drwxr-xr-x 1 Nathalie staff 4,0K 27.09.2019 18:00 jkm92ir0n4jic17pjcu2ecdepg/
drwxr-xr-x 1 Nathalie staff 4,0K 27.07.2019 17:00 lv0ogce27hqf1e8hpfj6n2jgok/

You are mount to /Volumes/Backup, but no folder exists to mount it to.

You'd need to mkdir /Volumes/Backup

:white_check_mark: It works the way you mentionned. I thought rclone was able to create the mount point by itself.

:+1: Thanks for your help.

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