Hey, all.
I've run Bacula off and on for several years, including v5 and v9, both
using disk for the backup media. I'm setting up my first instance using
tape, and Bacula 15. I keep intermittently running into I/O errors on
the tape, which seems to cause Bacula to declare the tape as "Full",
even if it's only used 10s of MB of a 30TB tape. Are there any general
recommendations for setup that I might have missed? Some kind of retry
mechanism? Some kind of tuning? I've already replaced SAS cables, and
it doesn't seem to make any real difference.
In this case, I'm running one RHEL 9.6 host, attached via SAS to 2
LTO-10 drives, in a Spectra Stack tape library. Using the stock Linux
tape drivers, not the IBM ITDT specialty driver. The other tenant in
the library (Versity) has not had issues even remotely resembling these.
I'm attaching an excerpt from the bacula log when the I/O errors
occurred. I'm still trying to find system logs from around the same
time. Any recommendations or pointers welcome.
Thanks,
Lloyd
--
Lloyd Brown
HPC Systems Administrator
Office of Research Computing
Brigham Young University
http://rc.byu.edu
02-Oct 09:56 granite1-sd JobId 1630: Despooling elapsed time = 00:00:01,
Transfer rate = 20.98 G Bytes/second
02-Oct 09:56 granite1-sd JobId 1630: Elapsed time=73:12:31, Transfer rate=4.058
M Bytes/second
02-Oct 09:56 granite1-sd JobId 1630: Error: bsock.c:275 Socket has errors=1 on
call to client:192.168.64.140:9103
02-Oct 09:56 granite1-sd JobId 1707: Error: bsock.c:395 Wrote 58 bytes to
client:192.168.64.140:9103, but only 0 accepted.
02-Oct 09:56 granite1-sd JobId 1707: Fatal error: block.c:167 [SF0205] Attempt
to write on read-only Volume. dev="tapedriveSD1-1" (/dev/tape/drive_1)
02-Oct 09:56 granite1-sd JobId 1707: End of medium on Volume "" Bytes=0
Blocks=0 at 02-Oct-2026 09:56.
02-Oct 09:56 granite1-sd JobId 1707: Fatal error: Job 1707 canceled.
02-Oct 09:56 granite1-sd JobId 1707: Fatal error: spool.c:272 Fatal append
error on device "tapedriveSD1-1" (/dev/tape/drive_1): ERR=tape_dev.c:976 ioctl
MTWEOF error on "tapedriveSD1-1" (/dev/tape/drive_1). ERR=Input/output error.
02-Oct 09:56 granite1-sd JobId 1707: Despooling elapsed time = 00:00:01,
Transfer rate = 116.9 G Bytes/second
02-Oct 09:56 granite1-sd JobId 1707: Elapsed time=08:21:53, Transfer rate=18.82
M Bytes/second
02-Oct 09:56 granite1-sd JobId 1707: Error: bsock.c:275 Socket has errors=1 on
call to client:192.168.64.140:9103
02-Oct 09:56 granite1-sd JobId 1710: Error: bsock.c:395 Wrote 58 bytes to
client:192.168.64.140:9103, but only 0 accepted.
02-Oct 09:56 granite1-sd JobId 1710: Fatal error: block.c:167 [SF0205] Attempt
to write on read-only Volume. dev="tapedriveSD1-1" (/dev/tape/drive_1)
02-Oct 09:56 granite1-sd JobId 1710: End of medium on Volume "" Bytes=0
Blocks=0 at 02-Oct-2026 09:56.
02-Oct 09:56 granite1-sd JobId 1710: Fatal error: Job 1710 canceled.
02-Oct 09:56 granite1-sd JobId 1710: Fatal error: spool.c:272 Fatal append
error on device "tapedriveSD1-1" (/dev/tape/drive_1): ERR=tape_dev.c:976 ioctl
MTWEOF error on "tapedriveSD1-1" (/dev/tape/drive_1). ERR=Input/output error.
02-Oct 09:56 granite1-sd JobId 1710: Despooling elapsed time = 00:00:01,
Transfer rate = 28.25 G Bytes/second
02-Oct 09:56 granite1-sd JobId 1710: Elapsed time=08:47:20, Transfer rate=15.11
M Bytes/second
02-Oct 09:56 granite1-sd JobId 1710: Error: bsock.c:275 Socket has errors=1 on
call to client:192.168.64.140:9103
02-Oct 09:56 granite1-sd JobId 1633: Error: bsock.c:395 Wrote 58 bytes to
client:192.168.64.140:9103, but only 0 accepted.
02-Oct 09:56 granite1-sd JobId 1633: Fatal error: block.c:167 [SF0205] Attempt
to write on read-only Volume. dev="tapedriveSD1-1" (/dev/tape/drive_1)
02-Oct 09:56 granite1-sd JobId 1633: End of medium on Volume "" Bytes=0
Blocks=0 at 02-Oct-2026 09:56.
02-Oct 09:56 granite1-sd JobId 1633: Fatal error: Job 1633 canceled.
02-Oct 09:56 granite1-sd JobId 1633: Fatal error: spool.c:272 Fatal append
error on device "tapedriveSD1-1" (/dev/tape/drive_1): ERR=tape_dev.c:976 ioctl
MTWEOF error on "tapedriveSD1-1" (/dev/tape/drive_1). ERR=Input/output error.
02-Oct 09:56 granite1-sd JobId 1633: Despooling elapsed time = 00:00:01,
Transfer rate = 82.37 G Bytes/second
02-Oct 09:56 granite1-sd JobId 1633: Elapsed time=72:13:46, Transfer rate=4.350
M Bytes/second
02-Oct 09:56 granite1-sd JobId 1633: Error: bsock.c:275 Socket has errors=1 on
call to client:192.168.64.140:9103
02-Oct 09:56 granite1-sd JobId 1702: Error: bsock.c:275 Socket has errors=1 on
call to client:192.168.64.140:9103
02-Oct 09:56 granite1-sd JobId 1711: Error: bsock.c:395 Wrote 58 bytes to
client:192.168.64.140:9103, but only 0 accepted.
02-Oct 09:56 granite1-sd JobId 1711: Fatal error: block.c:167 [SF0205] Attempt
to write on read-only Volume. dev="tapedriveSD1-1" (/dev/tape/drive_1)
02-Oct 09:56 granite1-sd JobId 1711: End of medium on Volume "" Bytes=0
Blocks=0 at 02-Oct-2026 09:56.
02-Oct 09:56 granite1-sd JobId 1711: Fatal error: Job 1711 canceled.
02-Oct 09:56 granite1-sd JobId 1711: Fatal error: spool.c:272 Fatal append
error on device "tapedriveSD1-1" (/dev/tape/drive_1): ERR=tape_dev.c:976 ioctl
MTWEOF error on "tapedriveSD1-1" (/dev/tape/drive_1). ERR=Input/output error.
02-Oct 09:56 granite1-sd JobId 1711: Despooling elapsed time = 00:00:01,
Transfer rate = 10.92 G Bytes/second
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users