CIFS

std

Member
Aug 29, 2020
48
2
13
28
Hello, i try to connect Hetzner Storage Box with Cifs with:

mount.cifs -o user=u264409,password=hbJ3dnxeKO3232323 //u264409.your-storagebox.de/backup /mnt/hetzner/

mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Firewall is off!
 

Attachments

  • a1.PNG
    a1.PNG
    35.7 KB · Views: 33
Please remove the password from the post and change that password!

And you are trying to connect with CIFS version 1. Version 1 is unsecure and I woudn't wonder if Hetzner only supports CIFS version 2 and up. Try to force a connection with a higher CIFS version. And its better to create a credentials file in the users home directory and set the rights so no other user can read it. So you don't need to write the password in commands and therefore it won't showup in the logs.
 
Last edited:
  • Like
Reactions: std
It only random passwort, it not my real passwort but thx.

How I can force version 2 or 3?
 
Try it for example with:
mount -t cifs -o vers=3.1.1,username=u264409,password=xxx //u264409.your-storagebox.de/backup /mnt/hetzner/
 
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
 
dvsem show this

[ 6432.806686] CIFS: Attempting to mount //u264409.your-storagebox.de/backup
[ 6443.031428] CIFS VFS: Error connecting to socket. Aborting operation.
[ 6443.031464] CIFS VFS: cifs_mount failed w/return code = -2
 
Did you created an empty folder "/mnt/hetzner/" and set root as the owner of that folder?
 
Yes still dont work.

I make same on ubuntu vm in cloud and it work but on proxmox dont work
Firewall is off
 
Your DNS and so on is working? It sounds like your proxmox server can't fine the share.
 
I found solution.
In FritzBox i put off NetBIOS-Filter and Restart the FritzBox
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!