NEWS
[gelöst] Backitup kann influxdb Datenbank nicht sichern.
-
Zeiten bis zu maximal "Niemals"
--> Macht aber keinen Unterschied. Selbst bei "Niemals" kommt der bekannte Fehler.
-
@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
-
@simatec said in Backitup kann influxdb Datenbank nicht sichern.:
localhost
Hier die Einstellungen
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
-
@christian-kohlöffel
Schaue mal bitte hier und gehe mal die Schritte zum testen deines Filesystems durchhttps://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 -
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:~ $
-
Den Stick sauber aushängen auf der FritzBox, in den Pi stopfen,
dmesg -T
aufrufen, nach relevanten Meldungen schauen, der Zeitstempel hilft dir dabei.
-
@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 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://debianforum.de/forum/viewtopic.php?t=176154
Könnte das unser Problem sein?
-
@christian-kohlöffel
Soweit ich weiß wird eh mit noserverino gemountet.
Aber ist der Mountpunkt leer, wenn das Dateisystem eingehängt wird? -
@thomas-braun
„noserverino“ wird in Backitup nicht als Option verwendet.
Ich könnte das aber testhalber mal einbauen -
@christian-kohlöffel
Ich habe dir die Option „ noserverino“ mal im DEV Branch eingebaut. Installiere mal bitte über den besagten Github Link des DEV Branch und im Anschluss wieder ein UploadSiehe hier
https://forum.iobroker.net/post/613403 -
Leider immernoch derselbe Fehler ...
Hier das Log dazu:
backitup.0 2021-04-12 20:47:50.452 debug (3277) [iobroker/influxDB] backup: copy: read /opt/iobroker/backups/influxDB_2021_04_12-20_47_48_backupiobroker/meta.00: input/output error backitup.0 2021-04-12 20:47:50.451 debug (3277) [iobroker/influxDB] [IGNORED] Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2021_04_12-20_47_48_backupiobroker" backitup.0 2021-04-12 20:47:50.449 debug (3277) [iobroker/influxDB] InfluxDB tmp directory was successfully deleted backitup.0 2021-04-12 20:47:50.377 debug (3277) [iobroker/influxDB] Try deleting the InfluxDB tmp directory backitup.0 2021-04-12 20:47:49.603 debug (3277) [iobroker/influxDB] InfluxDB Backup tmp directory created backitup.0 2021-04-12 20:47:48.932 debug (3277) [iobroker/influxDB] Start InfluxDB Backup ...
Hier der output von
dmesg -T
[Mon Apr 12 20:46:53 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 20:47:05 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=2 5 [Mon Apr 12 20:47:05 2021] 00000000: 27000000 424d53ff 00000074 40018800 ...'.S MBt......@ [Mon Apr 12 20:47:05 2021] 00000010: 00000000 00000000 00000000 0e5d0000 ...... ........]. [Mon Apr 12 20:47:05 2021] 00000020: f4 01 19 00 03 ff 00 00 00 00 00 ........... [Mon Apr 12 20:47:05 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5 [Mon Apr 12 20:47:39 2021] CIFS: Attempting to mount //192.168.178.1/fritz.nas/K INGSTON/iOBroker_Backups [Mon Apr 12 20:47: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 20:47:49 2021] CIFS: VFS: bogus file nlink value 0 [Mon Apr 12 20:47:49 2021] CIFS: VFS: bogus file nlink value 0 [Mon Apr 12 20:47:53 2021] CIFS: VFS: bogus file nlink value 0 [Mon Apr 12 20:47:58 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=4 40 [Mon Apr 12 20:47:58 2021] 00000000: 27000000 424d53ff 00000074 40018800 ...'.S MBt......@ [Mon Apr 12 20:47:58 2021] 00000010: 00000000 00000000 00000000 136b0000 ...... ........k. [Mon Apr 12 20:47:58 2021] 00000020: f4 01 b8 01 03 ff 00 00 00 00 00 ........... [Mon Apr 12 20:47:58 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session Logoff failure rc=-5
-
@christian-kohlöffel said in Backitup kann influxdb Datenbank nicht sichern.:
CIFS: VFS: bogus file nlink value 0
Nun habe ich noch auf smbv3 umgestellt und siehe da
==> ES FUNKTIONIERTVielen Dank für euren TOP Support und die Ausdauer beim Debugging ....
Started iobroker ... [DEBUG] [mount] - mount activ... umount is started before mount!! [DEBUG] [mount] - umount successfully completed [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 2156 states saved [DEBUG] [iobroker] - host.raspberrypi 2575 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_12-20_52_56_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Packed 28MB so far... [DEBUG] [influxDB] - Packed 63MB so far... [DEBUG] [influxDB] - Packed 73MB so far... [DEBUG] [influxDB] - Packed 92MB so far... [DEBUG] [influxDB] - Packed 129MB so far... [DEBUG] [influxDB] - Packed 140MB so far... [DEBUG] [influxDB] - Packed 153MB so far... [DEBUG] [influxDB] - Packed 194MB so far... [DEBUG] [influxDB] - Packed 212MB so far... [DEBUG] [influxDB] - Packed 218MB so far... [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_04_12-20_53_07_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - done [DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - Created redistmp directory [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_12-20_57_52_backupiobroker.tar.gz [DEBUG] [redis] - Try deleting the redis tmp directory: "/opt/iobroker/backups/redistmp" [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted [DEBUG] [redis] - done [DEBUG] [cifs] - done [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 0
-
@christian-kohlöffel
Die Version mit aktiver Option noserverino ? -
Ja genau, in Verbindung mit Samba Version 3.0.
Samba Version 1.0 hat ebenfalls nicht funktioniert. -
@christian-kohlöffel smb 1.0 sollte man auch nicht mehr verwenden. Ich hab bei mir aber 3.1.1 im Adapter eingestellt.
-
@christian-kohlöffel
Gerne ... freut mich, dass es nun geht. Du bist zwar mir bekannt der Einzige mit diesem Problem von einigen tausend, die Backitup nutzen, aber es hilft sicher auch anderen.Ich werde die Option „noserverino“ in der nächsten Version in der Config auswählbar machen.
Also bei dem nächsten Update musst du dann nochmal in der Config unter „NAS / Kopieren“ die Option auswählen.
-
Komisch, es geht aber schon wieder nicht mehr ....
Also nur einmal. Nochmaliges Backup und wieder dieselbe Fehler Meldung. Ich starte mal nochmals neu etc. und schaue nochmals mit anderen smb Versionen. -
@christian-kohlöffel
Hast du wie Thomas empfohlen hat die 3.1.1 ausgewählt und in der FB Konfig smb v1 deaktiviert? -
Probiere ich gleich mal aus. Nach einem Neustart scheint es dann auch wieder zu gehen.
Jetzt mache ich das gleiche gleich nochmals ....