Following situation: as i tried to label some brand new LTO4-tapes at bconsole, i got following error:
--- [... label dialog ...] Sending label command for Volume "DailyTape-001" Slot 17 ... 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result: nothing loaded. 3304 Issuing autochanger "load slot 17, drive 0" command. 3305 Autochanger "load slot 17, drive 0", status is OK. 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result is Slot 17. block.c:995 Read error on fd=5 at file:blk 0:0 on device "lto4drive" (/dev/nst0). ERR=Input/output error. 3000 OK label. VolBytes=64512 DVD=0 Volume="DailyTape-001" Device="lto4drive" (/dev/nst0) Catalog record for Volume "DailyTape-001", Slot 17 successfully created. Requesting to mount MSL2024 ... 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result is Slot 17. 3001 Mounted Volume: DailyTape-001 3001 Device "lto4drive" (/dev/nst0) is mounted with Volume "DailyTape-001" --- Because the "block.c:995 Read error on fd=5 at file:blk 0:0 on device "lto4drive" (/dev/nst0). ERR=Input/output error. " was very strange to me, so i google'd a bit and found an advice, that a "mt -f /dev/nst0 weof" should correct such errors. So i issued this command. Relabeling worked after that just fine. And labeling of new tapes, for which i issued the "weof" worked also fine. Now, as i wanted to make a backup on one of such tapes, i got following: ----------- 14-Dec 12:22 backupserver-dir JobId 16: BeforeJob: run command "/etc/bacula/scripts/create-bootstrap-dir testserver" 14-Dec 12:22 backupserver-dir JobId 16: Start Backup JobId 16, Job=testserver_backup.2007-12-14_12.22.08 14-Dec 12:23 backupserver-dir JobId 16: Using Device "lto4drive" 14-Dec 12:23 testserver-fd JobId 16: ClientBeforeJob: run command "/etc/bacula/scripts/pre.backup.sh" 14-Dec 12:23 backupserver-sd JobId 16: 3307 Issuing autochanger "unload slot 20, drive 0" command. 14-Dec 12:23 backupserver-sd JobId 16: 3304 Issuing autochanger "load slot 4, drive 0" command. 14-Dec 12:24 backupserver-sd JobId 16: 3305 Autochanger "load slot 4, drive 0", status is OK. 14-Dec 12:24 backupserver-sd JobId 16: 3301 Issuing autochanger "loaded? drive 0" command. 14-Dec 12:24 backupserver-sd JobId 16: 3302 Autochanger "loaded? drive 0", result is Slot 4. 14-Dec 12:24 backupserver-sd JobId 16: Wrote label to prelabeled Volume "WeeklyTape-004" on device "lto4drive" (/dev/nst0) 14-Dec 12:24 backupserver-sd JobId 16: Spooling data ... 14-Dec 12:24 backupserver-sd JobId 16: Job write elapsed time = 00:00:24, Transfer rate = 112.6 M bytes/second 14-Dec 12:24 testserver-fd JobId 16: ClientAfterJob: run command "/etc/bacula/scripts/post.backup.sh" 14-Dec 12:24 backupserver-sd JobId 16: Committing spooled data to Volume "WeeklyTape-004". Despooling 2,705,126,557 bytes ... 14-Dec 12:24 backupserver-sd JobId 16: Error: block.c:569 Write error at 0:2 on device "lto4drive" (/dev/nst0). ERR=Input/output error. 14-Dec 12:25 backupserver-sd JobId 16: Re-read of last block succeeded. 14-Dec 12:25 backupserver-sd JobId 16: End of medium on Volume "WeeklyTape-004" Bytes=129,024 Blocks=1 at 14-Dec-2007 12:25. 14-Dec 12:25 backupserver-sd JobId 16: 3301 Issuing autochanger "loaded? drive 0" command. 14-Dec 12:25 backupserver-sd JobId 16: 3302 Autochanger "loaded? drive 0", result is Slot 4. 14-Dec 12:25 backupserver-sd JobId 16: 3307 Issuing autochanger "unload slot 4, drive 0" command. 14-Dec 12:25 backupserver-sd JobId 16: 3304 Issuing autochanger "load slot 5, drive 0" command. 14-Dec 12:26 backupserver-sd JobId 16: 3305 Autochanger "load slot 5, drive 0", status is OK. 14-Dec 12:26 backupserver-sd JobId 16: 3301 Issuing autochanger "loaded? drive 0" command. 14-Dec 12:26 backupserver-sd JobId 16: 3302 Autochanger "loaded? drive 0", result is Slot 5. 14-Dec 12:26 backupserver-sd JobId 16: Wrote label to prelabeled Volume "WeeklyTape-005" on device "lto4drive" (/dev/nst0) 14-Dec 12:26 backupserver-sd JobId 16: New volume "WeeklyTape-005" mounted on device "lto4drive" (/dev/nst0) at 14-Dec-2007 12:26. 14-Dec 12:26 backupserver-sd JobId 16: Error: block.c:569 Write error at 0:2 on device "lto4drive" (/dev/nst0). ERR=Input/output error. 14-Dec 12:26 backupserver-sd JobId 16: Error: block.c:318 Volume data error at 0:4294967295! Block checksum mismatch in block=1 len=64512: calc=1fff406f blk=a8f761ff 14-Dec 12:26 backupserver-sd JobId 16: Error: Re-read last block at EOT failed. ERR=block.c:318 Volume data error at 0:4294967295! Block checksum mismatch in block=1 len=64512: calc=1fff406f blk=a8f761ff 14-Dec 12:26 backupserver-sd JobId 16: End of medium on Volume "WeeklyTape-005" Bytes=129,024 Blocks=1 at 14-Dec-2007 12:26. 14-Dec 12:26 backupserver-sd JobId 16: 3301 Issuing autochanger "loaded? drive 0" command. 14-Dec 12:26 backupserver-sd JobId 16: 3302 Autochanger "loaded? drive 0", result is Slot 5. 14-Dec 12:26 backupserver-sd JobId 16: 3307 Issuing autochanger "unload slot 5, drive 0" command. * [cancelling the job] 14-Dec 12:27 backupserver-sd JobId 16: Job testserver_backup.2007-12-14_12.22.08 marked to be canceled. 14-Dec 12:27 backupserver-dir JobId 16: Bacula backupserver-dir 2.2.5 (09Oct07): 14-Dec-2007 12:27:02 Build OS: x86_64-pc-linux-gnu debian 4.0 JobId: 16 Job: testserver_backup.2007-12-14_12.22.08 Backup Level: Full Client: "testserver" 2.2.5 (09Oct07) x86_64-pc-linux-gnu,debian,4.0 FileSet: "testserver fileset" 2007-12-12 23:05:00 Pool: "WeeklyBackups" (From Job FullPool override) Storage: "msl2024" (From Pool resource) Scheduled time: 14-Dec-2007 12:22:37 Start time: 14-Dec-2007 12:23:00 End time: 14-Dec-2007 12:27:02 Elapsed time: 4 mins 2 secs Priority: 3 FD Files Written: 1,907 SD Files Written: 0 FD Bytes Written: 2,702,355,329 (2.702 GB) SD Bytes Written: 0 (0 B) Rate: 11166.8 KB/s Software Compression: None VSS: no Encryption: no Volume name(s): WeeklyTape-004|WeeklyTape-005 Volume Session Id: 4 Volume Session Time: 1197629915 Last Volume Bytes: 64,512 (64.51 KB) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: Error Termination: Backup Canceled ----------- This is the list of the tapes after the unsuccessfull backup: (the first tape was not "mt -f /dev/nst0 weof"ed.) +---------+----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 1 | WeeklyTape-001 | Full | 1 | 106,370,611,200 | 108 | 2,678,400 | 1 | 1 | 1 | LTO-4 | 2007-12-14 09:21:26 | | 14 | WeeklyTape-002 | Full | 1 | 129,024 | 1 | 2,678,400 | 1 | 2 | 1 | LTO-4 | 2007-12-14 09:23:44 | | 15 | WeeklyTape-003 | Full | 1 | 129,024 | 1 | 2,678,400 | 1 | 3 | 1 | LTO-4 | 2007-12-14 10:38:22 | | 16 | WeeklyTape-004 | Full | 1 | 129,024 | 1 | 2,678,400 | 1 | 4 | 1 | LTO-4 | 2007-12-14 12:25:01 | | 20 | WeeklyTape-005 | Full | 1 | 129,024 | 1 | 2,678,400 | 1 | 5 | 1 | LTO-4 | 2007-12-14 12:26:49 | | 21 | WeeklyTape-006 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 6 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 22 | WeeklyTape-007 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 7 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 23 | WeeklyTape-008 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 8 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 24 | WeeklyTape-009 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 9 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 25 | WeeklyTape-010 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 10 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 26 | WeeklyTape-011 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 11 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 27 | WeeklyTape-012 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 12 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 28 | WeeklyTape-013 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 13 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 29 | WeeklyTape-014 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 14 | 1 | LTO-4 | 0000-00-00 00:00:00 | | 30 | WeeklyTape-015 | Append | 1 | 64,512 | 0 | 2,678,400 | 1 | 15 | 1 | LTO-4 | 0000-00-00 00:00:00 | +---------+----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ As it seems to me, the "mt -f /dev/nst0 weof" wrote the EndOfTape at 129.024 bytes and bacula stops at that mark and assumes that the tape is full. Question1: how/with what command can i remove the "wrong"/"bad" EOF-Mark at 129.024-bytes? Question2: what have i've done wrong? By the way: a simple "tar cf /dev/nsf0 /tmp/20GigBigFile" works like a charm. Reading/writing without any problem and the md5sum's are correct.... Mit freundlichen Grüßen Vladimirs Vecgailis -- ================================== Vladimirs Vecgailis Colocation IT primacall Vertriebs-GmbH Postfach 08 04 55 10004 Berlin Leipziger Str. 124 10117 Berlin GERMANY Phone +49 30 206143 875 eMail [EMAIL PROTECTED] Web http://www.primacall.de ================================== Amtsgericht und Sitz: Berlin, HRB 98348 B Steuernummer: 37-199-20919 Geschäftsführer: M. Vukusic Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung, Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten verloren gehen, verändert oder verfälscht werden. Eine Haftung für die Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht übernommen werden. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee and access to the e-mail by anyone else is prohibited. If you are not the intended recipient, any disclosure, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Common e-mails are not protected against access by third persons and therefore might be lost, changed or falsified, with or without any interference by third persons. We cannot accept any responsibility for the integrity of e-mails or for any damages resulting out of these circumstances. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users