Unable to mount /backups folder (Cifs)
-
@girish I did a google research before and I saw linked document but it seems that is not my situation.
The only difference that I've between a standard installation is that I disabled SSH login with password and also disabled root login.
Which logs should i see?
-
@robi said in Unable to mount /backups folder (Cifs):
make sure you can do the mount manually on the command line first, then add it to fstab
The same syntax I used on other Cloudron installations and it worked very fine.
I tried to mount manually but I got a syntax error.
Eg. I used:
mount -t cifs //<server>/<remote_folder> /backups uid=yellowtent,gid=yellowtent,user=<user>,pass=<pass>,iocharset=utf8 0 0
and I got:
mount: bad usage
-
@p44 could be 2 things.. compare
mount
versions, which may have a different syntax.make sure cifs is available on the new system, for ex if mount.cifs isn't available, it won't recognize the
cifs
parameter and error out.if there are other cifs mounts available (any windows box) try making sure that works to validate cifs at least.
alternative might be smbfs.
-
@robi said in Unable to mount /backups folder (Cifs):
cifs
Thank's @robi !
I've this situation:
/sbin$ apt-cache policy cifs-utils cifs-utils: Installed: 2:6.8-1ubuntu1.1 Candidate: 2:6.8-1ubuntu1.1 Version table: *** 2:6.8-1ubuntu1.1 500 500 http://it.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 2:6.8-1 500 500 http://it.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Also mount.cifs is available.
If there are other cifs mounts available (any windows box) try making sure that works to validate cifs at least.
This step is not totally clear how to perform...
-
Just to check, is this a Hetzner storage box? If so be sure to have turned samba shares on at the Hetzner end (I had a similar issue and this resolved it for me)
-
@jdaviescoates Yes is Hetzner box. Works perfectly on two other Cloudron istances. Enabled "Samba shares" and "External Reachability".
On two works fine, another one no...
-
@p44 said in Unable to mount /backups folder (Cifs):
Yes is Hetzner box.
It may just be an issue with Hetzner. As you've seen, recently my backup hetzner storage box somehow unmounted itself during a backup and I needed to restart for it to mount again.
Assume you've tried restarting your server already?
-
@jdaviescoates Maybe is Hetzner side problem. I had a similar event few weeks ago and I opened a ticket to Cloudron support desk. I restarted server.
Also one week ago and also yesterday I had a similar problem.
For this case "Unable to mount /backups folder (Cifs)" I'm still investigating and I don't think is Hetzner side.
About unmounting problem, I was thinking to move to other storage service. Did you find any workarounds?
-
@p44 said in Unable to mount /backups folder (Cifs):
where I running this specific Cloudron instance is not Hetzner
Oh, that gave me an idea. Could it be that there is too much latency for the CIFS mount to work? Or maybe there is some configurable latency delay setting for mounting. Usually, CIFS/NFS etc works well only in same data center.
-
@girish said in Unable to mount /backups folder (Cifs):
Usually, CIFS/NFS etc works well only in same data center.
Interesting. Got a reference for this?
I think I purposely chose a different location for my Hetzner Storage Box from my Hetzner VPS just for a bit more redundancy (in case the VPS location get destroyed somehow).
-
@jdaviescoates Totally agree with this strategy. It could be interesting to chose a total different provider to achieve this goal.
I configured for Wasabi seems to be fast and resilient. But I have to well understand user policy and permissions.
When I use services like this, I'm always a little bit scared that folder can go public due permission problems.
-
@p44 said in Unable to mount /backups folder (Cifs):
It could be interesting to chose a total different provider to achieve this goal.
Agreed. I'm going to investigate https://teuto.net/teutostack-openstack-public-cloud/?lang=en who apparently do S3 style object storage, who I came across here https://social.coop/@aligyie/105385317039616213