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. Discuss
  3. Running Cloudron on eMMC – How to Reduce Writes?

Running Cloudron on eMMC – How to Reduce Writes?

Scheduled Pinned Locked Moved Discuss
5 Posts 2 Posters 113 Views 2 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.
  • WiseMetalheadW Offline
    WiseMetalheadW Offline
    WiseMetalhead
    translator
    wrote last edited by
    #1

    Hi there!

    I decided to install Cloudron on my home mini PC, using the built-in eMMC storage for Ubuntu (to keep my M.2 drives free from the OS). I understand that to preserve the longevity of the eMMC memory, it's important to reduce write operations as much as possible. There are plenty of suggestions online — disabling swap, lowering the swappiness value, tweaking or disabling system logging, etc.

    But my main question is: how can I minimize Cloudron's impact on system disk wear?

    I realize it would be much easier to just dedicate one of the M.2 SSDs for the OS and Cloudron, but at this point, it’s become more of a curiosity project 🙂

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote last edited by
      #2

      It is a bit to tinker, but you can see all locations Cloudron mostly writes to at https://docs.cloudron.io/storage/#default-data-directory and you could relocate those to the M.2 drive then (see relocate section in the docs page)

      Further for swap you may also just add the swapfile onto the M.2 drive.

      WiseMetalheadW 1 Reply Last reply
      1
      • nebulonN nebulon

        It is a bit to tinker, but you can see all locations Cloudron mostly writes to at https://docs.cloudron.io/storage/#default-data-directory and you could relocate those to the M.2 drive then (see relocate section in the docs page)

        Further for swap you may also just add the swapfile onto the M.2 drive.

        WiseMetalheadW Offline
        WiseMetalheadW Offline
        WiseMetalhead
        translator
        wrote last edited by
        #3

        @nebulon said in Running Cloudron on eMMC – How to Reduce Writes?:

        see relocate section in the docs page

        Thank you! I managed to move everything except the swap. I'm still not entirely sure about the correct steps for that. As for the Docker images — I haven’t moved them yet, since they don’t take up enough space to be a problem at this point.

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote last edited by
          #4

          Great. For swap you can follow the docs at https://docs.cloudron.io/storage/#swap just make sure the swapfile is located within the other disk.

          WiseMetalheadW 1 Reply Last reply
          1
          • nebulonN nebulon

            Great. For swap you can follow the docs at https://docs.cloudron.io/storage/#swap just make sure the swapfile is located within the other disk.

            WiseMetalheadW Offline
            WiseMetalheadW Offline
            WiseMetalhead
            translator
            wrote last edited by
            #5

            @nebulon said in Running Cloudron on eMMC – How to Reduce Writes?:

            make sure the swapfile is located within the other disk

            Great, everything’s working now. Thanks again!

            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