Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Festplatte voll ? Wie Speicher freigeben ?

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    11
    1
    84

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    554

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

Festplatte voll ? Wie Speicher freigeben ?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
23 Beiträge 8 Kommentatoren 3.5k Aufrufe 8 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • F Fridolin01

    @dp20eic said in Festplatte voll ? Wie Speicher freigeben ?:

    sudo du -kx / | sort -nk1,1

    Denke der Backup Ordner ist schon mal ein Anfang

    191048  /var/lib/snapd/seed
    243376  /usr/bin
    254632  /opt/iobroker/iobroker-data/files
    283620  /usr/share
    286932  /usr/src
    329556  /usr/lib/x86_64-linux-gnu
    338096  /usr/lib/modules/5.15.0-73-generic/kernel/drivers
    338216  /usr/lib/modules/5.15.0-75-generic/kernel/drivers
    459136  /var/lib/snapd/snaps
    474404  /usr/lib/modules/5.15.0-73-generic/kernel
    474524  /usr/lib/modules/5.15.0-75-generic/kernel
    480968  /usr/lib/modules/5.15.0-73-generic
    481116  /usr/lib/modules/5.15.0-75-generic
    651456  /var/lib/snapd
    679992  /opt/iobroker/iobroker-data/history
    698104  /var/lib
    852380  /var/log/journal/171607558ad64459888e60cfb396945b
    852384  /var/log/journal
    856724  /var/log
    932484  /home/iobroker/.npm/_cacache/content-v2/sha512
    932488  /home/iobroker/.npm/_cacache/content-v2
    943120  /opt/iobroker/node_modules
    962092  /usr/lib/firmware
    984380  /usr/lib/modules
    999424  /home/iobroker/.npm/_cacache
    1022052 /home/iobroker/.npm
    1051556 /home/iobroker
    1109860 /opt/iobroker/iobroker-data
    1184224 /home
    1446232 /opt/iobroker/log
    1578848 /var
    1597308 /opt/iobroker/backups
    2638596 /usr/lib
    3535664 /usr
    5097556 /opt/iobroker
    5097560 /opt
    
    

    Sonst noch etwas das weg kann?
    Wie genau lautet der Befehl zum löschen in der Console ?

    Danke für eure Hilfe

    maximal1981M Offline
    maximal1981M Offline
    maximal1981
    schrieb am zuletzt editiert von
    #8

    @fridolin01
    echt jetzt? so faul?

    https://letmegooglethat.com/?q=linux+befehl+datei+l%C3%B6schen

    1 Antwort Letzte Antwort
    0
    • F Fridolin01

      @dp20eic said in Festplatte voll ? Wie Speicher freigeben ?:

      sudo du -kx / | sort -nk1,1

      Denke der Backup Ordner ist schon mal ein Anfang

      191048  /var/lib/snapd/seed
      243376  /usr/bin
      254632  /opt/iobroker/iobroker-data/files
      283620  /usr/share
      286932  /usr/src
      329556  /usr/lib/x86_64-linux-gnu
      338096  /usr/lib/modules/5.15.0-73-generic/kernel/drivers
      338216  /usr/lib/modules/5.15.0-75-generic/kernel/drivers
      459136  /var/lib/snapd/snaps
      474404  /usr/lib/modules/5.15.0-73-generic/kernel
      474524  /usr/lib/modules/5.15.0-75-generic/kernel
      480968  /usr/lib/modules/5.15.0-73-generic
      481116  /usr/lib/modules/5.15.0-75-generic
      651456  /var/lib/snapd
      679992  /opt/iobroker/iobroker-data/history
      698104  /var/lib
      852380  /var/log/journal/171607558ad64459888e60cfb396945b
      852384  /var/log/journal
      856724  /var/log
      932484  /home/iobroker/.npm/_cacache/content-v2/sha512
      932488  /home/iobroker/.npm/_cacache/content-v2
      943120  /opt/iobroker/node_modules
      962092  /usr/lib/firmware
      984380  /usr/lib/modules
      999424  /home/iobroker/.npm/_cacache
      1022052 /home/iobroker/.npm
      1051556 /home/iobroker
      1109860 /opt/iobroker/iobroker-data
      1184224 /home
      1446232 /opt/iobroker/log
      1578848 /var
      1597308 /opt/iobroker/backups
      2638596 /usr/lib
      3535664 /usr
      5097556 /opt/iobroker
      5097560 /opt
      
      

      Sonst noch etwas das weg kann?
      Wie genau lautet der Befehl zum löschen in der Console ?

      Danke für eure Hilfe

      HomoranH Offline
      HomoranH Offline
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #9

      @fridolin01 sagte in Festplatte voll ? Wie Speicher freigeben ?:

      Sonst noch etwas das weg kann?

      was ist denn dadrin?
      kann das wirklich weg?

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Antwort Letzte Antwort
      0
      • F Fridolin01

        @dp20eic said in Festplatte voll ? Wie Speicher freigeben ?:

        sudo du -kx / | sort -nk1,1

        Denke der Backup Ordner ist schon mal ein Anfang

        191048  /var/lib/snapd/seed
        243376  /usr/bin
        254632  /opt/iobroker/iobroker-data/files
        283620  /usr/share
        286932  /usr/src
        329556  /usr/lib/x86_64-linux-gnu
        338096  /usr/lib/modules/5.15.0-73-generic/kernel/drivers
        338216  /usr/lib/modules/5.15.0-75-generic/kernel/drivers
        459136  /var/lib/snapd/snaps
        474404  /usr/lib/modules/5.15.0-73-generic/kernel
        474524  /usr/lib/modules/5.15.0-75-generic/kernel
        480968  /usr/lib/modules/5.15.0-73-generic
        481116  /usr/lib/modules/5.15.0-75-generic
        651456  /var/lib/snapd
        679992  /opt/iobroker/iobroker-data/history
        698104  /var/lib
        852380  /var/log/journal/171607558ad64459888e60cfb396945b
        852384  /var/log/journal
        856724  /var/log
        932484  /home/iobroker/.npm/_cacache/content-v2/sha512
        932488  /home/iobroker/.npm/_cacache/content-v2
        943120  /opt/iobroker/node_modules
        962092  /usr/lib/firmware
        984380  /usr/lib/modules
        999424  /home/iobroker/.npm/_cacache
        1022052 /home/iobroker/.npm
        1051556 /home/iobroker
        1109860 /opt/iobroker/iobroker-data
        1184224 /home
        1446232 /opt/iobroker/log
        1578848 /var
        1597308 /opt/iobroker/backups
        2638596 /usr/lib
        3535664 /usr
        5097556 /opt/iobroker
        5097560 /opt
        
        

        Sonst noch etwas das weg kann?
        Wie genau lautet der Befehl zum löschen in der Console ?

        Danke für eure Hilfe

        ? Offline
        ? Offline
        Ein ehemaliger Benutzer
        schrieb am zuletzt editiert von
        #10

        @fridolin01 sagte in Festplatte voll ? Wie Speicher freigeben ?:

        Danke für eure Hilfe

        Moin,

        ich komme gerade vom See und bin etwas faul, aber Du hast uns noch nicht gesagt, worauf Dein ioBroker läuft, ich vermute mal eine VM.
        Wenn es eine VM ist, dann kann man dieser auch erst einmal mehr Speicher zuordnen, aber auch dazu muss man erst einmal wissen was Du wie eingerichtet hast.

        Ich habe zwei ioBroker im LXC Container unter Proxmox am Laufen und beide ist nur ca. 1 GB groß Deiner 5 GB (/opt/iobroker) wenn da die 1,5 GB vom Backup noch weg kommen bleiben immer noch 3,5 GB was hast Du da alles installiert?

        Du musst, wie ich oben schon schrieb, uns auch zeigen, was im Ordner/Verzeichnis liegt

        ls -la /opt/iobroker/backups
        

        VG
        Bernd

        SchmakusS 1 Antwort Letzte Antwort
        0
        • ? Ein ehemaliger Benutzer

          @fridolin01 sagte in Festplatte voll ? Wie Speicher freigeben ?:

          Danke für eure Hilfe

          Moin,

          ich komme gerade vom See und bin etwas faul, aber Du hast uns noch nicht gesagt, worauf Dein ioBroker läuft, ich vermute mal eine VM.
          Wenn es eine VM ist, dann kann man dieser auch erst einmal mehr Speicher zuordnen, aber auch dazu muss man erst einmal wissen was Du wie eingerichtet hast.

          Ich habe zwei ioBroker im LXC Container unter Proxmox am Laufen und beide ist nur ca. 1 GB groß Deiner 5 GB (/opt/iobroker) wenn da die 1,5 GB vom Backup noch weg kommen bleiben immer noch 3,5 GB was hast Du da alles installiert?

          Du musst, wie ich oben schon schrieb, uns auch zeigen, was im Ordner/Verzeichnis liegt

          ls -la /opt/iobroker/backups
          

          VG
          Bernd

          SchmakusS Offline
          SchmakusS Offline
          Schmakus
          Developer
          schrieb am zuletzt editiert von
          #11

          Ich habe auch auf meiner Proxmox VM ca. 10GB an Daten.

          721256	/var/cache
          742420	/opt/iobroker/backups
          1043536	/opt/iobroker/iobroker-data/files
          1152792	/usr/lib/x86_64-linux-gnu
          1460492	/opt/iobroker/iobroker-data
          1523116	/usr/lib/modules
          1794960	/usr/share
          2102964	/opt/iobroker/node_modules
          2948024	/home/iobroker/.npm/_cacache/content-v2/sha512
          2987064	/home/iobroker/.npm/_cacache/content-v2
          3083600	/home/iobroker/.npm/_cacache
          3113740	/home/iobroker/.npm
          3178672	/var/log/journal/d42f7fb7c0134c239a49631175eaef44
          3178676	/var/log/journal
          3353400	/var/log
          3416588	/home/iobroker
          3426948	/home
          3488308	/usr/lib
          4348460	/var
          4629740	/opt/iobroker
          4629744	/opt
          5673808	/usr
          

          So, wo setze ich nun an?

          Dev of LightControl Adapter, Contributor of HUE and DoorBird Adapter

          ? 1 Antwort Letzte Antwort
          0
          • SchmakusS Schmakus

            Ich habe auch auf meiner Proxmox VM ca. 10GB an Daten.

            721256	/var/cache
            742420	/opt/iobroker/backups
            1043536	/opt/iobroker/iobroker-data/files
            1152792	/usr/lib/x86_64-linux-gnu
            1460492	/opt/iobroker/iobroker-data
            1523116	/usr/lib/modules
            1794960	/usr/share
            2102964	/opt/iobroker/node_modules
            2948024	/home/iobroker/.npm/_cacache/content-v2/sha512
            2987064	/home/iobroker/.npm/_cacache/content-v2
            3083600	/home/iobroker/.npm/_cacache
            3113740	/home/iobroker/.npm
            3178672	/var/log/journal/d42f7fb7c0134c239a49631175eaef44
            3178676	/var/log/journal
            3353400	/var/log
            3416588	/home/iobroker
            3426948	/home
            3488308	/usr/lib
            4348460	/var
            4629740	/opt/iobroker
            4629744	/opt
            5673808	/usr
            

            So, wo setze ich nun an?

            ? Offline
            ? Offline
            Ein ehemaliger Benutzer
            schrieb am zuletzt editiert von
            #12

            @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

            So, wo setze ich nun an?

            Moin,

            installier mal, so es noch nicht auf Deiner VM ist, das Programm ncdu, dann einmal ncdu aufrufen und hier Zeigen
            Installation:

            sudo apt install ncdu
            
            sudo ncdu /
            

            das, was da herauskommt, sieht dann in etwa so aus

            ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help                                                              
            --- / ----------------------------------------------------------------------------------------------------------------------
                1.6 GiB [##########] /home                                                                                              
              934.3 MiB [#####     ] /usr
              828.0 MiB [####      ] /opt
              660.2 MiB [###       ] /var
               21.4 MiB [          ] /lib
               16.9 MiB [          ] /root
                6.8 MiB [          ] /bin
                4.6 MiB [          ] /sbin
                3.5 MiB [          ] /etc
              128.0 KiB [          ] /run
               29.0 KiB [          ] /tmp
            .   4.0 KiB [          ] /proc
            .   4.0 KiB [          ] /dev
                1.5 KiB [          ] /mnt
                1.0 KiB [          ] /lib64
              512.0   B [          ]  .pxarexclude-cli
            e 512.0   B [          ] /srv
            e 512.0   B [          ] /media
            e 512.0   B [          ] /boot
            .   0.0   B [          ] /sys
            

            Und so nachdem ich mein Home aufgeräumt habe

            ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help                                                              
            --- / ----------------------------------------------------------------------------------------------------------------------
              934.3 MiB [##########] /usr                                                                                               
              828.2 MiB [########  ] /opt
              660.2 MiB [#######   ] /var
              392.6 MiB [####      ] /home
               21.4 MiB [          ] /lib
               16.9 MiB [          ] /root
                6.8 MiB [          ] /bin
                4.6 MiB [          ] /sbin
                3.5 MiB [          ] /etc
              128.0 KiB [          ] /run
               29.0 KiB [          ] /tmp
            .   4.0 KiB [          ] /proc
            .   4.0 KiB [          ] /dev
                1.5 KiB [          ] /mnt
                1.0 KiB [          ] /lib64
              512.0   B [          ]  .pxarexclude-cli
            e 512.0   B [          ] /srv
            e 512.0   B [          ] /media
            e 512.0   B [          ] /boot
            .   0.0   B [          ] /sys
            

            VG
            Bernd

            SchmakusS 1 Antwort Letzte Antwort
            0
            • ? Ein ehemaliger Benutzer

              @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

              So, wo setze ich nun an?

              Moin,

              installier mal, so es noch nicht auf Deiner VM ist, das Programm ncdu, dann einmal ncdu aufrufen und hier Zeigen
              Installation:

              sudo apt install ncdu
              
              sudo ncdu /
              

              das, was da herauskommt, sieht dann in etwa so aus

              ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help                                                              
              --- / ----------------------------------------------------------------------------------------------------------------------
                  1.6 GiB [##########] /home                                                                                              
                934.3 MiB [#####     ] /usr
                828.0 MiB [####      ] /opt
                660.2 MiB [###       ] /var
                 21.4 MiB [          ] /lib
                 16.9 MiB [          ] /root
                  6.8 MiB [          ] /bin
                  4.6 MiB [          ] /sbin
                  3.5 MiB [          ] /etc
                128.0 KiB [          ] /run
                 29.0 KiB [          ] /tmp
              .   4.0 KiB [          ] /proc
              .   4.0 KiB [          ] /dev
                  1.5 KiB [          ] /mnt
                  1.0 KiB [          ] /lib64
                512.0   B [          ]  .pxarexclude-cli
              e 512.0   B [          ] /srv
              e 512.0   B [          ] /media
              e 512.0   B [          ] /boot
              .   0.0   B [          ] /sys
              

              Und so nachdem ich mein Home aufgeräumt habe

              ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help                                                              
              --- / ----------------------------------------------------------------------------------------------------------------------
                934.3 MiB [##########] /usr                                                                                               
                828.2 MiB [########  ] /opt
                660.2 MiB [#######   ] /var
                392.6 MiB [####      ] /home
                 21.4 MiB [          ] /lib
                 16.9 MiB [          ] /root
                  6.8 MiB [          ] /bin
                  4.6 MiB [          ] /sbin
                  3.5 MiB [          ] /etc
                128.0 KiB [          ] /run
                 29.0 KiB [          ] /tmp
              .   4.0 KiB [          ] /proc
              .   4.0 KiB [          ] /dev
                  1.5 KiB [          ] /mnt
                  1.0 KiB [          ] /lib64
                512.0   B [          ]  .pxarexclude-cli
              e 512.0   B [          ] /srv
              e 512.0   B [          ] /media
              e 512.0   B [          ] /boot
              .   0.0   B [          ] /sys
              

              VG
              Bernd

              SchmakusS Offline
              SchmakusS Offline
              Schmakus
              Developer
              schrieb am zuletzt editiert von Schmakus
              #13

              @dp20eic

              /usr und /optist ziemlich groß.
              /optda liegt ja auch ioB. Ich konnte aber noch nicht ermitteln, was genau dort so groß ist. Die Backups sind net. Die Logs auch nicht.

              Was hast im /homegesäubert?

              --- / --------------------------------------------------------------------------
                  5,7 GiB [##########] /usr
                  4,6 GiB [#######   ] /opt
                  4,2 GiB [#######   ] /var
                  3,3 GiB [#####     ] /home                                                  
                292,3 MiB [          ] /boot
                 90,2 MiB [          ] /root
                 11,1 MiB [          ] /etc
                  1,3 MiB [          ] /run
                 88,0 KiB [          ] /tmp
              e  16,0 KiB [          ] /lost+found
                  8,0 KiB [          ] /media
              e   4,0 KiB [          ] /srv
              e   4,0 KiB [          ] /mnt
              e   4,0 KiB [          ] /.cache
              .   0,0   B [          ] /proc
                  0,0   B [          ] /sys
                  0,0   B [          ] /dev
              @   0,0   B [          ]  initrd.img.old
              @   0,0   B [          ]  initrd.img
              @   0,0   B [          ]  vmlinuz.old
              @   0,0   B [          ]  vmlinuz
              

              Dev of LightControl Adapter, Contributor of HUE and DoorBird Adapter

              crunchipC ? 2 Antworten Letzte Antwort
              0
              • SchmakusS Schmakus

                @dp20eic

                /usr und /optist ziemlich groß.
                /optda liegt ja auch ioB. Ich konnte aber noch nicht ermitteln, was genau dort so groß ist. Die Backups sind net. Die Logs auch nicht.

                Was hast im /homegesäubert?

                --- / --------------------------------------------------------------------------
                    5,7 GiB [##########] /usr
                    4,6 GiB [#######   ] /opt
                    4,2 GiB [#######   ] /var
                    3,3 GiB [#####     ] /home                                                  
                  292,3 MiB [          ] /boot
                   90,2 MiB [          ] /root
                   11,1 MiB [          ] /etc
                    1,3 MiB [          ] /run
                   88,0 KiB [          ] /tmp
                e  16,0 KiB [          ] /lost+found
                    8,0 KiB [          ] /media
                e   4,0 KiB [          ] /srv
                e   4,0 KiB [          ] /mnt
                e   4,0 KiB [          ] /.cache
                .   0,0   B [          ] /proc
                    0,0   B [          ] /sys
                    0,0   B [          ] /dev
                @   0,0   B [          ]  initrd.img.old
                @   0,0   B [          ]  initrd.img
                @   0,0   B [          ]  vmlinuz.old
                @   0,0   B [          ]  vmlinuz
                
                crunchipC Abwesend
                crunchipC Abwesend
                crunchip
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #14

                @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

                konnte aber noch nicht ermitteln, was genau

                Dann musst du in die jeweilige Ebene

                umgestiegen von Proxmox auf Unraid

                1 Antwort Letzte Antwort
                0
                • SchmakusS Schmakus

                  @dp20eic

                  /usr und /optist ziemlich groß.
                  /optda liegt ja auch ioB. Ich konnte aber noch nicht ermitteln, was genau dort so groß ist. Die Backups sind net. Die Logs auch nicht.

                  Was hast im /homegesäubert?

                  --- / --------------------------------------------------------------------------
                      5,7 GiB [##########] /usr
                      4,6 GiB [#######   ] /opt
                      4,2 GiB [#######   ] /var
                      3,3 GiB [#####     ] /home                                                  
                    292,3 MiB [          ] /boot
                     90,2 MiB [          ] /root
                     11,1 MiB [          ] /etc
                      1,3 MiB [          ] /run
                     88,0 KiB [          ] /tmp
                  e  16,0 KiB [          ] /lost+found
                      8,0 KiB [          ] /media
                  e   4,0 KiB [          ] /srv
                  e   4,0 KiB [          ] /mnt
                  e   4,0 KiB [          ] /.cache
                  .   0,0   B [          ] /proc
                      0,0   B [          ] /sys
                      0,0   B [          ] /dev
                  @   0,0   B [          ]  initrd.img.old
                  @   0,0   B [          ]  initrd.img
                  @   0,0   B [          ]  vmlinuz.old
                  @   0,0   B [          ]  vmlinuz
                  
                  ? Offline
                  ? Offline
                  Ein ehemaliger Benutzer
                  schrieb am zuletzt editiert von Ein ehemaliger Benutzer
                  #15

                  @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

                  @dp20eic
                  /usr und /optist ziemlich groß.
                  /optda liegt ja auch ioB. Ich konnte aber noch nicht ermitteln, was genau dort so groß ist. Die Backups sind net. Die Logs auch nicht.

                  Moin,

                  bei /usr da kannst Du nichts machen, da liegt alles, was Du installiert hast, wie Programme /usr/bin oder die Libraries /usr/lib und so anderer Kram, da bloß nichts anfassen!
                  Unter /opt, ja daliegt auch der ioBroker manchmal aber auch andere Software, die man installiert hat. Wie @crunchip schon geschrieben hat, kann man, wenn ncdu fertig ist und Dir das Ergebnis anzeigt, mit den Cursortasten zwischen den einzelnen Verzeichnissen hin und her wechseln, siehe

                  ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help
                  

                  @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

                  Was hast im /homegesäubert?

                  Das sind Dinge, die ich hier nicht schreibe, denn da kann man auch mal schnell was kaputt machen, wenn man nicht weiß, was man da macht.

                  Also erst einmal schauen was da so unter /opt liegt und Speicher braucht.
                  Eine VM mit 10 GB, da kommt es auch darauf an, welches OS Du da installiert hast, einige Distros sind etwas fetter als andere, dann sind da schon mal locker 8 GB nur fürs Betriebssystem auf der Platte belegt.

                  Also schau erst einmal in die Verzeichnisse /opt, /var und /home was sich da so alles an fetten Dingen versteckt, dann fangen wir da an aufzuräumen.

                  VG
                  Bernd

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • ? Ein ehemaliger Benutzer

                    @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

                    @dp20eic
                    /usr und /optist ziemlich groß.
                    /optda liegt ja auch ioB. Ich konnte aber noch nicht ermitteln, was genau dort so groß ist. Die Backups sind net. Die Logs auch nicht.

                    Moin,

                    bei /usr da kannst Du nichts machen, da liegt alles, was Du installiert hast, wie Programme /usr/bin oder die Libraries /usr/lib und so anderer Kram, da bloß nichts anfassen!
                    Unter /opt, ja daliegt auch der ioBroker manchmal aber auch andere Software, die man installiert hat. Wie @crunchip schon geschrieben hat, kann man, wenn ncdu fertig ist und Dir das Ergebnis anzeigt, mit den Cursortasten zwischen den einzelnen Verzeichnissen hin und her wechseln, siehe

                    ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help
                    

                    @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

                    Was hast im /homegesäubert?

                    Das sind Dinge, die ich hier nicht schreibe, denn da kann man auch mal schnell was kaputt machen, wenn man nicht weiß, was man da macht.

                    Also erst einmal schauen was da so unter /opt liegt und Speicher braucht.
                    Eine VM mit 10 GB, da kommt es auch darauf an, welches OS Du da installiert hast, einige Distros sind etwas fetter als andere, dann sind da schon mal locker 8 GB nur fürs Betriebssystem auf der Platte belegt.

                    Also schau erst einmal in die Verzeichnisse /opt, /var und /home was sich da so alles an fetten Dingen versteckt, dann fangen wir da an aufzuräumen.

                    VG
                    Bernd

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #16

                    Noch so als schlaue Randbemerkung:

                    Nicht einfach so irgendwas aus

                    4,6 GiB [#######   ] /opt
                    4,2 GiB [#######   ] /var
                    3,3 GiB [#####     ] /home                 
                    

                    löschen. Das geht allenfalls in /home, Daten in /opt oder /var sollten 'ordentlich' eingedampft werden. Das journal in /var/ z. B. mit dem 'Staubsauger'.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    SchmakusS 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      Noch so als schlaue Randbemerkung:

                      Nicht einfach so irgendwas aus

                      4,6 GiB [#######   ] /opt
                      4,2 GiB [#######   ] /var
                      3,3 GiB [#####     ] /home                 
                      

                      löschen. Das geht allenfalls in /home, Daten in /opt oder /var sollten 'ordentlich' eingedampft werden. Das journal in /var/ z. B. mit dem 'Staubsauger'.

                      SchmakusS Offline
                      SchmakusS Offline
                      Schmakus
                      Developer
                      schrieb am zuletzt editiert von
                      #17

                      Hier mal ne Übersicht der großen Sachen:

                      --- /usr/lib -------------------------------------------------------------------
                                               /..
                          1,8 GiB [##########] /modules                                               
                          1,1 GiB [######    ] /x86_64-linux-gnu
                        288,9 MiB [#         ] /libreoffice
                        215,6 MiB [#         ] /firefox-esr
                      
                      --- /var -----------------------------------------------------------------------
                                               /..
                          3,2 GiB [##########] /log                                                   
                        704,3 MiB [##        ] /cache
                      
                      --- /var/log/journal -----------------------------------------------------------
                                               /..
                          3,0 GiB [##########] /d42f7fb7c0134c239a49631175eaef44                      
                      
                      
                      --- /var/cache/apt/archives ----------------------------------------------------
                                               /..                                                    
                         57,3 MiB [##########]  firefox-esr_102.9.0esr-1~deb11u1_amd64.deb
                         53,4 MiB [######### ]  firefox-esr_78.15.0esr-1~deb10u1_amd64.deb
                         35,1 MiB [######    ]  libreoffice-common_1%3a6.1.5-3+deb10u7_all.deb
                         31,1 MiB [#####     ]  libreoffice-core_1%3a6.1.5-3+deb10u7_amd64.deb
                         30,1 MiB [#####     ]  libpython2.7-dev_2.7.16-2+deb10u1_amd64.deb
                         25,9 MiB [####      ]  nodejs_16.19.1-deb-1nodesource1_amd64.deb
                         24,2 MiB [####      ]  nodejs_14.19.0-deb-1nodesource1_amd64.deb
                         17,2 MiB [###       ]  nodejs_12.22.6-deb-1nodesource1_amd64.deb
                         17,2 MiB [###       ]  nodejs_12.22.7-deb-1nodesource1_amd64.deb
                         15,3 MiB [##        ]  libwebkit2gtk-4.0-37_2.38.5-1~deb11u1_amd64.deb
                         13,4 MiB [##        ]  libwebkit2gtk-4.0-37_2.34.1-1~deb10u1_amd64.deb
                          8,8 MiB [#         ]  libicu-dev_63.1-6+deb10u1_amd64.deb
                          8,2 MiB [#         ]  libreoffice-writer_1%3a6.1.5-3+deb10u7_amd64.deb
                          7,0 MiB [#         ]  libreoffice-calc_1%3a6.1.5-3+deb10u7_amd64.deb
                          7,0 MiB [#         ]  evolution-common_3.38.3-1+deb11u1_all.deb
                      
                      --- /home/iobroker/.npm/_cacache -----------------------------------------------
                                               /..
                          2,9 GiB [##########] /content-v2                                            
                         94,7 MiB [          ] /index-v5
                      e  12,0 KiB [          ] /tmp
                      
                      --- /opt/iobroker/node_modules -------------------------------------------------
                                               /..
                        472,7 MiB [##########] /iobroker.vis-2-beta                                   
                        165,7 MiB [###       ] /canvas
                      

                      vis-2 schluckt auch ordentlich bei den Files

                      Dev of LightControl Adapter, Contributor of HUE and DoorBird Adapter

                      Thomas BraunT ? 2 Antworten Letzte Antwort
                      0
                      • SchmakusS Schmakus

                        Hier mal ne Übersicht der großen Sachen:

                        --- /usr/lib -------------------------------------------------------------------
                                                 /..
                            1,8 GiB [##########] /modules                                               
                            1,1 GiB [######    ] /x86_64-linux-gnu
                          288,9 MiB [#         ] /libreoffice
                          215,6 MiB [#         ] /firefox-esr
                        
                        --- /var -----------------------------------------------------------------------
                                                 /..
                            3,2 GiB [##########] /log                                                   
                          704,3 MiB [##        ] /cache
                        
                        --- /var/log/journal -----------------------------------------------------------
                                                 /..
                            3,0 GiB [##########] /d42f7fb7c0134c239a49631175eaef44                      
                        
                        
                        --- /var/cache/apt/archives ----------------------------------------------------
                                                 /..                                                    
                           57,3 MiB [##########]  firefox-esr_102.9.0esr-1~deb11u1_amd64.deb
                           53,4 MiB [######### ]  firefox-esr_78.15.0esr-1~deb10u1_amd64.deb
                           35,1 MiB [######    ]  libreoffice-common_1%3a6.1.5-3+deb10u7_all.deb
                           31,1 MiB [#####     ]  libreoffice-core_1%3a6.1.5-3+deb10u7_amd64.deb
                           30,1 MiB [#####     ]  libpython2.7-dev_2.7.16-2+deb10u1_amd64.deb
                           25,9 MiB [####      ]  nodejs_16.19.1-deb-1nodesource1_amd64.deb
                           24,2 MiB [####      ]  nodejs_14.19.0-deb-1nodesource1_amd64.deb
                           17,2 MiB [###       ]  nodejs_12.22.6-deb-1nodesource1_amd64.deb
                           17,2 MiB [###       ]  nodejs_12.22.7-deb-1nodesource1_amd64.deb
                           15,3 MiB [##        ]  libwebkit2gtk-4.0-37_2.38.5-1~deb11u1_amd64.deb
                           13,4 MiB [##        ]  libwebkit2gtk-4.0-37_2.34.1-1~deb10u1_amd64.deb
                            8,8 MiB [#         ]  libicu-dev_63.1-6+deb10u1_amd64.deb
                            8,2 MiB [#         ]  libreoffice-writer_1%3a6.1.5-3+deb10u7_amd64.deb
                            7,0 MiB [#         ]  libreoffice-calc_1%3a6.1.5-3+deb10u7_amd64.deb
                            7,0 MiB [#         ]  evolution-common_3.38.3-1+deb11u1_all.deb
                        
                        --- /home/iobroker/.npm/_cacache -----------------------------------------------
                                                 /..
                            2,9 GiB [##########] /content-v2                                            
                           94,7 MiB [          ] /index-v5
                        e  12,0 KiB [          ] /tmp
                        
                        --- /opt/iobroker/node_modules -------------------------------------------------
                                                 /..
                          472,7 MiB [##########] /iobroker.vis-2-beta                                   
                          165,7 MiB [###       ] /canvas
                        

                        vis-2 schluckt auch ordentlich bei den Files

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von Thomas Braun
                        #18

                        @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:
                        Ich würde wohl den
                        /.npm/_cacache
                        und
                        /cache/apt/archives
                        eindampfen.

                        sudo -H -u iobroker npm cache clean --force
                        

                        und

                        sudo apt-get clean
                        

                        Wobei ich mich auch frage, was mit openoffice und evolution auf einem Server getan wird.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        SchmakusS 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:
                          Ich würde wohl den
                          /.npm/_cacache
                          und
                          /cache/apt/archives
                          eindampfen.

                          sudo -H -u iobroker npm cache clean --force
                          

                          und

                          sudo apt-get clean
                          

                          Wobei ich mich auch frage, was mit openoffice und evolution auf einem Server getan wird.

                          SchmakusS Offline
                          SchmakusS Offline
                          Schmakus
                          Developer
                          schrieb am zuletzt editiert von Schmakus
                          #19

                          @thomas-braun sagte in Festplatte voll ? Wie Speicher freigeben ?:

                          sudo -H -u iobroker npm cache clean –force

                          der Befehl wirft mir nen error. (Debian Bullseye)

                          sudo -H -u iobroker npm cache clean –force
                          npm ERR! arg Argument starts with non-ascii dash, this is probably invalid: –force
                          npm WARN Not Found: –force 
                          

                          Dev of LightControl Adapter, Contributor of HUE and DoorBird Adapter

                          Thomas BraunT DJMarc75D 2 Antworten Letzte Antwort
                          0
                          • SchmakusS Schmakus

                            @thomas-braun sagte in Festplatte voll ? Wie Speicher freigeben ?:

                            sudo -H -u iobroker npm cache clean –force

                            der Befehl wirft mir nen error. (Debian Bullseye)

                            sudo -H -u iobroker npm cache clean –force
                            npm ERR! arg Argument starts with non-ascii dash, this is probably invalid: –force
                            npm WARN Not Found: –force 
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #20

                            @schmakus

                            Mein Fehler, das muss --force lauten. Argumente immer mit zwei -, Optionen mit einem -

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            DJMarc75D 1 Antwort Letzte Antwort
                            0
                            • SchmakusS Schmakus

                              @thomas-braun sagte in Festplatte voll ? Wie Speicher freigeben ?:

                              sudo -H -u iobroker npm cache clean –force

                              der Befehl wirft mir nen error. (Debian Bullseye)

                              sudo -H -u iobroker npm cache clean –force
                              npm ERR! arg Argument starts with non-ascii dash, this is probably invalid: –force
                              npm WARN Not Found: –force 
                              
                              DJMarc75D Offline
                              DJMarc75D Offline
                              DJMarc75
                              schrieb am zuletzt editiert von
                              #21

                              @schmakus original

                              --force
                              

                              Deine Version:

                              –force
                              

                              Lehrling seit 1975 !!!
                              Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                              https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                              1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @schmakus

                                Mein Fehler, das muss --force lauten. Argumente immer mit zwei -, Optionen mit einem -

                                DJMarc75D Offline
                                DJMarc75D Offline
                                DJMarc75
                                schrieb am zuletzt editiert von
                                #22

                                @thomas-braun sagte in Festplatte voll ? Wie Speicher freigeben ?:

                                Mein Fehler, das muss --force lauten.

                                Ah, da war ich dann wohl grad in der Bearbeitungsmatrix :grinning:

                                Lehrling seit 1975 !!!
                                Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                                https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                                1 Antwort Letzte Antwort
                                0
                                • SchmakusS Schmakus

                                  Hier mal ne Übersicht der großen Sachen:

                                  --- /usr/lib -------------------------------------------------------------------
                                                           /..
                                      1,8 GiB [##########] /modules                                               
                                      1,1 GiB [######    ] /x86_64-linux-gnu
                                    288,9 MiB [#         ] /libreoffice
                                    215,6 MiB [#         ] /firefox-esr
                                  
                                  --- /var -----------------------------------------------------------------------
                                                           /..
                                      3,2 GiB [##########] /log                                                   
                                    704,3 MiB [##        ] /cache
                                  
                                  --- /var/log/journal -----------------------------------------------------------
                                                           /..
                                      3,0 GiB [##########] /d42f7fb7c0134c239a49631175eaef44                      
                                  
                                  
                                  --- /var/cache/apt/archives ----------------------------------------------------
                                                           /..                                                    
                                     57,3 MiB [##########]  firefox-esr_102.9.0esr-1~deb11u1_amd64.deb
                                     53,4 MiB [######### ]  firefox-esr_78.15.0esr-1~deb10u1_amd64.deb
                                     35,1 MiB [######    ]  libreoffice-common_1%3a6.1.5-3+deb10u7_all.deb
                                     31,1 MiB [#####     ]  libreoffice-core_1%3a6.1.5-3+deb10u7_amd64.deb
                                     30,1 MiB [#####     ]  libpython2.7-dev_2.7.16-2+deb10u1_amd64.deb
                                     25,9 MiB [####      ]  nodejs_16.19.1-deb-1nodesource1_amd64.deb
                                     24,2 MiB [####      ]  nodejs_14.19.0-deb-1nodesource1_amd64.deb
                                     17,2 MiB [###       ]  nodejs_12.22.6-deb-1nodesource1_amd64.deb
                                     17,2 MiB [###       ]  nodejs_12.22.7-deb-1nodesource1_amd64.deb
                                     15,3 MiB [##        ]  libwebkit2gtk-4.0-37_2.38.5-1~deb11u1_amd64.deb
                                     13,4 MiB [##        ]  libwebkit2gtk-4.0-37_2.34.1-1~deb10u1_amd64.deb
                                      8,8 MiB [#         ]  libicu-dev_63.1-6+deb10u1_amd64.deb
                                      8,2 MiB [#         ]  libreoffice-writer_1%3a6.1.5-3+deb10u7_amd64.deb
                                      7,0 MiB [#         ]  libreoffice-calc_1%3a6.1.5-3+deb10u7_amd64.deb
                                      7,0 MiB [#         ]  evolution-common_3.38.3-1+deb11u1_all.deb
                                  
                                  --- /home/iobroker/.npm/_cacache -----------------------------------------------
                                                           /..
                                      2,9 GiB [##########] /content-v2                                            
                                     94,7 MiB [          ] /index-v5
                                  e  12,0 KiB [          ] /tmp
                                  
                                  --- /opt/iobroker/node_modules -------------------------------------------------
                                                           /..
                                    472,7 MiB [##########] /iobroker.vis-2-beta                                   
                                    165,7 MiB [###       ] /canvas
                                  

                                  vis-2 schluckt auch ordentlich bei den Files

                                  ? Offline
                                  ? Offline
                                  Ein ehemaliger Benutzer
                                  schrieb am zuletzt editiert von
                                  #23

                                  @schmakus sagte in Festplatte voll ? Wie Speicher freigeben ?:

                                  --- /var/log/journal -----------------------------------------------------------
                                  /..
                                  3,0 GiB [##########] /d42f7fb7c0134c239a49631175eaef44

                                  Moin,

                                  zu den anderen Verzeichnissen hast Du ja schon das nötige Rüstzeug bekommen.

                                  Fürs journal, da kannst Du noch folgendes machen, damit dampfst Du das Journal auf eine Stunde ein.

                                  sudo journalctl --flush --rotate --vacuum-time=1h
                                  

                                  Aufschlüsslung der einzelnen Argumente:

                                  --flush 
                                     Asks the journal daemon to flush any log data stored in /run/log/journal/ into /var/log/journal/, if persistent storage is enabled. This call does not return until the operation is complete. Note that this call is idempotent: the data is only flushed from /run/log/journal/ into /var/log/journal/ once during system runtime (but see --relinquish-var below), and this command exits cleanly without executing any operation if this has already happened. This command effectively guarantees that all data is flushed to /var/log/journal/ at the time it returns.
                                  
                                  --rotate
                                     Asks the journal daemon to rotate journal files. This call does not return until the rotation operation is complete. Journal file rotation has the effect that all currently active journal files are marked as archived and renamed, so that they are never written to in future. New (empty) journal files are then created in their place. This operation may be combined with --vacuum-size=, --vacuum-time= and --vacuum-file= into a single command, see above. 
                                  
                                  --vacuum-size=, --vacuum-time=, --vacuum-files=
                                     Removes the oldest archived journal files until the disk space they use falls below the specified size (specified with the usual "K", "M", "G" and "T" suffixes), or all archived journal files contain no data older than the specified timespan (specified with the usual "s", "m", "h", "days", "months", "weeks" and "years" suffixes), or no more than the specified number of separate journal files remain. Note that running --vacuum-size= has only an indirect effect on the output shown by --disk-usage, as the latter includes active journal files, while the vacuuming operation only operates on archived journal files. Similarly, --vacuum-files= might not actually reduce the number of journal files to below the specified number, as it will not remove active journal files.
                                  

                                  VG
                                  Bernd

                                  P.S.: Dann wurde Dir ja schon von @Thomas-Braun, die berechtigte Frage gestellt, was hat der ganze Desktopkram auf einem Server zu suchen, das war auch meine Frage, was Du da für eine Distribution in die VM installiert hast?

                                  57,3 MiB [##########]  firefox-esr_102.9.0esr-1~deb11u1_amd64.deb
                                    53,4 MiB [######### ]  firefox-esr_78.15.0esr-1~deb10u1_amd64.deb
                                    35,1 MiB [######    ]  libreoffice-common_1%3a6.1.5-3+deb10u7_all.deb
                                    31,1 MiB [#####     ]  libreoffice-core_1%3a6.1.5-3+deb10u7_amd64.deb
                                    15,3 MiB [##        ]  libwebkit2gtk-4.0-37_2.38.5-1~deb11u1_amd64.deb
                                    13,4 MiB [##        ]  libwebkit2gtk-4.0-37_2.34.1-1~deb10u1_amd64.deb
                                      8,2 MiB [#         ]  libreoffice-writer_1%3a6.1.5-3+deb10u7_amd64.deb
                                      7,0 MiB [#         ]  libreoffice-calc_1%3a6.1.5-3+deb10u7_amd64.deb
                                      7,0 MiB [#         ]  evolution-common_3.38.3-1+deb11u1_all.deb
                                  
                                  1 Antwort Letzte Antwort
                                  0
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

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

                                  331

                                  Online

                                  32.5k

                                  Benutzer

                                  81.8k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe