Post by Alejandro HamannHello BareOS community.
I have backup jobs that end with status OK with warning.
The result of messages command of bconsole showme that that I have a couple of SD Errors. But I want to know more specific information about those SD Errors. I've see in /var/log/bareos/ and there's nothing there (apart from bareos-audit.log.* and bareos.log.* ).
When running "dmesg -T" and cross dates and times of BareOS problematic jobs, I can get some information that might be useful.
But in reality, I would like to know if there is anything in BareOS that gives me more information than just a problem counter.
Regards!
--
Pablo Alejandro Hamann
Below I post the maximum collection of error messages I can get at the moment (I would not know how to get more about it either).
But I can assume that I have an SD error for each Tape written. Is this normal? (maybe because the tape cartridge is new or something similar, or because when the destination is an Filestorage Device, that does not happen).
##################################################
# cat /var/log/bareos/bareos.log
##################################################
01-Jul 04:39 bareos-dir JobId 177: Start Backup JobId 177, Job=BackupDICOM-1.2018-07-01_04.39.04_12
01-Jul 04:39 bareos-sd JobId 177: 3307 Issuing autochanger "unload slot 2, drive 0" command.
01-Jul 04:39 bareos-dir JobId 177: Using Volume "HU0003L5" from 'Scratch' pool.
01-Jul 04:39 bareos-dir JobId 177: Using Device "ULT3580-HH5" to write.
01-Jul 04:39 bareos-sd JobId 177: 3304 Issuing autochanger "load slot 3, drive 0" command.
01-Jul 04:39 bareos-sd JobId 177: 3305 Autochanger "load slot 3, drive 0", status is OK.
01-Jul 04:40 bareos-sd JobId 177: Error: generic_tape_device.c:142 Unable to open device "ULT3580-HH5" (/dev/nst0): ERR=Input/output error
01-Jul 04:40 bareos-sd JobId 177: Wrote label to prelabeled Volume "HU0003L5" on device "ULT3580-HH5" (/dev/nst0)
01-Jul 07:38 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
01-Jul 10:31 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
01-Jul 17:55 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
01-Jul 21:34 bareos-sd JobId 177: End of Volume "HU0003L5" at 56:82277 on device "ULT3580-HH5" (/dev/nst0). Write of 524288 bytes got -1.
01-Jul 21:34 bareos-sd JobId 177: Re-read of last block succeeded.
01-Jul 21:34 bareos-sd JobId 177: End of medium on Volume "HU0003L5" Bytes=3,049,584,655,360 Blocks=5,816,621 at 01-Jul-2018 21:34.
01-Jul 21:34 bareos-sd JobId 177: 3307 Issuing autochanger "unload slot 3, drive 0" command.
01-Jul 21:35 bareos-dir JobId 177: Using Volume "HU0004L5" from 'Scratch' pool.
01-Jul 21:35 bareos-sd JobId 177: 3304 Issuing autochanger "load slot 4, drive 0" command.
01-Jul 21:36 bareos-sd JobId 177: 3305 Autochanger "load slot 4, drive 0", status is OK.
01-Jul 21:36 bareos-sd JobId 177: Error: generic_tape_device.c:142 Unable to open device "ULT3580-HH5" (/dev/nst0): ERR=Input/output error
01-Jul 21:36 bareos-sd JobId 177: Wrote label to prelabeled Volume "HU0004L5" on device "ULT3580-HH5" (/dev/nst0)
01-Jul 21:36 bareos-sd JobId 177: New volume "HU0004L5" mounted on device "ULT3580-HH5" (/dev/nst0) at 01-Jul-2018 21:36.
02-Jul 01:58 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
02-Jul 06:03 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
02-Jul 08:47 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
01-Jul 04:39 hu-fs1-fd JobId 177: Created 40 wildcard excludes from FilesNotToBackup Registry key
02-Jul 10:47 bareos-sd JobId 177: Elapsed time=30:06:02, Transfer rate=48.53 M Bytes/second
02-Jul 10:48 bareos-dir JobId 177: sql_create.c:872 Insert of attributes batch table done
02-Jul 10:48 bareos-dir JobId 177: Bareos bareos-dir 17.2.4 (21Sep17):
Build OS: x86_64-pc-linux-gnu debian Debian GNU/Linux 9.3 (stretch)
JobId: 177
Job: BackupDICOM-1.2018-07-01_04.39.04_12
Backup Level: Full
Client: "hu-fs1-fd" 17.2.4 (21Sep17) Microsoft Windows Server 2012 Datacenter Edition (build 9200), 64-bit,Cross-compile,Win64
FileSet: "BackupDICOM-1" 2018-06-22 21:47:31
Pool: "Jefatura-DXI" (From command line)
Catalog: "MyCatalog" (From Client resource)
Storage: "Tape" (From Pool resource)
Scheduled time: 01-Jul-2018 04:39:04
Start time: 01-Jul-2018 04:39:28
End time: 02-Jul-2018 10:48:05
Elapsed time: 1 day 6 hours 8 mins 37 secs
Priority: 5
FD Files Written: 5,335,031
SD Files Written: 5,335,031
FD Bytes Written: 5,258,557,494,329 (5.258 TB)
SD Bytes Written: 5,259,384,649,076 (5.259 TB)
Rate: 48458.4 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): HU0003L5|HU0004L5
Volume Session Id: 7
Volume Session Time: 1530213283
Last Volume Bytes: 2,211,225,010,176 (2.211 TB)
Non-fatal FD errors: 0
SD Errors: 2
FD termination status: OK
SD termination status: OK
Termination: Backup OK -- with warnings
##################################################
# dmesg -T
##################################################
[Sun Jul 1 04:40:02 2018] st 0:0:0:0: [st0] Failed to read 64512 byte block with 80 byte transfer.
[Sun Jul 1 21:36:09 2018] st 0:0:0:0: [st0] Failed to read 64512 byte block with 80 byte transfer.
[Tue Jul 3 07:50:02 2018] st 0:0:0:0: [st0] Failed to read 64512 byte block with 80 byte transfer.
##################################################
# cat /etc/bareos/bareos-sd.d/device/ULT3580-HH5.conf
##################################################
Device {
Name = ULT3580-HH5
Description = "IBM TS3100 Tape Library"
Media Type = LTO-5
Archive Device = /dev/nst0
Device Type = tape
Check Labels = yes
Autochanger = yes
Automatic Mount = yes; # when device opened, read it
Always Open = yes
Label Media = no; # con atochangers, esto se hace manualmente una vez con "label barcodes" y luego con "update slots"
Random Access = no;
RemovableMedia = yes;
# Options for Speed Tuning of Tape Drives, setting block size to 1M (1048576) and max file size to bigger value:
#Minimum Block Size = 1048576
Maximum Block Size = 524288
Maximum File Size = 50g
}
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.