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. Feature Requests
  3. Storage limits per-app

Storage limits per-app

Scheduled Pinned Locked Moved Feature Requests
24 Posts 8 Posters 3.5k Views 8 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.
    • girishG girish

      @robi the volumes can be XFS, but it requires a backing device. On a standard VPS, this means that we have to create a (big enough) file on EXT4 file system and then format it as XFS. This setup has the usual issues of loopback devices - what size this initial file should be, how to resize it live to increase/decrease storage etc. Not sure how well this performs either.

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

      @girish yep, or do a little parted scripting first to have a device backed partition avoiding loopback issues for a more static setup..

      wanna make changes? restore from remote backup.

      For a more dynamic setup integrate OpenEBS/MayaData so you can keep attaching additional extent layers or do virtual migrations to different sized container attached storage mounts.

      Conscious tech

      1 Reply Last reply
      0
      • girishG girish referenced this topic on
      • girishG girish referenced this topic on
      • girishG girish

        @robi the volumes can be XFS, but it requires a backing device. On a standard VPS, this means that we have to create a (big enough) file on EXT4 file system and then format it as XFS. This setup has the usual issues of loopback devices - what size this initial file should be, how to resize it live to increase/decrease storage etc. Not sure how well this performs either.

        AizatA Offline
        AizatA Offline
        Aizat
        wrote on last edited by
        #22

        @girish Hi, is there any news about the storage limits per-app implementation?

        girishG 1 Reply Last reply
        0
        • AizatA Aizat

          @girish Hi, is there any news about the storage limits per-app implementation?

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #23

          @Aizat No plans yet. But as a workaround, you can always do this:

          • Setup a block storage of appropriate size
          • Then, add it as Cloudron Volume
          • Move app's data directory into the Volume

          That way, the app cannot use more data than the volume itself. This does not cover databasize size which is stored outside the volume.

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #24

            Atleast, postgres does not have a way to limit db size - https://stackoverflow.com/questions/37822195/restrict-database-size

            1 Reply Last reply
            1
            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