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. Strange storage usage

Strange storage usage

Scheduled Pinned Locked Moved Support
dockerstoragegraphs
7 Posts 4 Posters 1.3k Views 4 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.
    • S Offline
      S Offline
      smilebasti
      wrote on last edited by girish
      #1

      Hi,
      as shown in the photo my Cloudron is running out of space. But not from Cloudron or its apps.
      495b3626-e68e-4f57-a3da-e8951bd29adc-image.png
      I have my Backups on an Nas added via SMB.

      There is nothing else installed on this VM. As it could only be Cloudron creating 120GB i am not sure how to clean them up.
      Once i added 100 GB to the VM and formatted it correctly.

      Thanks ahead for your help 🙂

      murgeroM 1 Reply Last reply
      0
      • S smilebasti

        Hi,
        as shown in the photo my Cloudron is running out of space. But not from Cloudron or its apps.
        495b3626-e68e-4f57-a3da-e8951bd29adc-image.png
        I have my Backups on an Nas added via SMB.

        There is nothing else installed on this VM. As it could only be Cloudron creating 120GB i am not sure how to clean them up.
        Once i added 100 GB to the VM and formatted it correctly.

        Thanks ahead for your help 🙂

        murgeroM Offline
        murgeroM Offline
        murgero
        App Dev
        wrote on last edited by
        #2

        @smilebasti Well some of that is the OS, depending on how much RAM you have a lot of that could be swap space, then there is the package cache for apt, etc.

        It looks quite normal.

        I'd explore using the du command to see what's up.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~

        fbartelsF 1 Reply Last reply
        0
        • S Offline
          S Offline
          smilebasti
          wrote on last edited by
          #3

          Thanks for the reply.
          The Vm has already 5GB of Ram. Swap is about the same of what i can find.

          I will have a deeper look.

          1 Reply Last reply
          0
          • murgeroM murgero

            @smilebasti Well some of that is the OS, depending on how much RAM you have a lot of that could be swap space, then there is the package cache for apt, etc.

            It looks quite normal.

            I'd explore using the du command to see what's up.

            fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by
            #4

            @murgero ncdu is also nice

            1 Reply Last reply
            2
            • S Offline
              S Offline
              smilebasti
              wrote on last edited by
              #5

              @fbartels That's very nice to use. Thanks.

              I narrowed it down to /home/yellowtent/appsdata with 53,8 GB but i would not change something here.
              The other two huge folders are in /var/lib/docker.
              First is /volumes with one large file (53 GB) ending with ...-local-storage. The second (22 GB) is the folder /overlay2.

              Is it safe to run docker system prune -a ?
              Maybe also -volumes? Does this mess anything up with Cloudron if my two apps are running?

              murgeroM 1 Reply Last reply
              0
              • S smilebasti

                @fbartels That's very nice to use. Thanks.

                I narrowed it down to /home/yellowtent/appsdata with 53,8 GB but i would not change something here.
                The other two huge folders are in /var/lib/docker.
                First is /volumes with one large file (53 GB) ending with ...-local-storage. The second (22 GB) is the folder /overlay2.

                Is it safe to run docker system prune -a ?
                Maybe also -volumes? Does this mess anything up with Cloudron if my two apps are running?

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #6

                @smilebasti Both those commands will break Cloudron - I'd let cloudron manage docker unless you know EXACTLY what you are doing with docker.

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

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

                  @smilebasti The /home/yellowtent/appsdata is the location of apps. This size seems to roughly match the nextcloud size. As for docker, you should not use du tools inside docker's image directories since they are overlays and the du tool is not smart enough to figure out the size correctly. Try docker system df to get a better idea about the actual size docker uses (this is what is reported in the graph as ~5GB). The volumes also link into appsdata so they might be double counted the du tools.

                  To take a wild guess, maybe you were backing up to the file system for some time before you moved to NAS via SMB? If this was the case, then you should remove the old backups manually from /var/backups. You can just safely nuke all the timestamped directories and the snapshot directory inside it.

                  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