I tried debugging the issue with Tape Diagnostic Tool (ITDT) and it listed 
additional error information. I don't know anymore what the error was and I 
don't know how (and if) the error was resolved, because I am not at the 
company anymore.

But thanks for the help. And good luck to others with this issue.
On Monday, July 15, 2024 at 4:36:09 PM UTC+2 Alan Brown wrote:

>
>
> > ```
> > 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.
> > ```
> >
>
> ls -lt /dev/tape/by-id/scsi-35000e11162fc2001-nst
>
> AND what the symbolic link points to
>
>
> > 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.
> > ```
>
> ls -lt /dev/nst0
>
> What user are you running as? What is Bareos-fd running as?
>
> > When asking the status with 'mtx' I get "/dev/sch0 is not an sg 
> > device, or old sg driver".
> >
> mtx doesn't talk to /dev/sch (and never has), find the /dev/sg and talk 
> to that instead
>
>
> Many years ago I wrote and published udev tweaks to add the changer and 
> tape /dev/sg as link in /dev/tape/by-id/ - Check if it appears there
>
>
>

-- 
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/e4a02f0c-1ad2-4be2-b04f-0feda84014dfn%40googlegroups.com.

Reply via email to