Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Backitup kann influxdb Datenbank nicht sichern.

    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

    [gelöst] Backitup kann influxdb Datenbank nicht sichern.

    This topic has been deleted. Only users with topic management privileges can see it.
    • Christian Kohlöffel
      Christian Kohlöffel @simatec last edited by

      @simatec

      Klar 🙂 ...

      1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @Christian Kohlöffel last edited by

        @christian-kohlöffel
        Ich habe nochmal etwas gelesen.
        Laut Dr. Google deutet dieser Fehler mit error input/output auf ein fehlerhaftes Dateisystem hin.
        Eventuell könnte also dein USB Stick kurz vorm verrecken sein. Um diese Möglichkeit auszuschließen, würde ich dir raten, mal einen anderen Stick in ext4 zu formatieren und diesen zu testen.

        Christian Kohlöffel 1 Reply Last reply Reply Quote 0
        • Christian Kohlöffel
          Christian Kohlöffel @simatec last edited by

          @simatec

          Ich habe soeben einen anderen USB Stick versucht. Der Fehler besteht leider weiterhin.

          Thomas Braun simatec 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Christian Kohlöffel last edited by

            @christian-kohlöffel

            error input/output kann auch auf einen 'wackeligen' USB-Port hinweisen. Insbesondere beim Pi.
            Schau mal nach ob der genug Saft bekommt:

            dmesg -T | grep -i under-voltage
            
            simatec Christian Kohlöffel 2 Replies Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @Thomas Braun last edited by

              @thomas-braun Der Stick von ihm hängt an einer Fritzbox

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @Christian Kohlöffel last edited by

                @christian-kohlöffel
                Schaue mal, ob deine USB Eingänge mit voller Leistung betrieben werden

                4e8919d9-70aa-4ec4-aae0-4d7528f919a6-image.png

                Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @simatec last edited by

                  @simatec sagte in Backitup kann influxdb Datenbank nicht sichern.:

                  @thomas-braun Der Stick von ihm hängt an einer Fritzbox

                  Oh. Hatte ich überlesen...
                  Aber den USB-Port vom "alten Fritz" kann man sich auch mal anschauen 🙂

                  1 Reply Last reply Reply Quote 0
                  • Christian Kohlöffel
                    Christian Kohlöffel @Thomas Braun last edited by

                    @thomas-braun said in Backitup kann influxdb Datenbank nicht sichern.:

                    dmesg -T | grep -i under-voltage

                    Auch falls es nicht zum Thema beiträgt: Da kommt gar nix raus, passt das?

                    pi@raspberrypi:~ $ dmesg -T | grep -i under-voltage
                    pi@raspberrypi:~ $
                    
                    Thomas Braun Christian Kohlöffel 2 Replies Last reply Reply Quote 0
                    • Christian Kohlöffel
                      Christian Kohlöffel @simatec last edited by

                      @simatec

                      Das sieht bei meiner Fritzbox anderst aus. Kann ich gar nichts einstellen dazu.

                      2021-04-12 17_21_43-Window.png

                      simatec 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Christian Kohlöffel last edited by

                        @christian-kohlöffel

                        Dann gibt es dazu keine Meldung in der Datei. Ist gut in dem Fall.

                        1 Reply Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @Christian Kohlöffel last edited by

                          @christian-kohlöffel
                          Was kannst du dort einstellen?

                          Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                          • Christian Kohlöffel
                            Christian Kohlöffel @Christian Kohlöffel last edited by

                            @christian-kohlöffel

                            Jetzt noch zur Vollständigkeit: Ich habe das mount auf den internen Speicher der Fritzbox verschoben. Das macht auch keinen Unterschied.

                            1 Reply Last reply Reply Quote 0
                            • Christian Kohlöffel
                              Christian Kohlöffel @simatec last edited by Christian Kohlöffel

                              @simatec

                              Zeiten bis zu maximal "Niemals"

                              2021-04-12 17_37_15-Window.png

                              --> Macht aber keinen Unterschied. Selbst bei "Niemals" kommt der bekannte Fehler.

                              simatec 1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active @Christian Kohlöffel last edited by

                                @christian-kohlöffel
                                Stelle mal bitte zum testen in den Einstellungen von Backitup das Influx Backup von Lokal auf Remote und trage als Host „localhost“ und als Port 8088 ein.

                                Die Pfadangabe bitte leer lassen

                                Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                • Christian Kohlöffel
                                  Christian Kohlöffel @simatec last edited by Christian Kohlöffel

                                  @simatec said in Backitup kann influxdb Datenbank nicht sichern.:

                                  localhost

                                  Hier die Einstellungen

                                  2021-04-12 17_47_58-Window.png

                                  Und hier das Ergebniss

                                  [DEBUG] [iobroker] - done
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                                  [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                                  [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host localhost:8088 "/opt/iobroker/backups/influxDB_2021_04_12-17_48_38_backupiobroker"
                                  backup: copy: read /opt/iobroker/backups/influxDB_2021_04_12-17_48_38_backupiobroker/meta.00: input/output error
                                  
                                  
                                  simatec 1 Reply Last reply Reply Quote 0
                                  • simatec
                                    simatec Developer Most Active @Christian Kohlöffel last edited by

                                    @christian-kohlöffel
                                    Schaue mal bitte hier und gehe mal die Schritte zum testen deines Filesystems durch

                                    https://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory

                                    Die Meldung macht mich echt stutzig und kann meiner Menschen nach nichts mit Backitup bzw. Iobroker zu tun haben.
                                    Es wird ein lokales Problem sein

                                    Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                    • Christian Kohlöffel
                                      Christian Kohlöffel @simatec last edited by Christian Kohlöffel

                                      @simatec

                                      Kannst du das ein wenig genauer sagen welche Schritte das sind. Ich bin da nicht fit genug in Linux.
                                      Will ja nicht mein Filesystem löschen 🙂 ...

                                      dsmesg
                                      

                                      sagt das am Schluss ...```
                                      code_text

                                      [ 1003.064383] CIFS: Attempting to mount //192.168.178.1/FRITZ.NAS/BackupLokal/
                                      [ 1003.064466] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recomme                                                                                                                                                             nded unless required for access to very old servers
                                      [ 1012.304986] CIFS: VFS: bogus file nlink value 0
                                      [ 1012.371432] CIFS: VFS: bogus file nlink value 0
                                      [ 1015.991625] CIFS: VFS: bogus file nlink value 0
                                      [ 1021.232727] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=445
                                      [ 1021.232743] 00000000: 27000000 424d53ff 00000074 40018800  ...'.SMBt......@
                                      [ 1021.232759] 00000010: 00000000 00000000 00000000 5a120000  ...............Z
                                      [ 1021.232768] 00000020: f4 01 bd 01 03 ff 00 00 00 00 00                 ......                                                                                                                                                             
                                      [ 1021.232820] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failu                                                                                                                                                             re rc=-5
                                      pi@raspberrypi:~ $
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Christian Kohlöffel last edited by

                                        @christian-kohlöffel

                                        Den Stick sauber aushängen auf der FritzBox, in den Pi stopfen,

                                        dmesg -T
                                        

                                        aufrufen, nach relevanten Meldungen schauen, der Zeitstempel hilft dir dabei.

                                        Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                        • Christian Kohlöffel
                                          Christian Kohlöffel @Thomas Braun last edited by Christian Kohlöffel

                                          @thomas-braun said in Backitup kann influxdb Datenbank nicht sichern.:

                                          dmesg -T

                                          Ab USB Stick scheint nicht zu sein, oder?

                                          [Mon Apr 12 17:39:49 2021] CIFS: Attempting to mount //192.168.178.1/FRITZ.NAS/BackupLokal/
                                          [Mon Apr 12 17:39:49 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
                                          [Mon Apr 12 17:39:58 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 17:39:58 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 17:40:02 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 17:40:07 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=446
                                          [Mon Apr 12 17:40:07 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.SMBt......@
                                          [Mon Apr 12 17:40:07 2021] 00000010: 00000000 00000000 00000000 2e670000  ..............g.
                                          [Mon Apr 12 17:40:07 2021] 00000020: f4 01 be 01 03 ff 00 00 00 00 00                 ...........
                                          [Mon Apr 12 17:40:07 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5
                                          [Mon Apr 12 17:48:18 2021] CIFS: Attempting to mount //192.168.178.1/FRITZ.NAS/BackupLokal/
                                          [Mon Apr 12 17:48:18 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
                                          [Mon Apr 12 17:48:19 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=21
                                          [Mon Apr 12 17:48:19 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.SMBt......@
                                          [Mon Apr 12 17:48:19 2021] 00000010: 00000000 00000000 00000000 573a0000  ..............:W
                                          [Mon Apr 12 17:48:19 2021] 00000020: f4 01 15 00 03 ff 00 00 00 00 00                 ...........
                                          [Mon Apr 12 17:48:19 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5
                                          [Mon Apr 12 17:48:29 2021] CIFS: Attempting to mount //192.168.178.1/FRITZ.NAS/BackupLokal/
                                          [Mon Apr 12 17:48:29 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
                                          [Mon Apr 12 17:48:38 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 17:48:38 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 17:48:41 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 17:48:47 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=445
                                          [Mon Apr 12 17:48:47 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.SMBt......@
                                          [Mon Apr 12 17:48:47 2021] 00000010: 00000000 00000000 00000000 5a120000  ...............Z
                                          [Mon Apr 12 17:48:47 2021] 00000020: f4 01 bd 01 03 ff 00 00 00 00 00                 ...........
                                          [Mon Apr 12 17:48:47 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5
                                          [Mon Apr 12 18:17:53 2021] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
                                          [Mon Apr 12 18:17:53 2021] usb 1-1.1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.06
                                          [Mon Apr 12 18:17:53 2021] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                                          [Mon Apr 12 18:17:53 2021] usb 1-1.1: Product: Intenso Rainbow Line
                                          [Mon Apr 12 18:17:53 2021] usb 1-1.1: Manufacturer: Alcor
                                          [Mon Apr 12 18:17:53 2021] usb 1-1.1: SerialNumber: 12345678
                                          [Mon Apr 12 18:17:53 2021] usb-storage 1-1.1:1.0: USB Mass Storage device detected
                                          [Mon Apr 12 18:17:53 2021] scsi host0: usb-storage 1-1.1:1.0
                                          [Mon Apr 12 18:17:54 2021] scsi 0:0:0:0: Direct-Access     Intenso  Rainbow Line     8.07 PQ: 0 ANSI: 4
                                          [Mon Apr 12 18:17:54 2021] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
                                          [Mon Apr 12 18:17:54 2021] sd 0:0:0:0: [sda] Write Protect is off
                                          [Mon Apr 12 18:17:54 2021] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
                                          [Mon Apr 12 18:17:54 2021] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
                                          [Mon Apr 12 18:17:54 2021] sd 0:0:0:0: Attached scsi generic sg0 type 0
                                          [Mon Apr 12 18:17:54 2021]  sda: sda1
                                          [Mon Apr 12 18:17:54 2021] sd 0:0:0:0: [sda] Attached SCSI removable disk
                                          
                                          

                                          Und hier die Ausgabe von dmesg -T wenn ich den Backitup Adapter anwerfe:

                                          [Mon Apr 12 18:27:31 2021] CIFS: Attempting to mount //192.168.178.1/fritz.nas/KINGSTON/iOBroker_Backups
                                          [Mon Apr 12 18:27:31 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
                                          [Mon Apr 12 18:27:39 2021] CIFS: Attempting to mount //192.168.178.1/fritz.nas/KINGSTON/iOBroker_Backups
                                          [Mon Apr 12 18:27:39 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
                                          [Mon Apr 12 18:27:39 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=36
                                          [Mon Apr 12 18:27:39 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.SMBt......@
                                          [Mon Apr 12 18:27:39 2021] 00000010: 00000000 00000000 00000000 23890000  ...............#
                                          [Mon Apr 12 18:27:39 2021] 00000020: f4 01 24 00 03 ff 00 00 00 00 00                 ..$........
                                          [Mon Apr 12 18:27:39 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5
                                          [Mon Apr 12 18:27:39 2021] CIFS: Attempting to mount //192.168.178.1/fritz.nas/KINGSTON/iOBroker_Backups
                                          [Mon Apr 12 18:27:39 2021] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
                                          [Mon Apr 12 18:27:50 2021] CIFS: Attempting to mount //192.168.178.1/fritz.nas/KINGSTON/iOBroker_Backups
                                          [Mon Apr 12 18:27:50 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
                                          [Mon Apr 12 18:28:00 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 18:28:00 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 18:28:03 2021] CIFS: VFS: bogus file nlink value 0
                                          [Mon Apr 12 18:28:08 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=452
                                          [Mon Apr 12 18:28:08 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.SMBt......@
                                          [Mon Apr 12 18:28:08 2021] 00000010: 00000000 00000000 00000000 26540000  ..............T&
                                          [Mon Apr 12 18:28:08 2021] 00000020: f4 01 c4 01 03 ff 00 00 00 00 00                 ...........
                                          [Mon Apr 12 18:28:08 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5
                                          
                                          
                                          Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                          • Christian Kohlöffel
                                            Christian Kohlöffel @Christian Kohlöffel last edited by Christian Kohlöffel

                                            @christian-kohlöffel said in Backitup kann influxdb Datenbank nicht sichern.:

                                            CIFS: VFS: bogus file nlink value 0

                                            CIFS: VFS: bogus file nlink value 0
                                            

                                            Das finde ich zur Suche bei google:

                                            https://askubuntu.com/questions/1265164/stale-file-handler-when-mounting-cifs-smb-network-drive-from-fritz-router

                                            https://debianforum.de/forum/viewtopic.php?t=176154

                                            Könnte das unser Problem sein?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            733
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            107
                                            7557
                                            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