Help with Errors Storage Daemon - Virtual Tape Library

18 views
Skip to first unread message

Miguel Santos

unread,
Nov 6, 2023, 5:59:19 AM11/6/23
to bareos-users
Hi,

I have a Virtual Tape Library based on HPE Store Once. The tapes have their barcodes, but I see non-fatal errors - which I would like to get rid of - when starting reading and releasing tapes. See some examples:

====
2023-11-06 07:00:02
mt1it-bkpmgr01-dir JobId 983: Using Device "bareos01-vtl-drv-0" to write.
2023-11-06 07:00:02
mt1it-bkpstg01-fd JobId 983: Connected Storage daemon at mt1it-bkpstg01.:9103, encryption: TLS_AES_256_GCM_SHA384 TLSv1.3
2023-11-06 07:00:02
mt1it-bkpstg01-fd JobId 983: Encryption: TLS_AES_256_GCM_SHA384 TLSv1.3
2023-11-06 07:00:02
mt1it-bkpstg01-fd JobId 983: Extended attribute support is enabled
2023-11-06 07:00:02
mt1it-bkpstg01-sd JobId 983: 3307 Issuing autochanger "unload slot 75, drive 0" command.
2023-11-06 07:00:02
mt1it-bkpstg01-fd JobId 983: ACL support is enabled
2023-11-06 07:00:03
mt1it-bkpstg01-sd JobId 983: 3304 Issuing autochanger "load slot 19, drive 0" command.
2023-11-06 07:00:03
mt1it-bkpstg01-sd JobId 983: 3305 Autochanger "load slot 19, drive 0", status is OK.
2023-11-06 07:00:04
mt1it-bkpstg01-sd JobId 983: Error: stored/block.cc:1019 Read zero bytes at 187:0 on device "bareos01-vtl-drv-0" (/dev/tape/by-id/scsi-351402ec009730a4a-nst).
2023-11-06 07:00:05
mt1it-bkpstg01-sd JobId 983: Volume "8FH3A89O" previously written, moving to end of data.
====

====
2023-11-06 05:00:02
mt1it-bkpmgr01-dir JobId 982: Using Device "bareos01-vtl-drv-2" to write.
2023-11-06 05:00:02
mt1it-bkpstg01-fd JobId 982: Connected Storage daemon at mt1it-bkpstg01:9103, encryption: TLS_AES_256_GCM_SHA384 TLSv1.3
2023-11-06 05:00:02
mt1it-bkpstg01-fd JobId 982: Encryption: TLS_AES_256_GCM_SHA384 TLSv1.3
2023-11-06 05:00:02
mt1it-bkpstg01-fd JobId 982: Extended attribute support is enabled
2023-11-06 05:00:02
mt1it-bkpstg01-fd JobId 982: ACL support is enabled
2023-11-06 05:00:02
mt1it-bkpstg01-sd JobId 982: 3307 Issuing autochanger "unload slot 81, drive 1" command.
2023-11-06 05:00:03
mt1it-bkpstg01-sd JobId 982: 3304 Issuing autochanger "load slot 55, drive 2" command.
2023-11-06 05:00:03
mt1it-bkpstg01-sd JobId 982: 3305 Autochanger "load slot 55, drive 2", status is OK.
2023-11-06 05:00:03
mt1it-bkpstg01-sd JobId 982: Error: Attempt to read past end of tape or file.
2023-11-06 05:00:04
mt1it-bkpstg01-sd JobId 982: Volume "8FH3A8AO" previously written, moving to end of data.
2023-11-06 05:00:04
mt1it-bkpstg01-sd JobId 982: Ready to append to end of Volume "8FH3A8AO" at file=38.
====

===
 2023-11-05 12:00:02 | mt1it-bkpmgr01-dir JobId 958: Using Device "bareos01-vtl-drv-4" to write.
 2023-11-05 12:00:02 | mt1it-bkpstg01-fd JobId 958: Connected Storage daemon at mt1it-bkpstg01:9103, encryption: TLS_AES_256_GCM_SHA384 TLSv1.3+
 2023-11-05 12:00:02 | mt1it-bkpstg01-fd JobId 958:  Encryption: TLS_AES_256_GCM_SHA384 TLSv1.3
 2023-11-05 12:00:02 | mt1it-bkpstg01-fd JobId 958: Extended attribute support is enabled
 2023-11-05 12:00:02 | mt1it-bkpstg01-fd JobId 958: ACL support is enabled
 2023-11-05 12:00:03 | mt1it-bkpstg01-sd JobId 958: 3304 Issuing autochanger "load slot 75, drive 4" command.
 2023-11-05 12:00:03 | mt1it-bkpstg01-sd JobId 958: 3305 Autochanger "load slot 75, drive 4", status is OK.
 2023-11-05 12:00:04 | mt1it-bkpstg01-sd JobId 958: Error:
 2023-11-05 12:00:05 | mt1it-bkpstg01-sd JobId 958: Volume "8FH3A8B8" previously written, moving to end of data.
 2023-11-05 12:00:05 | mt1it-bkpstg01-sd JobId 958: Ready to append to end of Volume "8FH3A8B8" at file=164.
 2023-11-05 13:16:47 | mt1it-bkpstg01-sd JobId 958: Releasing device "bareos01-vtl-drv-4" (/dev/tape/by-id/scsi-351402ec009730a6e-nst).
 2023-11-05 13:16:48 | mt1it-bkpstg01-sd JobId 958: Elapsed time=01:16:43, Transfer rate=124.2 M Bytes/second
===

Here is the configuration of the pool/device from the Director:
===
Pool {
  Name = MT1-MSSQLPROD-POOL
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 3650 days
  Maximum Volumes = 30
  Storage = mt1it-bkpstg01-sd:bareos01-vtl
}
Storage {
  Name = mt1it-bkpstg01-sd:bareos01-vtl
  Address = mt1it-bkpstg01
  Password = "xxxx"
  Auto Changer = yes
  Device = bareos01-vtl
  Media Type = LTO
  Allow Compression = no
  Maximum Concurrent Jobs = 40
  # TLS Configuration
  [...]
}
===

Here is the configuration of one of the drives:
===
Autochanger {
  Name = "bareos01-vtl"
  Changer Device = /dev/tape/by-id/scsi-351402ec009730138
  Device = bareos01-vtl-drv-0
  Device = bareos01-vtl-drv-1
  [...]
  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}
Device {
    Name = "bareos01-vtl-drv-0"
    DeviceType = tape
    DriveIndex = 0
    ArchiveDevice = /dev/tape/by-id/scsi-351402ec009730a4a-nst
    MediaType = LTO
    Check Labels = yes
    Label Media = yes
    Maximum Network Buffer Size = 65536
    AutoChanger = yes
    AutomaticMount = yes
    MaximumFileSize = 25GB
    Maximum block size = 1048576
    Maximum Concurrent Jobs = 6
    Always Open = no
    Auto Inflate = out
}
===

Any tip to get rid of these errors?

Thank you.
Reply all
Reply to author
Forward
0 new messages