Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Unable to mount /backups folder (Cifs)

Scheduled Pinned Locked Moved Solved Support
cifs
35 Posts 6 Posters 2.9k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    p44 translator
    replied to girish on last edited by
    #19

    @girish Thank's a lot Girish. Latency between two data centers is around 40ms... maximum 60ms... What's your idea?

    1 Reply Last reply
    0
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to girish on last edited by
    #20

    @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).

    I use Cloudron with Gandi & Hetzner

    P 1 Reply Last reply
    1
  • P Offline
    P Offline
    p44 translator
    replied to jdaviescoates on last edited by
    #21

    @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.

    jdaviescoatesJ 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #22

    I was only guessing about latency, I don't have any special expertise here. I found this article https://www.redhat.com/sysadmin/using-nfsstat-nfsiostat that might help debug further.

    1 Reply Last reply
    1
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to p44 on last edited by
    #23

    @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

    I use Cloudron with Gandi & Hetzner

    robiR 1 Reply Last reply
    1
  • robiR Offline
    robiR Offline
    robi
    replied to jdaviescoates on last edited by
    #24

    @jdaviescoates Take a look at S3 from IBM for 25GB/mo free at IBM COS

    p.s. I used to work on COS (formerly Cleversafe)

    Life of sky tech

    jdaviescoatesJ 1 Reply Last reply
    2
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to robi on last edited by
    #25

    @robi thanks but the added context not mentioned is affordable storage space that is also powered by 100% renewable energy.

    I use Cloudron with Gandi & Hetzner

    robiR 1 Reply Last reply
    1
  • robiR Offline
    robiR Offline
    robi
    replied to jdaviescoates on last edited by
    #26

    @jdaviescoates that is very specific 🙂

    Life of sky tech

    1 Reply Last reply
    2
  • C Offline
    C Offline
    ccfu
    wrote on last edited by ccfu
    #27

    @p44 Did you get the issue sorted with the Hetzner Storage Box? I am facing the same problem and cannot work out why it is not mounting. "Samba Shares" and "External Reachability" are enabled but I keep getting the error 'mount: bad usage'.

    P 1 Reply Last reply
    1
  • P Offline
    P Offline
    p44 translator
    replied to ccfu on last edited by p44
    #28

    @ccfu Which Storage Box datacenter are you using? Source data is hosted on Hetzner, or on a different provider?

    C 1 Reply Last reply
    0
  • C Offline
    C Offline
    ccfu
    replied to p44 on last edited by
    #29

    @p44 The Storage Box is in Falkenstein. The Cloudrons I am attempting to set this up with are also both with Hetzner, one in Falkenstein, the other in Nuremberg.

    P 1 Reply Last reply
    0
  • P Offline
    P Offline
    p44 translator
    replied to ccfu on last edited by p44
    #30

    @ccfu
    First of all, let's try to reproduce my working configuration:

    On Hetzner:

    1. Create a subfolder in root Hetzner Box Folder
    2. Create a Hetzner Box Sub User (eg. sub1)
    3. Assign Sub User to created subfolder
    4. Enable Samba to Sub1 user

    On Cloudron instance:

    1. create /backups_cifs dir

    Then, add this row in etc/fstab:

    //u123456-sub1.your-storagebox.de/u123456-sub1 /backups_cifs cifs  uid=yellowtent,gid=yellowtent,user=u123456-sub1,pass=PASSWORD,iocharset=utf8,x-systemd.automount  0  0
    

    Where:
    u123456 is the Hetzner Box ID
    sub1 is the sub user name
    PASSWORD is Hetzner Box given password

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to p44 on last edited by
    #31

    @p44 I'd recommend trying the instructions and mount code provided by Hetzner:

    https://docs.hetzner.com/robot/storage-box/access/access-samba-cifs/

    That's what I did and it's been working fine.

    I use Cloudron with Gandi & Hetzner

    C P 2 Replies Last reply
    1
  • C Offline
    C Offline
    ccfu
    replied to jdaviescoates on last edited by
    #32

    @jdaviescoates @p44
    Many thanks. I'll look at this again later today and report back.

    P 1 Reply Last reply
    2
  • P Offline
    P Offline
    p44 translator
    replied to jdaviescoates on last edited by
    #33

    @jdaviescoates Thank's, I pasted my current working configuration 🙂

    1 Reply Last reply
    1
  • P Offline
    P Offline
    p44 translator
    replied to ccfu on last edited by
    #34

    @ccfu Let us know

    C 1 Reply Last reply
    1
  • C Offline
    C Offline
    ccfu
    replied to p44 on last edited by
    #35

    @p44 @jdaviescoates Got it working. Thanks for your help!

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.