Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Help | Mounting error in Hetzner Storage Box

Hey Folks,

I'm facing a issue while mounting the Hetzner box to my vps.actually the issue is it will automatically get unmounted if i restart the vps. I'll drop the exact steps that i followed when mounting the box.

Step 1

  • as usual install the cifs-utils
    **apt install cifs-utils **

Step 2
*Mounting the storage box.
mount.cifs -o user=uxxxxx,pass=xxxxxx //uxxxxx.your-storagebox.de/backup /home/fsn

Step 3
*adding a line to /etc/fstab
//uxxxxx.your-storagebox.de/backup /home/fsn cifs cache=loose,iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=0,gid=0,file_mode=0660,dir_mode=0770 0 0

But, It's all good until the next reboot. I have to redo the step 2 once every reboot.

Syslog Output : https://notepad.link/3a9yq

Can anyone suggest me a solution on this please?

Comments

  • You don't have to do step 2 when you first set it up.

    Just start at step 3 - once done run 'sudo mount -a'

    If it fails to mount the problem is with your fstab entry.
    I'd manually put in the credentials first to see if there is a problem reading the credentials.txt. checking with 'mount -a'.
    I'd also put the user uid & gid dependant on where you are mounting again checking with mount -a.

Sign In or Register to comment.