On 26/02/2021 13:47, Martin Simmons wrote:
> If you do:
>
> lsscsi -d
>
> then it will print the major:minor device numbers after /dev/st0.
>
> Then:
>
> ls -l /sys/dev/*/${major}:${minor}/device/driver/
>
> might show the name of the driver (module).

It's simpler than that: showing /dev/st* or nst* means he's using the
(deprecated) "st" driver, not lin_tape

lin_tape devices are shown as /dev/IBMtape* or /dev/IBMchanger*


This in turn means it's a more serious issue than "just change the
driver" (although as I mentioned, "st" has its own sets of problems as
it doesn't properly support LTO drives(*) and doesn't handle fabric
correctly _at all_


_SOMETHING_ has put the LTO drive into an odd mode and presumably is
doing so at each restart, which means the code in question needs to be
tracked down/removed from the system


(*) Among other things lin_tape has much better and far more detailed
proactive error reporting when LTO drives start having internal problems
such as partially damaged heads. This is why both IBM and HP regard it
as their "supported" driver and deprecated use of "st" over a decade ago.




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to