Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker Absturz - Ursache?

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Iobroker Absturz - Ursache?

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

      @thomas-braun
      Aber die Haupt-SSD ist doch in Ordnung und läuft, oder wo ist das Problem?
      Das Problem hat doch nur der backup-USB Stick!?!
      Und die backups sind ja leider auf dem corrupten USB Stick - ob die auslesbar sind?

      B Thomas Braun 2 Replies Last reply Reply Quote 0
      • B
        brokeling @brokeling last edited by brokeling

        pi@raspi:~ $ sudo umount /backup
        umount: /backup: not mounted.
        pi@raspi:~ $ sudo fsck.ext4 /dev/sdb1
        e2fsck 1.46.2 (28-Feb-2021)
        /dev/sdb1 is in use.
        e2fsck: Cannot continue, aborting.
        
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @brokeling last edited by

          @brokeling sagte in Iobroker Absturz - Ursache?:

          Und die backups sind ja leider auf dem corrupten USB Stick - ob die auslesbar sind?

          Kannste ja probieren. Ich würde das Dateisystem aber tunlichst 'nur-lesend'-ro einhängen. Du schrabbelst das Ding sonst nur noch weiter kaputt.

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

            @thomas-braun said in Iobroker Absturz - Ursache?:

            @brokeling sagte in Iobroker Absturz - Ursache?:

            Und die backups sind ja leider auf dem corrupten USB Stick - ob die auslesbar sind?

            Kannste ja probieren. Ich würde das Dateisystem aber tunlichst 'nur-lesend'-ro einhängen. Du schrabbelst das Ding sonst nur noch weiter kaputt.

            wie mache ich das?

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

              @brokeling
              Ist die in der fstab drin?

              cat /etc/fstab
              
              B 1 Reply Last reply Reply Quote 0
              • B
                brokeling @Thomas Braun last edited by

                @thomas-braun said in Iobroker Absturz - Ursache?:

                cat /etc/fstab

                pi@raspi:~ $ cat /etc/fstab
                proc            /proc           proc    defaults          0       0
                PARTUUID=6c586e13-01  /boot           vfat    defaults,flush    0       2
                PARTUUID=6c586e13-02  /               ext4    defaults,noatime  0       1
                # a swapfile is not a swap partition, no line here
                #   use  dphys-swapfile swap[on|off]  for that
                PARTUUID=85032a97-01 /backup          ext4    defaults,noatime,nofail 0 2
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @brokeling last edited by

                  @brokeling sagte in Iobroker Absturz - Ursache?:

                  PARTUUID=85032a97-01 /backup ext4 defaults,noatime,nofail 0 2

                  Trag da mal

                  PARTUUID=85032a97-01 /backup          ext4    defaults,ro,noatime,nofail 0 2
                  

                  ein. Dann

                  sudo mount -o remount /backup
                  

                  Ich weiß nur nicht, ob sich ro nicht mit defaults beißt. Müsste ich nachschauen.

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

                    @thomas-braun
                    Ich kann doch den USB stick auch einfach entfernen.

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

                      @brokeling dann kommst duvaber icht mehr an dein(e) Backup(s) ran

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

                        @brokeling sagte in Iobroker Absturz - Ursache?:

                        Ich kann doch den USB stick auch einfach entfernen.

                        Aber NICHT wenn der gemountet ist oder da irgendwas noch drauf zugreift...
                        Das kann nämlich auch zu defekten Dateien führen.

                        B 2 Replies Last reply Reply Quote 0
                        • B
                          brokeling @Thomas Braun last edited by

                          @thomas-braun
                          ok ich trage in der fstab
                          statt

                          PARTUUID=85032a97-01 /backup          ext4    defaults,noatime,nofail 0 2
                          

                          das hier ein:

                          PARTUUID=85032a97-01 /backup          ext4    defaults,ro,noatime,nofail 0 2
                          
                          1 Reply Last reply Reply Quote 0
                          • B
                            brokeling @Thomas Braun last edited by

                            @thomas-braun said in Iobroker Absturz - Ursache?:

                            @brokeling sagte in Iobroker Absturz - Ursache?:

                            Ich kann doch den USB stick auch einfach entfernen.

                            Aber NICHT wenn der gemountet ist oder da irgendwas noch drauf zugreift...
                            Das kann nämlich auch zu defekten Dateien führen.

                            Ich hatte den aber schon abgenommen...

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

                              @brokeling sagte in Iobroker Absturz - Ursache?:

                              Ich hatte den aber schon abgenommen...

                              Computergrundwissen: Macht man nicht.

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

                                @thomas-braun said in Iobroker Absturz - Ursache?:

                                @brokeling sagte in Iobroker Absturz - Ursache?:

                                Ich hatte den aber schon abgenommen...

                                Computergrundwissen: Macht man nicht.

                                im abgeschalteten modus.

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

                                  pi@raspi:~ $  cat /etc/fstab
                                  proc            /proc           proc    defaults          0       0
                                  PARTUUID=6c586e13-01  /boot           vfat    defaults,flush    0       2
                                  PARTUUID=6c586e13-02  /               ext4    defaults,noatime  0       1
                                  # a swapfile is not a swap partition, no line here
                                  #   use  dphys-swapfile swap[on|off]  for that
                                  # PARTUUID=85032a97-01 /backup          ext4    defaults,noatime,nofail 0 2
                                  PARTUUID=85032a97-01 /backup          ext4    defaults,ro,noatime,nofail 0 2
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @brokeling last edited by

                                    @brokeling

                                    mount | sort
                                    
                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      brokeling @Thomas Braun last edited by

                                      @thomas-braun said in Iobroker Absturz - Ursache?:

                                      mount | sort

                                      pi@raspi:~ $ mount | sort
                                      cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
                                      configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
                                      debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
                                      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
                                      /dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro)
                                      /dev/sda2 on / type ext4 (rw,noatime,stripe=8191)
                                      /dev/sdb1 on /backup type ext4 (rw,noatime)
                                      devtmpfs on /dev type devtmpfs (rw,relatime,size=1773668k,nr_inodes=84274,mode=755)
                                      fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
                                      mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
                                      none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
                                      proc on /proc type proc (rw,relatime)
                                      securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
                                      sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
                                      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
                                      systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
                                      tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
                                      tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
                                      tmpfs on /run type tmpfs (rw,nosuid,nodev,size=775416k,nr_inodes=819200,mode=755)
                                      tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=387704k,nr_inodes=96926,mode=700,uid=1000,gid=1000)
                                      tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
                                      
                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        brokeling @brokeling last edited by

                                        diesen Schritt habe ich noch nicht gemacht:

                                        sudo mount -o remount /backup
                                        

                                        soll ich?

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

                                          @homoran said in Iobroker Absturz - Ursache?:

                                          @brokeling dann kommst duvaber icht mehr an dein(e) Backup(s) ran

                                          Eigentlich hoff(t)e ich sie nicht mehr zu brauchen.
                                          Gleich mit einem neuen USB stick - diesmal nehme ich einen SSD - ein backup machen...

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

                                            @brokeling

                                            Da ist das Ding doch noch:

                                            /dev/sdb1 on /backup type ext4 (rw,noatime)
                                            

                                            mit rw-Option.
                                            Mach den remount und dann schaust du nochmal mit

                                            mount | sort
                                            

                                            ob das dann ro drin ist.

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

                                            Support us

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

                                            812
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            56
                                            2535
                                            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