Rclone SMB mount with Hetzner storage box error

What is the problem you are having with rclone?

Hi i am trying to create a new SMB remote for my hetzner storage box
My config looks like

[Hetzner-Storage]
type = smb
host = username.your-storagebox.de/backup
user = username
pass = password

I am getting this error though:

IO error: couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host

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

rclone v1.62.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-71-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none

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

Hetzner storage box

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

rclone mount Hetzner-Storage:test /mnt/test/

A log from the command with the -vv flag

2023/05/11 12:18:05 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "Hetzner-Storage:test" "/mnt/test/" "-vv"]
2023/05/11 12:18:05 DEBUG : Creating backend with remote "Hetzner-Storage:test"
2023/05/11 12:18:05 DEBUG : Using config file from "/home/username/.config/rclone/rclone.conf"
2023/05/11 12:18:05 INFO  : smb://username@username.your-storagebox.de/backup:445/test/: poll-interval is not supported by this remote
2023/05/11 12:18:05 DEBUG : smb://username@username.your-storagebox.de/backup:445/test/: Mounting on "/mnt/test/"
2023/05/11 12:18:05 DEBUG : : Root: 
2023/05/11 12:18:05 DEBUG : : >Root: node=/, err=<nil>
2023/05/11 12:18:16 DEBUG : /: Attr: 
2023/05/11 12:18:16 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
2023/05/11 12:18:16 DEBUG : /: ReadDirAll: 
2023/05/11 12:18:16 DEBUG : pacer: low level retry 1/10 (error couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host)
2023/05/11 12:18:16 DEBUG : pacer: Rate limited, increasing sleep to 200ms
2023/05/11 12:18:16 DEBUG : pacer: low level retry 2/10 (error couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host)
2023/05/11 12:18:16 DEBUG : pacer: Rate limited, increasing sleep to 400ms
2023/05/11 12:18:16 DEBUG : pacer: low level retry 3/10 (error couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host)
2023/05/11 12:18:16 DEBUG : pacer: Rate limited, increasing sleep to 800ms
2023/05/11 12:18:16 DEBUG : pacer: low level retry 4/10 (error couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host)
2023/05/11 12:18:16 DEBUG : pacer: Rate limited, increasing sleep to 1.6s
2023/05/11 12:18:17 DEBUG : pacer: low level retry 5/10 (error couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host)
2023/05/11 12:18:17 DEBUG : pacer: Rate limited, increasing sleep to 2s
2023/05/11 12:18:19 DEBUG : pacer: low level retry 6/10 (error couldn't connect SMB: dial tcp: lookup username.your-storagebox.de/backup: no such host)
^C2023/05/11 12:18:20 INFO  : Signal received: interrupt
2023/05/11 12:18:20 ERROR : /mnt/test/: Failed to unmount: exit status 1: fusermount3: failed to unmount /mnt/test: Device or resource busy
2023/05/11 12:18:20 INFO  : Exiting...

I am able to mount the storage box normally with mount.cifs command

Remove the /backup from here - it should just be the host name.

Oh i see my mistake now

Thank you very much for your help :smiley:

1 Like

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