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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Unable to mount /backups folder (Cifs)

Unable to mount /backups folder (Cifs)

Scheduled Pinned Locked Moved Solved Support
cifs
35 Posts 6 Posters 6.6k Views 6 Watching
  • 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.
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #10

      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)

      I use Cloudron with Gandi & Hetzner

      P 1 Reply Last reply
      1
      • D Offline
        D Offline
        danigl
        wrote on last edited by
        #11

        I had the same problem. I use the following entry in fstab:

        //XXX/XXX /media/backups_cifs  cifs uid=yellowtent,gid=yellowtent,username=XXX,password=XXX,vers=3.0,noperm 0 0
        

        The target directory must be created first.

        P 1 Reply Last reply
        2
        • jdaviescoatesJ jdaviescoates

          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)

          P Offline
          P Offline
          p44
          translator
          wrote on last edited by
          #12

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

          jdaviescoatesJ 1 Reply Last reply
          1
          • D danigl

            I had the same problem. I use the following entry in fstab:

            //XXX/XXX /media/backups_cifs  cifs uid=yellowtent,gid=yellowtent,username=XXX,password=XXX,vers=3.0,noperm 0 0
            

            The target directory must be created first.

            P Offline
            P Offline
            p44
            translator
            wrote on last edited by
            #13

            @danigl Thank's a lot, the targeted directory is created first. Just a question: why you add the "vers=3.0" parameter?

            1 Reply Last reply
            1
            • P p44

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

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #14

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

              I use Cloudron with Gandi & Hetzner

              P 1 Reply Last reply
              1
              • jdaviescoatesJ jdaviescoates

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

                P Offline
                P Offline
                p44
                translator
                wrote on last edited by
                #15

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

                girishG 1 Reply Last reply
                0
                • P p44

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

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #16

                  @p44 Given Cloudron is just app on ubuntu, maybe you can try to mount it in a separate ubuntu server on Hetzner? At that point, Hetzner support should be able to help you out hopefully.

                  P 1 Reply Last reply
                  1
                  • girishG girish

                    @p44 Given Cloudron is just app on ubuntu, maybe you can try to mount it in a separate ubuntu server on Hetzner? At that point, Hetzner support should be able to help you out hopefully.

                    P Offline
                    P Offline
                    p44
                    translator
                    wrote on last edited by
                    #17

                    @girish Totally agree with your suggestion. About the topic issue, the server where I running this specific Cloudron instance is not Hetzner.

                    But I just created a demo account to Wasabi to move forward and assure a backup.

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

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

                      P jdaviescoatesJ 2 Replies Last reply
                      2
                      • girishG girish

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

                        P Offline
                        P Offline
                        p44
                        translator
                        wrote 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
                        • girishG girish

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

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote 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
                          • jdaviescoatesJ jdaviescoates

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

                            P Offline
                            P Offline
                            p44
                            translator
                            wrote 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
                              • P p44

                                @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 Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote 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
                                • jdaviescoatesJ jdaviescoates

                                  @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

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote 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)

                                  Conscious tech

                                  jdaviescoatesJ 1 Reply Last reply
                                  2
                                  • robiR robi

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

                                    jdaviescoatesJ Offline
                                    jdaviescoatesJ Offline
                                    jdaviescoates
                                    wrote 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
                                    • jdaviescoatesJ jdaviescoates

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

                                      robiR Offline
                                      robiR Offline
                                      robi
                                      wrote on last edited by
                                      #26

                                      @jdaviescoates that is very specific 🙂

                                      Conscious 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
                                        • C ccfu

                                          @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 Offline
                                          P Offline
                                          p44
                                          translator
                                          wrote 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
                                          • P p44

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

                                            C Offline
                                            C Offline
                                            ccfu
                                            wrote 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
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

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