Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. System Festplattenspeicherbedarf / aufräumen

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    System Festplattenspeicherbedarf / aufräumen

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Matzeit @Thomas Braun last edited by

      @thomas-braun
      okay, jetzt habe ich 3,3GB wieder frei.
      Muss ich dies alle paar Jahre manuell machen oder kann ich irgendwo eine Konfigurationsdatei anpassen?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Matzeit last edited by

        @matzeit

        Der npm cache muss von Hand gepflegt werden. Da gibt es kein automatisches Aufräumen.
        Kannst ja ein entsprechendes Skript per cronjob regelmäßig laufen lassen.

        B 1 Reply Last reply Reply Quote 0
        • B
          Balu0127 @Thomas Braun last edited by

          @thomas-braun

          Guten Abend

          Hoffe mal ich bekomme noch eine Antwort, der Trade ist ja doch schon etwas älter.
          Mein Problem liegt auch bei npm Cache. Hab Versucht einen herauszufinden wie ich einen Cronjob anlegen kann für npm, werde aber da nicht wirklich fündig oder besser gesagt weiß nicht genau nach was ich suchen soll. Kann mir jemand erklären wie ich einen Cronjob anlege für npm das jeden zweiten Tag um 1 Uhr der Cache gelehrt wird?

          Danke schon mal.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Balu0127 last edited by

            @balu0127

            Würde ich nicht machen. Der Cache erfüllt ja einen Zweck.
            Schau lieber das der Datenträger ausreichen dimensioniert ist.
            Sooooo riesig sollte der ja nun auch nicht sein. Hier z. B. gesunde 1,5GB:

            --- /home/iobroker -------------------------------------------------------------------------------------------
                                          /..
                1.5 GiB [###############] /.npm
              563.5 MiB [#####          ] /.cache
            
            
            B 1 Reply Last reply Reply Quote 0
            • B
              Balu0127 @Thomas Braun last edited by

              @thomas-braun

              Ich weiß erlich gesagt auch nicht warum mir der NPM Cache voll läuft. Nach ein paar Monaten ist IOB nicht mehr erreichbar und dann kommt der Fehler

              Checking for uncompressed JSONL databases... This might take a while!

              npm ERR! code ENOSPC
              npm ERR! syscall write
              npm ERR! errno -28
              npm ERR! nospc ENOSPC: no space left on device, write
              npm ERR! nospc There appears to be insufficient space on your system to finish.
              npm ERR! nospc Clear up some disk space and try again.

              npm ERR! A complete log of this run can be found in: /home-debug-0.log
              main: line 14: [: -lt: unary operator expected
              npm ERR! code ENOSPC
              npm ERR! syscall write
              npm ERR! errno -28
              npm ERR! nospc ENOSPC: no space left on device, write
              npm ERR! nospc There appears to be insufficient space on your system to finish.
              npm ERR! nospc Clear up some disk space and try again.

              Leider bin ich ein kompletter Idiot bei linux.
              Speicher ist 32gb groß.
              Wie finde ich raus ob der Speicher voll ist?

              Man könnte ja auch npm cache verify machen sollte soweit mich mein Englisch nicht im Stich gelassen hat auch den Müll entvernen.

              Bis jetzt ist mein Weg, Ich setz dan die VM zurück, dann geht es wieder.

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Balu0127 last edited by

                @balu0127 sagte in System Festplattenspeicherbedarf / aufräumen:

                Wie finde ich raus ob der Speicher voll ist?

                @balu0127 sagte in System Festplattenspeicherbedarf / aufräumen:

                npm ERR! code ENOSPC

                heisst, dass die Festplatte/Partition voll ist

                B 1 Reply Last reply Reply Quote 0
                • B
                  Balu0127 @Homoran last edited by

                  @homoran

                  Okay und was nun, alle paar Monate NPN Cache leeren? HMM ich werd woul nciht drumm rumkommen den cache von hand zu leeren.
                  Auch wenn ich die Partition gröser mache, dann dauert ea halt länger bis die voll ist. Sollte sich NPM nicht selbst frei schaufeln?

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Balu0127 last edited by Homoran

                    @balu0127 sagte in System Festplattenspeicherbedarf / aufräumen:

                    Auch wenn ich die Partition gröser mache, dann dauert ea halt länger bis die voll ist. Sollte sich NPM nicht selbst frei schaufeln?

                    tut er, aber nur 12 GB ist wohl zu wenig für alles was da läuft.
                    npm cache leeren hält nur ganz kurz. bei der nächsten npm Aktion wird er wieder angelegt.

                    wie dieht denn ncdu über das gesamte System aus?

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Balu0127 @Homoran last edited by

                      @homoran

                      Schitt speicher erweitern in Proxmox hat mir schon mal jemand gemacht, war kopliziert ging aber ohne eine neue VM aufzumachen. Hat eventuell jemand eine Anleitung wie ich den vergösern kann?

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Balu0127 last edited by

                        @balu0127 ja, ist kompliziert!

                        hast du denn überhaupt noch ausreichend Platz auf der Platte?

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          Balu0127 @Homoran last edited by

                          @homoran be2a6136-0030-40cb-9b12-592c6a463153-image.png

                          Hoffe mal das ist richtig, da sollte noch genug frei sein. IOB hat jetzt 32gb

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Balu0127 last edited by

                            @balu0127 sagte in System Festplattenspeicherbedarf / aufräumen:

                            IOB hat jetzt 32gb

                            sicher?
                            unter Proxmox einstellen ist das eine. Anschließend muss mit GParted live noch die Partition auf die zugewiesene Größe erweitert werden

                            B 2 Replies Last reply Reply Quote 0
                            • B
                              Balu0127 @Homoran last edited by

                              @homoran e7833614-7464-4222-a0cb-10766edb1d94-image.png

                              Homoran 1 Reply Last reply Reply Quote 0
                              • B
                                Balu0127 @Homoran last edited by

                                @homoran

                                Der Herr hat das alles über linux gemacht, war jetzt nicht Spezifisch IOB sondern Proxmox auf eine Grösere ssd um zu ziehen. Wenn mir der Nahme einfallen würde ist aber schon gut 1 bis 2 Jahre her.

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Balu0127 last edited by Homoran

                                  @balu0127 das ist der zugewiesen Platz. Der ist aber nicht wirklich existent
                                  mach mal in der iob VM df -h

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Balu0127 last edited by

                                    @balu0127 sagte in System Festplattenspeicherbedarf / aufräumen:

                                    Proxmox auf eine Grösere ssd um zu ziehen.

                                    das ist ja noch ganz was anderes als innerhalb von Proxmox die Größe einer VM zu erhöhen.

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      Balu0127 @Homoran last edited by Balu0127

                                      @homoran b36ded53-adca-4f6e-a0ba-1eda93a43431-image.png

                                      Hab mich mit Putty auf IOB Verbunden, sollte das gleiche sein?

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Balu0127 last edited by

                                        @balu0127 ich sehe 16G

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          Balu0127 @Homoran last edited by

                                          @homoran Kann ich das Irgendwie erhöhen?

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Balu0127 last edited by

                                            @balu0127 sagte in System Festplattenspeicherbedarf / aufräumen:

                                            @homoran Kann ich das Irgendwie erhöhen?

                                            @homoran sagte in System Festplattenspeicherbedarf / aufräumen:

                                            Anschließend muss mit GParted live noch die Partition auf die zugewiesene Größe erweitert werden

                                            @homoran sagte in System Festplattenspeicherbedarf / aufräumen:

                                            ja, ist kompliziert!

                                            B 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            518
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            44
                                            2112
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo