Hello Did you tested your tape drive with btape utility? What was a result of the test?
best regards 2015-09-20 18:00 GMT+02:00 ADCD IT <adcd...@gmail.com>: > Hi Everyone, > > I have issue writing to my tapes. > > I have an HP tape library connected to ubuntu 12.04 with bacula 5.2.5 > installed. > when I am running a full backup job on any client or with any tape (tapes > are new, so its not tape issue) > the job stops in the middle after the SD wrote about 20GB than mark the > tape as FULL and throw those errors: > > 19-Sep 16:53 buffer-bacula-dir JobId 108: Start Backup JobId 108, > Job=cow-bj.2015-09-19_16.53.18_08 > 19-Sep 16:53 buffer-bacula-dir JobId 108: Using Device "DTL01" > 19-Sep 16:53 buffer-bacula-sd JobId 108: Wrote label to prelabeled Volume > "TAPE05L5" on device "DTL01" (/dev/nst0) > 19-Sep 16:55 cow-fd JobId 108: Generate VSS snapshots. Driver="Win32 VSS", > Drive(s)="CD" > 19-Sep 20:22 buffer-bacula-sd JobId 108: Fatal error: Unable to write EOF. > ERR=dev.c:1551 ioctl MTWEOF error on "DTL01" (/dev/nst0). ERR=Input/output > error. > > 19-Sep 20:22 buffer-bacula-sd JobId 108: Error: Error writing final EOF to > tape. This Volume may not be readable. > dev.c:1551 ioctl MTWEOF error on "DTL01" (/dev/nst0). ERR=Input/output > error. > 19-Sep 20:22 buffer-bacula-sd JobId 108: Job write elapsed time = > 03:29:04, Transfer rate = 1.990 M Bytes/second > 19-Sep 20:24 cow-fd JobId 108: Error: lib/bsock.c:429 Write error sending > 65536 bytes to Storage daemon:192.168.0.70:9103: ERR=Input/output error > 19-Sep 20:24 cow-fd JobId 108: Fatal error: filed/backup.c:1194 Network > send error to SD. ERR=Input/output error > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "System > Writer", State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "MSDEWriter", > State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "IIS Metabase > Writer", State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "Registry > Writer", State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "Event Log > Writer", State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "COM+ REGDB > Writer", State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "WMI Writer", > State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:24 cow-fd JobId 108: VSS Writer (BackupComplete): "BITS Writer", > State: 0x1 (VSS_WS_STABLE) > 19-Sep 20:23 buffer-bacula-dir JobId 108: Error: Bacula buffer-bacula-dir > 5.2.5 (26Jan12): > Build OS: x86_64-pc-linux-gnu ubuntu 12.04 > JobId: 108 > Job: cow-bj.2015-09-19_16.53.18_08 > Backup Level: Full > Client: "cow" 5.2.10 (28Jun12) Microsoft Windows Home > ServerStandard Edition Service Pack 2 (build 3790),Cross-compile,Win32 > FileSet: "cow" 2015-09-07 02:00:04 > Pool: "Main" (From Job resource) > Catalog: "MyCatalog" (From Client resource) > Storage: "HPTapeLibrary" (From Job resource) > Scheduled time: 19-Sep-2015 16:53:15 > Start time: 19-Sep-2015 16:53:21 > End time: 19-Sep-2015 20:23:34 > Elapsed time: 3 hours 30 mins 13 secs > Priority: 10 > FD Files Written: 250,664 > SD Files Written: 250,650 > FD Bytes Written: 24,929,269,562 (24.92 GB) > SD Bytes Written: 24,974,983,634 (24.97 GB) > Rate: 1976.5 KB/s > Software Compression: None > VSS: yes > Encryption: no > Accurate: no > Volume name(s): TAPE05L5 > Volume Session Id: 1 > Volume Session Time: 1442506946 > Last Volume Bytes: 24,998,400,000 (24.99 GB) > Non-fatal FD errors: 1 > SD Errors: 2 > FD termination status: Error > SD termination status: Error > Termination: *** Backup Error *** > > > if I try to change the tape from FULL to APPEND and run the job again on > the previously written tape, this is the error I am getting: > > 20-Sep 10:53 buffer-bacula-dir JobId 109: Start Backup JobId 109, > Job=cow-bj.2015-09-20_09.52.20_20 > 20-Sep 10:53 buffer-bacula-dir JobId 109: Using Device "DTL01" > 20-Sep 10:54 buffer-bacula-sd JobId 109: Volume "TAPE05L5" previously > written, moving to end of data. > 20-Sep 11:10 buffer-bacula-sd JobId 109: Error: Unable to position to end > of data on device "DTL01" (/dev/nst0): ERR=dev.c:763 ioctl MTEOM error on > "DTL01" (/dev/nst0). ERR=Input/output error. > > 20-Sep 11:10 buffer-bacula-sd JobId 109: Marking Volume "TAPE05L5" in > Error in Catalog. > 20-Sep 11:10 buffer-bacula-sd JobId 109: 3307 Issuing autochanger "unload > slot 1, drive 0" command. > 20-Sep 11:12 buffer-bacula-sd JobId 109: 3301 Issuing autochanger "loaded? > drive 0" command. > 20-Sep 11:12 buffer-bacula-sd JobId 109: 3302 Autochanger "loaded? drive > 0", result: nothing loaded. > 20-Sep 11:12 buffer-bacula-sd JobId 109: 3304 Issuing autochanger "load > slot 2, drive 0" command. > 20-Sep 11:13 buffer-bacula-sd JobId 109: 3305 Autochanger "load slot 2, > drive 0", status is OK. > 20-Sep 11:13 buffer-bacula-sd JobId 109: Wrote label to prelabeled Volume > "TAPE06L5" on device "DTL01" (/dev/nst0) > 20-Sep 11:15 cow-fd JobId 109: Generate VSS snapshots. Driver="Win32 VSS", > Drive(s)="CD" > 20-Sep 13:54 buffer-bacula-sd JobId 109: Error: block.c:577 Write error at > 19:14135 on device "DTL01" (/dev/nst0). ERR=Input/output error. > 20-Sep 13:59 buffer-bacula-sd JobId 109: Error: Error writing final EOF to > tape. This Volume may not be readable. > dev.c:1551 ioctl MTWEOF error on "DTL01" (/dev/nst0). ERR=Input/output > error. > 20-Sep 13:59 buffer-bacula-sd JobId 109: End of medium on Volume > "TAPE06L5" Bytes=19,910,661,120 Blocks=308,634 at 20-Sep-2015 13:59. > 20-Sep 13:59 buffer-bacula-sd JobId 109: 3307 Issuing autochanger "unload > slot 2, drive 0" command. > 20-Sep 14:02 buffer-bacula-sd JobId 109: 3301 Issuing autochanger "loaded? > drive 0" command. > 20-Sep 14:02 buffer-bacula-sd JobId 109: 3302 Autochanger "loaded? drive > 0", result: nothing loaded. > 20-Sep 14:02 buffer-bacula-sd JobId 109: 3304 Issuing autochanger "load > slot 3, drive 0" command. > 20-Sep 14:03 buffer-bacula-sd JobId 109: 3305 Autochanger "load slot 3, > drive 0", status is OK. > 20-Sep 14:03 buffer-bacula-sd JobId 109: Wrote label to prelabeled Volume > "TAPE07L5" on device "DTL01" (/dev/nst0) > 20-Sep 14:03 buffer-bacula-sd JobId 109: New volume "TAPE07L5" mounted on > device "DTL01" (/dev/nst0) at 20-Sep-2015 14:03. > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "System > Writer", State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "MSDEWriter", > State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "IIS Metabase > Writer", State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "Event Log > Writer", State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "BITS Writer", > State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "COM+ REGDB > Writer", State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "Registry > Writer", State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:53 cow-fd JobId 109: VSS Writer (BackupComplete): "WMI Writer", > State: 0x1 (VSS_WS_STABLE) > 20-Sep 15:52 buffer-bacula-sd JobId 109: Job write elapsed time = > 04:34:57, Transfer rate = 2.152 M Bytes/second > 20-Sep 15:53 buffer-bacula-dir JobId 109: Bacula buffer-bacula-dir 5.2.5 > (26Jan12): > Build OS: x86_64-pc-linux-gnu ubuntu 12.04 > JobId: 109 > Job: cow-bj.2015-09-20_09.52.20_20 > Backup Level: Full > Client: "cow" 5.2.10 (28Jun12) Microsoft Windows Home > ServerStandard Edition Service Pack 2 (build 3790),Cross-compile,Win32 > FileSet: "cow" 2015-09-07 02:00:04 > Pool: "Main" (From Job resource) > Catalog: "MyCatalog" (From Client resource) > Storage: "HPTapeLibrary" (From command line) > Scheduled time: 20-Sep-2015 10:53:39 > Start time: 20-Sep-2015 10:53:42 > End time: 20-Sep-2015 15:53:52 > Elapsed time: 5 hours 10 secs > Priority: 10 > FD Files Written: 318,022 > SD Files Written: 318,022 > FD Bytes Written: 35,442,904,385 (35.44 GB) > SD Bytes Written: 35,505,180,848 (35.50 GB) > Rate: 1968.0 KB/s > Software Compression: None > VSS: yes > Encryption: no > Accurate: no > Volume name(s): TAPE06L5|TAPE07L5 > Volume Session Id: 2 > Volume Session Time: 1442506946 > Last Volume Bytes: 15,627,257,856 (15.62 GB) > Non-fatal FD errors: 0 > SD Errors: 3 > FD termination status: OK > SD termination status: OK > Termination: Backup OK -- with warnings > > > > this is the SD configuration: > Device { > Name = "DTL01" > Description = "HPTapeLibrary - first drive" > Media Type = LTO-5 > Archive Device = /dev/nst0 > > Autochanger = yes > Drive Index = 0 > > #Hardware End of Medium = no > # BSF at EOM = no > # Backward Space Record = no > # Fast Forward Space File = no > # TWO EOF = no > > Spool Directory = /home/bacula/spooling-lib > Maximum Spool Size = 11759496889 > Maximum Job Spool Size = 11759496889 # 10GB > AlwaysOpen = no > Random access = no > > # Minimum Block Size = 262144 > # Maximum Block Size = 262144 > } > Autochanger { > Name = MSL2024 > Device = "DTL01" > # Device = Drive-2 > Description = "HP MSL024." > Changer Device = /dev/sg3 > Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" > } > > the backup succeed but with two new volumes(tapes), but it should succeed > with one tape > the tape is LTO5 1.5T capacity so I don't understand why it stops around > 20GB and also can't position to the end of data for previously written > tape. > I cleaned the drive several times but it still occurs, any idea what the > cause? hardware issue? software issue? > > Kind Regards, > Roi, > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Radosław Korzeniewski rados...@korzeniewski.net
------------------------------------------------------------------------------
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users