Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup no space left/EBADF: bad file descriptor, write

    NEWS

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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Backup no space left/EBADF: bad file descriptor, write

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @AndreasE112 last edited by

      aber gelesen was da steht hast du?

      @andrease112 sagte in Backup no space left/EBADF: bad file descriptor, write:

      Error: ENOSPC: no space left on device, open '/opt/iobroker/backups/historyDB_2022_06_20-15_25_02_backupiobroker.tar.gz'

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

        @homoran Hast Du auch gelesen was da steht ?:

        "Ich verstehs aber nicht so richtig. Ich hab einen 128GB Stick als NAS an der Fritzbox.
        Momentan ist ein Backup gespeichert:
        Alles zusammen (IObroker , History und Javascript) 100MB.

        Auf meinem Raspberry sind noch 6,4GB frei."

        Thomas Braun DJMarc75 Homoran 3 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @AndreasE112 last edited by

          @andrease112

          smb":"vers=3.02" würde ich schon mal auf 3.1.1 anheben.
          Das kann das aktuelle FritzOS.

          Und schau nochmal genau auf die Freigabe. Da dürfte nicht genug freier Platz sein.

          1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @AndreasE112 last edited by DJMarc75

            @andrease112 Ob Du uns mal die Einstellungen vom Backitup zeigen magst ?

            Weil ich glaub auch dass

            @thomas-braun sagte in Backup no space left/EBADF: bad file descriptor, write:

            Und schau nochmal genau auf die Freigabe. Da dürfte nicht genug freier Platz sein.

            dort irgendwas nicht stimmt.

            EDIT: und 100 MB bei einem Backup von iob, History und Skript ist m.E. schon heavy.

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

              @andrease112 sagte in Backup no space left/EBADF: bad file descriptor, write:

              Hast Du auch gelesen was da steht ?:

              ja, kann aber deinen Post mit den Daten dazu nicht finden

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

                @homoran Ich hab die Version nur zum testen mal zurückgedreht.
                Aber mit 3.1.1 gehts auch nicht.

                Backitup_1.PNG Backitup_2.PNG

                A Homoran 2 Replies Last reply Reply Quote 0
                • A
                  AndreasE112 @AndreasE112 last edited by

                  das IObroker Backup ist 12 MB aber 78 MB History Daten

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

                    @andrease112
                    Ich würde den Fehler auf dem USB-Stick suchen.
                    Vielleicht hat der auch einen Hardware-Schaden.

                    1 Reply Last reply Reply Quote 0
                    • DJMarc75
                      DJMarc75 @AndreasE112 last edited by DJMarc75

                      @andrease112 Im Pfad mal als erstes Zeichen noch ein / einfügen ... also /fritz.nas usw

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

                        @andrease112 sagte in Backup no space left/EBADF: bad file descriptor, write:

                        Ich hab die Version nur zum testen mal zurückgedreht.

                        war zwar Thomas' Idee, aber steht der Mount überhaupt?
                        und wie groß sieht iobroker den share?

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

                          @homoran so hab nen anderen USB Stick getestet nun sieht es besser aus aber es gibt immernoch probleme.
                          zuerst hat Backitup nur die DB History und die javascripts gespeichert.
                          Darauf hin habe ich den haken bei IOBroker entfernt und wieder gesetzt. Aber jetzt bleibt er hier hängen:

                          Started iobroker ...
                          [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.178.1","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":true,"deleteOldBackup":true,"ownDir":false,"dir":"/fritz.nas/TREKSTOR/backup","dirMinimal":"sharename/backupDir","user":"iobroker","pass":"****","ignoreErrors":false}
                          [DEBUG] [mount] - noserverino option: true
                          [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.1/fritz.nas/TREKSTOR/backup /opt/iobroker/backups"
                          [DEBUG] [mount] - mount successfully completed
                          [DEBUG] [mount] - done
                          [DEBUG] [iobroker] start with {"type":"creator","time":"00:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.178.1","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":true,"deleteOldBackup":true,"ownDir":false,"dir":"/fritz.nas/TREKSTOR/backup","dirMinimal":"sharename/backupDir","user":"iobroker","pass":"****","ignoreErrors":false,"context":{"fileNames":[],"errors":{},"done":["mount"],"types":[]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"ignoreErrors":false,"dir":"/opt/iobroker","historyDB":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21","ignoreErrors":false},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.1","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":true,"deleteOldBackup":true,"ownDir":false,"dir":"/fritz.nas/TREKSTOR/backup","dirMinimal":"sharename/backupDir","user":"iobroker","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"path":"/opt/iobroker/iobroker-data/history","nameSuffix":"","slaveSuffix":"","hostType":"Single","ignoreErrors":false},"javascripts":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21","ignoreErrors":false},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.1","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":true,"deleteOldBackup":true,"ownDir":false,"dir":"/fritz.nas/TREKSTOR/backup","dirMinimal":"sharename/backupDir","user":"iobroker","pass":"****","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","ignoreErrors":false},"slaveSuffix":"","hostType":"Single","nameSuffix":"","ignoreErrors":false},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"100","ignoreErrors":false,"systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"100","ignoreErrors":false,"systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"signal":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longSignalNotice","onlyError":false,"signalWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
                          [DEBUG] [iobroker] - host.raspberrypi 10764 states saved
                          
                          [DEBUG] [iobroker] - host.raspberrypi 11746 objects saved
                          
                          

                          Das IObrokerBackup ist 0 bytes groß. HistoryDB und JS werden jetzt auch nicht mehr gesichert.

                          Ich weiss nicht was ich noch machen soll.

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

                            @andrease112 sagte in Backup no space left/EBADF: bad file descriptor, write:

                            Aber jetzt bleibt er hier hängen:

                            wie groß ist das Backup?
                            History Pfad korrekt?

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

                              @homoran soo nachdem ich alle einstellungen abgewählt habe und gespeichert habe und dann wieder angewählt habe und anschließend einen Neustart des Raspberry gemacht hab geht es wieder:
                              Randinfo wegen der Größe:
                              IOBroker - 13,58 MB
                              History - 134,64 MB
                              Javascript - 198,47 KB

                              vielen dank nochmal - ich glaube das hauptproblem lag am Stick und ich vermute dass irgendein Prozess von Backitup in einer Endlosschleife hängen geblieben ist.

                              Vielleicht dann man da nochmal im Adapter schauen ob man noch eine weitere Timeoutüberwachung einbauen kann.
                              Bei mir dauert das Backup max. 10min.

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

                              Support us

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

                              632
                              Online

                              32.0k
                              Users

                              80.5k
                              Topics

                              1.3m
                              Posts

                              4
                              17
                              658
                              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