Am 10.03.20 um 15:13 schrieb Martin Simmons:
>>>>>> On Tue, 10 Mar 2020 09:26:20 +0100, Pierre Bernhardt said:
> I suggest checking the bacula log and the syslog to see what it reports when
> the tape is marked as full.
Thats a problem. I've send only mails in the past. Only after upgrade in feb
2020 i added also local log files :-(
The mails does not show relevant message, only tape is full and another from
scratch pool has to been used to continue the backups.
On one of the last tape full exchanges:

02-Mar 09:06 backup-sd JobId 47481: Writing spooled data to Volume. Despooling 
2,147,487,764 bytes ...
02-Mar 09:06 backup-sd JobId 47481: [SI0202] End of Volume "LTO40029" at 
551:5309 on device "HP Ultrium 4-1" 
(/dev/tape/by-id/scsi-32001000e11129ae5-nst). Write of 64512 bytes got -1.
02-Mar 09:06 backup-sd JobId 47481: Re-read of last block succeeded.
02-Mar 09:06 backup-sd JobId 47481: End of medium on Volume "LTO40029" 
Bytes=548,973,702,144 Blocks=8,509,636 at 02-Mar-2020 09:06.
02-Mar 09:06 backup-sd JobId 47481: 3307 Issuing autochanger "unload Volume 
LTO40029, Slot 20, Drive 0" command.
02-Mar 09:08 backup-dir JobId 47481: Using Volume "LTO40032" from 'Scratch' 
pool.
02-Mar 09:08 backup-sd JobId 47481: 3304 Issuing autochanger "load Volume 
LTO40032, Slot 18, Drive 0" command.
02-Mar 09:09 backup-sd JobId 47481: 3305 Autochanger "load Volume LTO40032, 
Slot 18, Drive 0", status is OK.
02-Mar 09:10 backup-sd JobId 47481: Wrote label to prelabeled Volume "LTO40032" 
on Tape device "HP Ultrium 4-1" (/dev/tape/by-id/scsi-32001000e11129ae5-nst)
02-Mar 09:10 backup-sd JobId 47481: New volume "LTO40032" mounted on device "HP 
Ultrium 4-1" (/dev/tape/by-id/scsi-32001000e11129ae5-nst) at 02-Mar-2020 09:10.
02-Mar 09:14 backup-sd JobId 47481: Despooling elapsed time = 00:03:59, 
Transfer rate = 8.985 M Bytes/second


> It might be a problem with the tape drive.  Can you run the manufacturer's
> diagnostics?
No idea how. It's linux box and as long tapeinfor does not shows an error
or an error is reported in syslog/dmesg/log ...


> Also, you might try using smartctl to get information about error rates from
> the drive.  Something like:
> 
> smartctl -a -d scsi -T permissive /dev/nst0
Oh, thats new for me ;-)

root@backup:~# smartctl -a -d scsi -T permissive 
/dev/tape/by-id/scsi-HU1914570A-nst
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-8-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HP
Product:              Ultrium 4-SCSI
Revision:             V67B
Logical Unit id:      0x2001000e11129ae5
Serial number:        HU1914570A
Device type:          tape
Transport protocol:   Fibre channel (FCP-2)
Local Time is:        Tue Mar 10 20:33:02 2020 CET
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
TapeAlert Supported
TapeAlert: OK
Current Drive Temperature:     31 C
Drive Trip Temperature:        <not available>

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    
Total
               ECC          rereads/    errors   algorithm      processed    
uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  
errors
read:          0        0         0         0          0          0.000         
  0
write:    155217        1         1         1   21869758          0.000         
  0

Device does not support Self Test logging


> 
>> (How can I check it which drive index has been used before and since
>> 2020 ? Is there a field which shows me the drive index in the db?)
> 
> This information should be in the bacula log.
It looks like it is ever drive 0.

Cheers,
Pierre






_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to