Backup Jobs Failing after writing to Tape

31 views
Skip to first unread message

Simon Cox

unread,
Aug 23, 2024, 9:20:25 AM8/23/24
to bareos-users
Hi, anyone recognise this issue. Every time I try a backup job to tape, all the data is written but the job fails. I checked the logs and the sd.trace file contains this at the end 
It's like it fails to create a record on disk maybe. But the system has plenty of space

23-Aug-2024 13:36:02.667226 bareos-sd (200): stored/append.cc:553-1119 Write EOS label JobStatus=T

23-Aug-2024 13:36:02.667256 bareos-sd (130): stored/label.cc:618-1119 session_label record=80018ed8

23-Aug-2024 13:36:02.667274 bareos-sd (150): stored/label.cc:648-1119 Write sesson_label record JobId=1119 FI=EOS_LABEL SessId=1 Strm=1119 len=178 remainder=0

23-Aug-2024 13:36:02.667284 bareos-sd (150): stored/label.cc:652-1119 Leave WriteSessionLabel Block=0d File=1d

23-Aug-2024 13:36:02.667292 bareos-sd (90): stored/append.cc:571-1119 back from write_end_session_label()

23-Aug-2024 13:36:02.667418 bareos-sd (100): stored/spool.cc:154-1119 Committing spooled data

23-Aug-2024 13:36:02.667426 bareos-sd (100): stored/spool.cc:253-1119 Despooling data

23-Aug-2024 13:36:02.667500 bareos-sd (300): stored/lock.cc:254-1119 set blocked=BST_DESPOOLING from ../../../../core/src/stored/lock.cc:129

23-Aug-2024 13:36:02.667519 bareos-sd (100): stored/block.cc:138-1119 created new block of blocksize 2097152 (dev->max_block_size)

23-Aug-2024 13:36:02.667540 bareos-sd (500): stored/acquire.cc:752-1119 JobId=1119 enter AttachDcrToDev

23-Aug-2024 13:37:20.994207 bareos-sd (400): stored/block.cc:641-1119 dev="drive-1" (/dev/tape/by-id/scsi-35000e1117342c05b-nst): writing 2097152 bytes as block of 2097152 bytes. Block sizes: min=0, max=2097152

23-Aug-2024 13:37:21.054244 bareos-sd (50): stored/askdir.cc:367-1119 >dird CatReq Job=tareco.2024-08-23_13.31.53_29 CreateJobMedia FirstIndex=0 LastIndex=0 StartFile=0 EndFile=0 StartBlock=0 EndBlock=0 Copy=0 Strip=0 MediaId=363

23-Aug-2024 13:37:21.054319 bareos-sd (50): stored/askdir.cc:370-1119 create_jobmedia error BnetRecv

23-Aug-2024 13:37:21.054395 bareos-sd (10): stored/block.cc:803-1119 ERROR: Failed ASSERT: dcr->DirCreateJobmediaRecord(true)

bareos-sd: stored/block.cc:803-1119 Failed ASSERT: dcr->DirCreateJobmediaRecord(true)

23-Aug-2024 13:37:21.054600 bareos-sd (300): lib/signal.cc:172-1119 Working=/var/lib/bareos

23-Aug-2024 13:37:21.054624 bareos-sd (300): lib/signal.cc:173-1119 btpath=/usr/sbin/btraceback

23-Aug-2024 13:37:21.054645 bareos-sd (300): lib/signal.cc:174-1119 exepath=/usr/sbin/bareos-sd

23-Aug-2024 13:37:21.055225 bareos-sd (500): lib/signal.cc:202-1119 Doing waitpid

23-Aug-2024 13:37:21.387635 bareos-sd (500): lib/signal.cc:204-1119 Done waitpid

Sebastian Sura

unread,
Aug 27, 2024, 8:59:25 AM8/27/24
to bareos...@googlegroups.com

Hi Simon

it looks like your storage daemon has problems communicating with the director.  Which version are you running ?
If i remember correctly, this is fixed on newer versions.

Kind Regards
Sebastian Sura

Am 23.08.24 um 15:20 schrieb 'Simon Cox' via bareos-users:
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/054ac96e-c0dd-48ee-ab32-3c39f73277aan%40googlegroups.com.
-- 
 Sebastian Sura                  sebasti...@bareos.com
 Bareos GmbH & Co. KG            Phone: +49 221 630693-0
 https://www.bareos.com
 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

Simon Cox

unread,
Aug 28, 2024, 9:06:33 AM8/28/24
to Sebastian Sura, bareos...@googlegroups.com
I am going to update to the latest version and try again




--
Simon Cox
Important Looking Pirates - ILP
Mobile: +46 708 665 814


Visit our website: www.ilpvfx.com
Join us on Facebook: 
http://www.facebook.com/ImportantLookingPirates
Reply all
Reply to author
Forward
0 new messages