I used the IBM Tape Diagnostic Tool and it seems this is a hardware issue 
with the drive.

Thank you for the help.



On Thursday, March 21, 2024 at 3:39:25 PM UTC+1 Philipp Storz wrote:

> Am 21.03.24 um 13:50 schrieb Mario Kneidinger:
> > I get a bareos error on the backup jobs and wonder, if the drive is 
> broken. Has anyone an idea,
> > what I could try?
>
> - You could try to load a cleaning tape into your drive and see if 
> cleaning helps
>
> - Use the drive vendors' diagnostic program, like HPE Library and Tape 
> Tools (L&TT) or IBM Tape 
> Diagnostic Tool (ITDT). These tools will probably tell you the details 
> about the error you have.
>
> > I get this error in Bareos:
> > 
> > ``` bareos-sd JobId 30873: Error: stored/block.cc:1057 Read error on 
> fd=6 at file:blk 0:0 on
> > device "tapedrive-0" (/dev/tape/by-id/scsi-35000e11162fc2001-nst). 
> ERR=Input/output error. ```
> > 
> > I tried using other tapes, but that does not work either. I tried 
> relabeling the tapes but this
> > does not work either and I get an error. Not even manually writing to 
> the tapes with 'mt' works
> > and I get the error
> > 
> > ``` /dev/nst0: Input/output error mt: The tape is write-protected. ```
> > 
> > Drive status on the tape roboter says: Drive Error Code 3 When I start 
> diagnostics on the tape
> > roboter it says on all tests passed and after cleaning the drive it 
> shows no error code, until I
> > try labeling the tapes.
> > 
> > When asking the status with 'mtx' I get "/dev/sch0 is not an sg device, 
> or old sg driver".
>
> You need to use the scsi generic (/dev/sgX) of your changer for mtx. This 
> will probably still not 
> show you
>
>
> > 
> > So is there anything left that I could try?
> > 
> > -- 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 
> > [email protected] <mailto:
> [email protected]>. To
> > view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/bareos-users/374dcbd6-a39f-43fc-b8a8-368968fdef14n%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/bareos-users/374dcbd6-a39f-43fc-b8a8-368968fdef14n%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
>
> --
> > 
> Mit freundlichen Grüßen
>
> Philipp Storz [email protected]
> Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92 <+49%20221%2063069392>
> http://www.bareos.com
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/d8e39568-2106-44fd-9e51-9d6a75586af9n%40googlegroups.com.

Reply via email to