MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    No free space on SD-card

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 4 Posters 9.5k Views 4 Watching
    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.
    • zdenekZ Offline
      zdenek
      last edited by

      Hi all
      I’ve no de why, but I’ve no space on SD-Card. It’s 8GB and there is just Rapsian+MM+ some modules+VNC. Could be the problem any module, that it stores locally a lot of data? I’ve:
      Calendar
      Current Weather
      Complimetns
      MMM-AirQuality by CFenner
      calendar_monthly by KirAsh4
      MMM-Netatmo by CFenner
      MMM-NetworkScanner by ianperrin
      MMM-WunderGround by RedNax67

      And now, after restart Raspberry do not start at all :-(

      So, how to check the data? how to find the biggest files? How to delete them? I can put SD into Mac or Win machine…

      and what to do to not happen in future again?

      thanks, Zdenek

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @zdenek
        last edited by

        @zdenek sounds more like a defective sd-card if the Pi won’t start at all.

        zdenekZ 1 Reply Last reply Reply Quote 0
        • zdenekZ Offline
          zdenek @broberg
          last edited by

          @broberg ok, it starts, there is planty of rows with green OK on the left, than monitor goes to clean and it’s just “black” - like GUI doesn’t start

          1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by

            could check if there is a file named core inside of your MagicMirror folder. Snille had an issue which created this huge file:
            https://forum.magicmirror.builders/topic/2122/all-of-a-sudden-ssh-is-really-lagging-slow/9

            zdenekZ 1 Reply Last reply Reply Quote 0
            • zdenekZ Offline
              zdenek @yawns
              last edited by zdenek

              @yawns nope :-( actually, there is about 40 MB and it starts. So, Raspberry is running. I huess 8GB should be enough. Or not? How to find biggets file and delete?

              1 Reply Last reply Reply Quote 0
              • yawnsY Offline
                yawns Moderator
                last edited by

                try to run this on console:
                find -type f -exec du -Sh {} + | sort -rh | head -n 5

                This should bring up the 5 biggest files

                zdenekZ 1 Reply Last reply Reply Quote 0
                • zdenekZ Offline
                  zdenek @yawns
                  last edited by yawns

                  @yawns said in No free space on SD-card:

                  find -type f -exec du -Sh {} + | sort -rh | head -n 5

                  thanks, but it didn’t find any abnormal larg file

                  43M	./MagicMirror/node_modules/electron/dist/electron
                  37M	./.electron/electron-v1.4.15-linux-arm.zip
                  15M	./MagicMirror/node_modules/electron/dist/libnode.so
                  14M	./MagicMirror/node_modules/clarinet/test/twitter.js
                  14M	./MagicMirror/node_modules/clarinet/samples/twitter.json
                  

                  so, could be there a milions of small (let say 1MB) files/logs? I’ve no problem to buy bigger SD, but if there asi any problem with growing files, even 1TB SD card will be one day full…

                  1 Reply Last reply Reply Quote 0
                  • yawnsY Offline
                    yawns Moderator
                    last edited by

                    Are you really sure your sd card is full?
                    Please run df -h to check for disk space (maybe you need to run sudo df -h, not sure)

                    zdenekZ 1 Reply Last reply Reply Quote 0
                    • zdenekZ Offline
                      zdenek @yawns
                      last edited by yawns

                      @yawns

                      Filesystem      Size  Used Avail Use% Mounted on
                      /dev/root       6.1G  5.7G   48M 100% /
                      devtmpfs        458M     0  458M   0% /dev
                      tmpfs           462M     0  462M   0% /dev/shm
                      tmpfs           462M  6.3M  456M   2% /run
                      tmpfs           5.0M  4.0K  5.0M   1% /run/lock
                      tmpfs           462M     0  462M   0% /sys/fs/cgroup
                      /dev/mmcblk0p6   66M   22M   44M  34% /boot
                      tmpfs            93M     0   93M   0% /run/user/1000
                      /dev/mmcblk0p5   30M  1.6M   27M   6% /media/pi/SETTINGS
                      

                      I guess the last 2GB is recovery or smthg like that

                      bheplerB 1 Reply Last reply Reply Quote 0
                      • bheplerB Offline
                        bhepler Module Developer @zdenek
                        last edited by

                        @zdenek Did you delete all the stuff not used for a mirror? From the complete setup tutorial: sudo apt-get remove --purge idle3 java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim sonic-pi wolfram-engine

                        zdenekZ 1 Reply Last reply Reply Quote 1
                        • zdenekZ Offline
                          zdenek @bhepler
                          last edited by

                          @bhepler great, thanks. This I missed somehow… this helped a lot, now I’ve over 1GB. Thank you very much

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Enjoying MagicMirror? Please consider a donation!
                          MagicMirror created by Michael Teeuw.
                          Forum managed by Sam, technical setup by Karsten.
                          This forum is using NodeBB as its core | Contributors
                          Contact | Privacy Policy