Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. SD-Karte läuft im Verzeichnis /dev/root voll

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    SD-Karte läuft im Verzeichnis /dev/root voll

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      blessi last edited by

      Hallo,

      bei mir läuft seit kurzen die Speicherkarte voll.
      /dev/root ist innerhalb kurzer Zeit voll.
      Mit ncdu habe ich geschaut.
      syslog und kern.log sind jeweils 5,4 GB groß geworden.
      Das passiert selbst nach einer Neuinstallation und Einspielen des Backups.

      Woran liegt das bzw. wie kann ich das abstellen?

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi4B
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Pi OS Lite
      Node-Version: 10.x.x
      Nodejs-Version: 16.18.1
      NPM-Version: 8.19.2
      Installationsart: Skript
      Image genutzt: Ja
      Ort/Name der Imagedatei: Raspberry Pi Imager

      Viele Grüße
      blessi

      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @blessi last edited by

        @blessi und wo sind die Datenstrukturen?

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

          @blessi sagte in SD-Karte läuft im Verzeichnis /dev/root voll:

          Woran liegt das bzw. wie kann ich das abstellen?

          Dazu müsstest du mal in die Dateien schauen.

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

            @thomas-braun Ich habe einmal in die syslog Datei geschaut:
            Nov 22 00:27:05 iobroker4b kernel: [45133.207291] Unhandled prefetch abort: breakpoint debug exception (0x222) at 0x00000000
            Das kommt pro Sekunde x-mal.
            Die syslog und die kern.log Dateien sind gleich groß.

            Dazu habe ich gerade diesen Beitrag gefunden:
            https://forum.iobroker.net/topic/54012/iobroker-kernel-unhandled-prefetch-abort-breakpoint-debug

            Ich werde meine beiden mihome-vacuum Adapter deaktivieren und schauen, ob das dann weg ist.

            1 Reply Last reply Reply Quote 0
            • Kenji
              Kenji last edited by

              Hallo Zusammen,
              habe genau das gleiche Problem seid dem ich ein großes Update durchgeführt habe. (PI auf bullseye und Node auf V.16 hochgezogen)
              Habe leider gar keine Ahnung was das für Dateistrukturen im Dev/Root Verzeichnis sind.
              PI.PNG

              Hab einfach mal nach besten gewissen dieses Bild mit angehangen.
              Hat jemand eine Ahnung was man da machen kann?

              Gruß Matze 🙂

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

                @kenji

                Kein Bildchen, Textausgaben auch als Text in CodeTags hier rein kopieren.

                Kenji 1 Reply Last reply Reply Quote 1
                • Kenji
                  Kenji @Thomas Braun last edited by

                  @thomas-braun Entschuldigung

                  Wie wäre das korrekte vorgehen oder bin ich hier komplett falsch mit meinem Problem?

                  Gruß Matze

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

                    @kenji sagte in SD-Karte läuft im Verzeichnis /dev/root voll:

                    oder bin ich hier komplett falsch mit meinem Problem?

                    Kann ich nicht sagen, ich seh ja nix.

                    https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

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

                      pi@raspberrypi:/dev $ df -h
                      Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                      /dev/root        29G     29G     0  100% /
                      devtmpfs        332M       0  332M    0% /dev
                      tmpfs           461M       0  461M    0% /dev/shm
                      tmpfs           185M    740K  184M    1% /run
                      tmpfs           5,0M    4,0K  5,0M    1% /run/lock
                      /dev/mmcblk0p1  253M     50M  203M   20% /boot
                      tmpfs            93M     24K   93M    1% /run/user/1000
                      pi@raspberrypi:/dev $
                      pi@raspberrypi:/dev $
                      pi@raspberrypi:/dev $ ls
                      autofs         input         mmcblk0p1  ram3     tty11  tty29  tty46  tty63      vcs6      vga_arbiter
                      block          kmsg          mmcblk0p2  ram4     tty12  tty3   tty47  tty7       vcs7      vhci
                      btrfs-control  log           mqueue     ram5     tty13  tty30  tty48  tty8       vcsa      video10
                      bus            loop0         net        ram6     tty14  tty31  tty49  tty9       vcsa1     video11
                      cachefiles     loop1         null       ram7     tty15  tty32  tty5   ttyAMA0    vcsa2     video12
                      char           loop2         port       ram8     tty16  tty33  tty50  ttyprintk  vcsa3     video13
                      console        loop3         ppp        ram9     tty17  tty34  tty51  uhid       vcsa4     video14
                      cuse           loop4         ptmx       random   tty18  tty35  tty52  uinput     vcsa5     video15
                      disk           loop5         ptp0       rfkill   tty19  tty36  tty53  urandom    vcsa6     video16
                      dma_heap       loop6         pts        serial1  tty2   tty37  tty54  v4l        vcsa7     video18
                      dri            loop7         ram0       shm      tty20  tty38  tty55  vchiq      vcsm-cma  video19
                      fd             loop-control  ram1       snd      tty21  tty39  tty56  vcio       vcsu      video20
                      full           mapper        ram10      stderr   tty22  tty4   tty57  vc-mem     vcsu1     video21
                      fuse           media0        ram11      stdin    tty23  tty40  tty58  vcs        vcsu2     video22
                      gpiochip0      media1        ram12      stdout   tty24  tty41  tty59  vcs1       vcsu3     video23
                      gpiochip1      media2        ram13      tty      tty25  tty42  tty6   vcs2       vcsu4     video31
                      gpiomem        media3        ram14      tty0     tty26  tty43  tty60  vcs3       vcsu5     watchdog
                      hwrng          mem           ram15      tty1     tty27  tty44  tty61  vcs4       vcsu6     watchdog0
                      initctl        mmcblk0       ram2       tty10    tty28  tty45  tty62  vcs5       vcsu7     zero
                      pi@raspberrypi:/dev $
                      
                      

                      Sorry jetzt hab ich es verstanden. Dankeschön
                      Kann man damit was anfangen?

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

                        @kenji

                        Nicht wirklich.

                        Schau mit

                        sudo ncdu /
                        

                        nach wo die dicken Dinger liegen. Vermutlich in /var/log.

                        Meister Mopper 1 Reply Last reply Reply Quote 0
                        • Meister Mopper
                          Meister Mopper @Thomas Braun last edited by

                          @thomas-braun
                          Oder der angewachsene Backup-Ordner.

                          Kenji 1 Reply Last reply Reply Quote 0
                          • Kenji
                            Kenji @Meister Mopper last edited by

                            @meister-mopper Sorry das ich hier parallel fahre (Discord/Forum)

                            ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help
                            --- /var/log ---------------------------------------------------------------------------------------------
                                                     /..
                               11,5 GiB [##########]  syslog.1
                               11,5 GiB [######### ]  kern.log.1
                              304,1 MiB [          ] /journal
                                1,3 MiB [          ]  daemon.log.1
                                1,1 MiB [          ]  dpkg.log.1
                              652,0 KiB [          ]  syslog
                              652,0 KiB [          ]  daemon.log
                              192,0 KiB [          ] /apt
                              124,0 KiB [          ]  messages.1
                              112,0 KiB [          ]  boot.log.3
                               72,0 KiB [          ]  wtmp
                               68,0 KiB [          ]  syslog.4.gz
                               56,0 KiB [          ]  alternatives.log.1
                               52,0 KiB [          ]  syslog.2.gz
                               44,0 KiB [          ]  syslog.3.gz
                               40,0 KiB [          ] /cups
                               32,0 KiB [          ]  daemon.log.4.gz
                               28,0 KiB [          ]  daemon.log.2.gz
                               28,0 KiB [          ]  daemon.log.3.gz
                               24,0 KiB [          ]  kern.log.4.gz
                               24,0 KiB [          ]  messages.4.gz
                               20,0 KiB [          ]  boot.log.1
                               16,0 KiB [          ]  auth.log.1
                               16,0 KiB [          ]  messages.2.gz
                               16,0 KiB [          ]  kern.log.2.gz
                               12,0 KiB [          ]  messages.3.gz
                               12,0 KiB [          ]  kern.log.3.gz
                                8,0 KiB [          ]  lastlog
                                8,0 KiB [          ]  faillog
                                8,0 KiB [          ] /runit
                                8,0 KiB [          ] /hp
                                8,0 KiB [          ]  Xorg.0.log.old
                                8,0 KiB [          ]  syslog.6.gz
                                8,0 KiB [          ]  debug.1
                                8,0 KiB [          ]  boot.log.2
                                8,0 KiB [          ]  Xorg.0.log
                                8,0 KiB [          ]  dpkg.log.3.gz
                            !   4,0 KiB [          ] /private
                            !   4,0 KiB [          ] /lightdm
                                4,0 KiB [          ]  user.log.1
                                4,0 KiB [          ]  fontconfig.log
                                4,0 KiB [          ]  syslog.7.gz
                                4,0 KiB [          ]  auth.log.4.gz
                                4,0 KiB [          ]  auth.log.3.gz
                                4,0 KiB [          ]  auth.log.2.gz
                                4,0 KiB [          ]  auth.log
                            
                            

                            Ihr habt vollkommen Recht hier sind die dicken Dinger.

                            Meister Mopper Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @Kenji last edited by

                              @kenji

                              Und jetzt noch ein bisschen tiefer in den Verzeichnisbaum bohren?

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

                                @kenji sagte in SD-Karte läuft im Verzeichnis /dev/root voll:

                                Erstmal etwas Platz schaffen:

                                sudo cat /dev/null > /var/log/kern.log.1
                                

                                Dann im Syslog schauen was da für die Panikattacke gesorgt hat:

                                tail -n 30 /var/log/syslog.1
                                
                                Kenji 1 Reply Last reply Reply Quote 0
                                • Kenji
                                  Kenji @Thomas Braun last edited by

                                  @thomas-braun brauche noch mal kurz Hilfe für den Befehl. Muss ich dafür im Verzeichnis sein? Nicht oder
                                  Mir wird das hier ausgegeben.

                                  pi@raspberrypi:/ $ sudo cat /dev/null > /var/log/kern.log.1
                                  -bash: /var/log/kern.log.1: Keine Berechtigung
                                  pi@raspberrypi:/ $ ls
                                  bin   boot.bak  etc   lib         media  opt   root  sbin  sys  usr
                                  boot  dev       home  lost+found  mnt    proc  run   srv   tmp  var
                                  pi@raspberrypi:/ $ cd dev/
                                  pi@raspberrypi:/dev $ sudo cat /dev/null > /var/log/kern.log.1
                                  -bash: /var/log/kern.log.1: Keine Berechtigung
                                  pi@raspberrypi:/dev $
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Kenji last edited by

                                    @Kenji

                                    sudo su 
                                    cat /dev/null > /var/log/kern.log.1
                                    exit
                                    
                                    Kenji 1 Reply Last reply Reply Quote 1
                                    • Homoran
                                      Homoran Global Moderator Administrators @Kenji last edited by

                                      @kenji sagte in SD-Karte läuft im Verzeichnis /dev/root voll:

                                      Sorry das ich hier parallel fahre (Discord/Forum)

                                      ist nicht optimal, da die linke nicht die Informationen hat, die die rechte hat.

                                      Kenji Meister Mopper 2 Replies Last reply Reply Quote 1
                                      • Kenji
                                        Kenji @Thomas Braun last edited by

                                        @thomas-braun Dankeschön für die präzise Hilfe 🤗
                                        Habe beide Befehle eingeben können. Hier die Ausgabe vom zweiten Befehl:

                                        pi@raspberrypi:~ $ tail -n 30 /var/log/syslog.1
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Stopping CUPS Scheduler.
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Listening on CUPS Scheduler.
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Starting CUPS Scheduler...
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Started CUPS Scheduler.
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Started Make remote CUPS printers availa                                                                             ble locally.
                                        Dec  7 15:24:52 raspberrypi bluetoothd[695]: Bluetooth daemon 5.55
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Started Bluetooth service.
                                        Dec  7 15:24:52 raspberrypi systemd[1]: Reached target Bluetooth.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Successfully made thread 654 of p                                                                             rocess 654 owned by '1000' high priority at nice level -11.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Supervising 1 threads of 1 proces                                                                             ses of 1 users.
                                        Dec  7 15:24:53 raspberrypi bluetoothd[695]: Starting SDP server
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Successfully made thread 655 of p                                                                             rocess 655 owned by '1000' high priority at nice level -11.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Supervising 2 threads of 2 proces                                                                             ses of 1 users.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Supervising 2 threads of 2 proces                                                                             ses of 1 users.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Supervising 2 threads of 2 proces                                                                             ses of 1 users.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Successfully made thread 660 of p                                                                             rocess 654 owned by '1000' RT at priority 20.
                                        Dec  7 15:24:53 raspberrypi rtkit-daemon[663]: Supervising 3 threads of 2 proces                                                                             ses of 1 users.
                                        Dec  7 15:24:53 raspberrypi kernel: [   33.527732] Bluetooth: BNEP (Ethernet Emu                                                                             lation) ver 1.3
                                        Dec  7 15:24:53 raspberrypi kernel: [   33.527759] Bluetooth: BNEP filters: prot                                                                             ocol multicast
                                        Dec  7 15:24:53 raspberrypi kernel: [   33.527787] Bluetooth: BNEP socket layer                                                                              initialized
                                        Dec  7 15:24:53 raspberrypi bluetoothd[695]: Bluetooth management interface 1.21                                                                              initialized
                                        Dec  7 15:24:53 raspberrypi kernel: [   33.568521] NET: Registered PF_ALG protoc                                                                             ol family
                                        Dec  7 15:24:53 raspberrypi kernel: [   33.669986] cryptd: max_cpu_qlen set to 1                                                                             000
                                        Dec  7 15:24:53 raspberrypi systemd[586]: Started D-Bus User Message Bus.
                                        Dec  7 15:24:53 raspberrypi bluetoothd[695]: profiles/sap/server.c:sap_server_re                                                                             gister() Sap driver initialization failed.
                                        Dec  7 15:24:53 raspberrypi bluetoothd[695]: sap-server: Operation not permitted                                                                              (1)
                                        Dec  7 15:24:53 raspberrypi bluetoothd[695]: Failed to set mode: Blocked through                                                                              rfkill (0x12)
                                        Dec  7 15:24:53 raspberrypi kernel: [   34.096992] Bluetooth: RFCOMM TTY layer i                                                                             nitialized
                                        Dec  7 15:24:53 raspberrypi kernel: [   34.097017] Bluetooth: RFCOMM socket laye                                                                             r initialized
                                        Dec  7 15:24:53 raspberrypi kernel: [   34.097035] Bluetooth: RFCOMM ver 1.11
                                        pi@raspberrypi:~ $
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Kenji last edited by Thomas Braun

                                          @kenji

                                          Der zweite Befehl greift offenbar zu kurz.
                                          Dann mal mehr Output:

                                          tail -n 300 /var/log/syslog.1
                                          

                                          Und mach bitte dein puTTY-Fenster größer.

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

                                            @homoran Entschuldigung wird nicht mehr vorkommen. Schreibe nächstes Mal direkt hier im Forum. Gruß Matze 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            704
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            28
                                            3180
                                            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