Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Expand Filesystem wird nicht erkannt ?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Expand Filesystem wird nicht erkannt ?

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

      Hallo
      Bei meinem Pi wird angezeigt Festplatte 14% frei . Ich habe eine 64 GB SD Karte im Pi . Wenn ich Expand Filesystem anwähle erscheint 59,4 GB erkannt .
      Wenn ich aber über lsblk -f die Belegung anzeigen lasse erscheint nur 5,5 GB .
      Also irgendwie wird da die SD Karte nicht richtig erkannt . Was kann ich da tun ? Wer kann mir da weiter helfen

      NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUN                                                                                                                                                             TPOINT
      sda
      └─sda1
           exfat  1.0   64GBSTICK
                              BA0F-9487                              30,2G    47% /mnt                                                                                                                                                             /usb0
      mmcblk0
      │
      ├─mmcblk0p1
      │    vfat   FAT32 boot  5484-8F96                             203,8M    19% /boo                                                                                                                                                             t
      └─mmcblk0p2
           ext4   1.0   rootfs
                              64bc182a-ca9d-4aa1-8936-d2919863c22a    5,5G    86% /
      pi@raspberrypi:~ $
      Command (m for help):
      Disk /dev/mmcblk0: 59,48 GiB, 63864569856 bytes, 124735488 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: dos
      Disk identifier: 0x9af42128
      
      Device         Boot  Start       End   Sectors  Size Id Type
      /dev/mmcblk0p1        8192    532479    524288  256M  c W95 FAT32 (LBA)
      /dev/mmcblk0p2      532480 124735487 124203008 59,2G 83 Linux
      
      Command (m for help): The partition table has been altered.
      Syncing disks.
      
      

      Hier noch ein Nachtrag über den Befehl df -h erscheint dann:

      /dev/root        59G     51G  5,6G   91% /
      devtmpfs        1,8G       0  1,8G    0% /dev
      tmpfs           1,9G     16K  1,9G    1% /dev/shm
      tmpfs           768M    872K  767M    1% /run
      tmpfs           5,0M    4,0K  5,0M    1% /run/lock
      /dev/mmcblk0p1  253M     50M  203M   20% /boot
      /dev/sda1        58G     28G   31G   48% /mnt/usb0
      tmpfs           384M       0  384M    0% /run/user/1000
      
      

      Update wurde durchgeführt .
      Gruß
      Heinz

      mickym crunchip 2 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @BruR1250 last edited by

        @brur1250 ich würde einfach mit

        sudo raspi-config
        

        arbeiten und dort das Dateisystem erweitern und anschließend einen Reboot.

        7610c87c-f134-4a01-90cf-90787bf2a27f-image.png

        B 1 Reply Last reply Reply Quote 0
        • B
          BruR1250 @mickym last edited by

          @mickym Hallo
          Das war das erste was ich gemacht hatte nachdem ich die Meldung mit 14% Festplattenspeicher gelesen habe . Der Eintrag Zeile 13 bis 28 entstand nachdem ich Expand File system gemacht hatte , daher auch meine Anfrage Expand Filesystem wird nicht erkannt . Habe das sogar 3 mal gemacht ohne Erfolg . Was bedeutet die 91% in /Dev/root . Wenn ich mit MC die Dateien anschauen werden dort nur 1735MB angezeigt und Belegung von 9% . Inwieweit ich da Dateien löschen kann weis ich nicht .

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

            @brur1250 Also , das Problem ist wohl eine Grafana Installation von 51 GB . Wie kann ich di löschen

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @BruR1250 last edited by crunchip

              @brur1250 sollte alles deinstallieren, sofern per apt installiert

              Entfernt Grafana und alle Abhängigkeiten und temporären Dateien
              sudo apt-get purge grafana
              
              deinstalliert nur Grafana
              sudo apt-get remove grafana
              
              Deinstalliert Grafana und seine Abhängigkeiten
              sudo apt-get remove --auto-remove grafana
              
              B 1 Reply Last reply Reply Quote 0
              • B
                BruR1250 @crunchip last edited by

                @crunchip Hallo Habe ich auch schon gemacht . Grafana wird dann deinstalliert , aber im verzeichnis /dev/root sind immer noch 51Gb von grafana_8.1.6_armhf.deb . Wie kann ich die Datei im root Verzeichnis löschen

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @BruR1250 last edited by

                  @brur1250 sagte in Expand Filesystem wird nicht erkannt ?:

                  aber im verzeichnis /dev/root sind immer noch 51Gb von grafana_8.1.6_armhf.deb

                  @crunchip sagte in Expand Filesystem wird nicht erkannt ?:

                  sofern per apt installiert

                  @brur1250 sagte in Expand Filesystem wird nicht erkannt ?:

                  Wie kann ich die Datei im root Verzeichnis löschen

                  https://wiki.ubuntuusers.de/rm/

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BruR1250 @crunchip last edited by

                    @crunchip Hallo wenn ich eingebe : ls /dev/root , kommt Fehlermeldung Datei odr verzeichnis nicht gefunden . mit ls -lah
                    zeigt er an:

                    pi@raspberrypi:~ $ ls -lah
                    insgesamt 52M
                    drwxr-xr-x 8 pi   pi   4,0K 15. Mär 19:54 .
                    drwxr-xr-x 5 root root 4,0K 13. Feb 12:39 ..
                    -rw------- 1 pi   pi   4,9K 16. Apr 11:04 .bash_history
                    -rw-r--r-- 1 pi   pi    220 28. Jan 02:04 .bash_logout
                    -rw-r--r-- 1 pi   pi   3,7K 15. Mär 19:54 .bashrc
                    drwxr-xr-x 4 pi   pi   4,0K 13. Feb 14:48 .cache
                    drwx------ 4 pi   pi   4,0K 13. Feb 14:48 .config
                    -rw-r--r-- 1 pi   pi    51M  5. Okt 2021  grafana_8.1.6_armhf.deb
                    -rw-r--r-- 1 pi   pi    212 16. Mär 11:30 .influx_history
                    drwxr-xr-x 2 pi   pi   4,0K  2. Feb 16:55 .iobroker
                    drwxr-xr-x 2 root root 4,0K 13. Feb 12:47 Kamera
                    drwx------ 3 pi   pi   4,0K 13. Feb 14:48 .local
                    drwxr-xr-x 7 pi   pi   4,0K  3. Apr 09:03 .npm
                    -rw------- 1 pi   pi     36  2. Feb 16:55 .npmrc
                    -rw-r--r-- 1 pi   pi   276K  7. Dez 07:59 pi_stretch_motion_4.1.1-1_armhf.deb
                    -rw-r--r-- 1 pi   pi   276K  7. Dez 07:59 pi_stretch_motion_4.1.1-1_armhf.deb.1
                    -rw-r--r-- 1 pi   pi    807 28. Jan 02:04 .profile
                    -rw-r--r-- 1 pi   pi    165 12. Feb 08:59 .wget-hsts
                    
                    

                    mit mc wird verzeichnis root auch nicht angezeigt , also komme ich mit rm nicht in root

                    Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @BruR1250 last edited by Thomas Braun

                      @brur1250

                      Wiedermal als root rumgehampelt wo es nichts nichts zu suchen hat...

                      sudo ls -lah /root
                      
                      B 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @BruR1250 last edited by

                        @brur1250 sagte in Expand Filesystem wird nicht erkannt ?:

                        Hallo wenn ich eingebe : ls /dev/root , kommt Fehlermeldung Datei odr verzeichnis nicht gefunden .

                        pi hat ja auch bei root nichts veroren.

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

                          @homoran

                          Und /dev/root gibt es nicht. Was soll das auch für ein device sein?

                          Und ein root gehörendes Verzeichnis 'Kamera' darf es im Home vom pi auch nicht geben, wenn man sauber arbeiten würde.

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

                            @thomas-braun Irgendwie muss ich aber diese Datei von Grafana löschen . Ich bin ja auch kein Linux Experte , daher hier meine Anfrage . Hat jemand da eine Idee

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

                              @brur1250

                              Wo liegt die denn? In /dev/root jedenfalls nicht, das Verzeichnis gibt es nicht, weil das überhaupt keinen Sinn ergeben würde.

                              Oder meinst du die 51 MB aus dem Home?

                              rm ./grafana_8.1.6_armhf.deb
                              
                              B 1 Reply Last reply Reply Quote 0
                              • B
                                BruR1250 @Thomas Braun last edited by

                                @thomas-braun dann erscheint das :

                                root@raspberrypi:~# ls -lah /root
                                insgesamt 3,2M
                                drwx------  7 root root 4,0K 16. Apr 11:22 .
                                drwxr-xr-x 18 root root 4,0K 16. Apr 11:04 ..
                                -rw-------  1 root root 3,7K 17. Feb 08:40 .bash_history
                                -rw-r--r--  1 root root  685 15. Mär 19:54 .bashrc
                                drwxr-xr-x  4 root root 4,0K 16. Apr 11:22 .cache
                                drwx------  3 root root 4,0K 16. Apr 11:22 .config
                                drwxr-xr-x  2 root root 4,0K 12. Feb 09:49 cp
                                -rw-r--r--  1 root root 1,9M 12. Feb 10:27 get-pip.py
                                drwxr-xr-x  2 root root 4,0K  2. Feb 16:55 .iobroker
                                drwxr-xr-x  3 root root 4,0K  2. Feb 16:44 .local
                                -rw-r--r--  1 root root 306K  7. Dez 07:59 pi_buster_motion_4.2.2-1_armhf.deb
                                -rw-r--r--  1 root root 306K  7. Dez 07:59 pi_buster_motion_4.2.2-1_armhf.deb.1
                                -rw-r--r--  1 root root 475K  7. Dez 07:59 pi_buster_motion_4.3.2-1_armhf.deb
                                -rw-r--r--  1 root root 276K  7. Dez 07:59 pi_stretch_motion_4.1.1-1_armhf.deb
                                -rw-r--r--  1 root root  161 21. Dez 16:49 .profile
                                -rw-r--r--  1 root root  165 12. Feb 10:25 .wget-hsts
                                
                                
                                Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @BruR1250 last edited by Thomas Braun

                                  @brur1250

                                  Du meldest dicht NICHT als root an, verdammte Hacke! Durch so einen Mist kommt der ganz Murks den du da fabrizierst erst zustande!

                                  Ich hab jetzt gesehen, was du mit /dev/root meinst...
                                  Das ist das Dateisystem, das auf / eingehängt wird, kein Verzeichnis aus dem file tree.

                                  Schau mit

                                  ncdu
                                  

                                  nach wo da was dickes hängt. Ich vermute das sind die Hollywood-Filme der cams.

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @BruR1250 last edited by

                                    @brur1250 warum gibt es überhaupt einen root??
                                    deine deb Datei ist doch

                                    @brur1250 sagte in Expand Filesystem wird nicht erkannt ?:

                                    -rw-r--r-- 1 pi pi 51M 5. Okt 2021 grafana_8.1.6_armhf.deb

                                    somit normalerweise im home des users PI

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

                                      @thomas-braun Hallo , ja das meinte ich könnte die Datei sein die das belegt

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

                                        @brur1250 Das sind nur 51MB, keine Gigabyte.

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

                                          @thomas-braun stimmt sorry , aber die datei grafana_8.1.6_armhf.deb in home pi habe ich schon mal gelöscht .
                                          Aber ich finde nicht was die 51G belegt .

                                          Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                                          /dev/root        59G     51G  5,7G   90% /
                                          devtmpfs        1,7G       0  1,7G    0% /dev
                                          tmpfs           1,9G     16K  1,9G    1% /dev/shm
                                          tmpfs           759M    872K  759M    1% /run
                                          tmpfs           5,0M    4,0K  5,0M    1% /run/lock
                                          /dev/mmcblk0p1  253M     50M  203M   20% /boot
                                          /dev/sda1        58G     28G   31G   48% /mnt/usb0
                                          tmpfs           380M       0  380M    0% /run/user/1000
                                          root@raspberrypi:~#
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @BruR1250 last edited by

                                            @brur1250 sagte in Expand Filesystem wird nicht erkannt ?:

                                            /dev/sda1 58G 28G 31G 48% /mnt/usb0

                                            das verstehe ich allerdings nicht
                                            das müsste doch anstatt sda1 mmcblk0p2 heißen, oder täusche ich mich da

                                            B 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            694
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            25
                                            1070
                                            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