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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved How to use an attached SSD storage?

    Support
    storage
    5
    9
    454
    Loading More Posts
    • 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.
    • D
      doomilation last edited by girish

      Hi, I'm running an instance at Scaleway and I need to use an extra storage for Nextcloud.
      The extra SSD is mounted under /mnt/data but I don't know how to use it in Cloudron / Netxcloud.
      Is there is a way to do that?

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Hi, this is a common request we get and as @girish mentioned in https://forum.cloudron.io/topic/1631/what-s-coming-in-3-5/2 we will start introducing some features around storage/volume management with the next release. Until that, we cannot really recommend tinkering with the used volumes besides what is documented here.

        1 Reply Last reply Reply Quote 0
        • D
          doomilation last edited by

          Ok, thanks for the clarification @nebulon
          I'll have a look on this

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @doomilation Yes, we are working on a way to add external storage in our upcoming release. I will update this post as we have some updates.

            T 1 Reply Last reply Reply Quote 0
            • T
              tadeas @girish last edited by

              @girish Hi, any news on this?

              S 1 Reply Last reply Reply Quote 0
              • S
                stoccafisso @tadeas last edited by stoccafisso

                @tadeas Hi, could this be something useful? https://cloudron.io/documentation/storage/#move-the-data-directory-to-another-location

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by girish

                  @doomilation As pointed out in the previous comment, currently you can just create a symlink the app's data directory to an external storage -https://cloudron.io/documentation/storage/#move-the-data-directory-to-another-location

                  In 4.1, we are hoping to provide this functionality in the UI.

                  D 1 Reply Last reply Reply Quote 1
                  • D
                    doomilation @girish last edited by

                    @girish Hi. Just to be sure: I want to move the mail folder to an ext storage.
                    Can I just move the boxdata like this:

                    systemctl stop cloudron.target
                       systemctl stop docker
                       DATA_DIR="/mnt/data"  # this is the external disk location
                       mkdir -p "${DATA_DIR}"
                    
                      move out box data to the external disk
                       mv /home/yellowtent/boxdata "${DATA_DIR}"
                       ln -s "${DATA_DIR}/boxdata " /home/yellowtent/boxdata
                    
                    systemctl start docker
                       systemctl start cloudron.target
                    

                    Or do I need to move appsdata + platformdata to the same location?

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff last edited by

                      @doomilation Yes, what you have done should work. You don't have to move out appsdata and platformdata.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB