Hi,

Thanks for responding.

I assume you are trying to use a standard SCSI library and not the ACSLS managed one, right? - yes.

The rest of the answers are below, the mtx -f command fails so that doesn't seem to be working, I hadn't tried that yet so have only just seen it, also mtx-changer command doesn't exist.


[root@union dev]# mtx -f /dev/sg38 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed
[root@union dev]# mtx -f /dev/sg40 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed
[root@union dev]#

[root@union dev]# mtx -f /dev/sg40 inquiry
Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 5-SCSI  '
Revision: 'Y6PW'
Attached Changer API: No
[root@union dev]# mtx -f /dev/sg38 inquiry
Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 5-SCSI  '
Revision: 'Y6PW'
Attached Changer API: No

[root@union dev]#

[root@union dev]# mtx-changer /dev/sg40 listall
-bash: mtx-changer: command not found
[root@union dev]#

On 05/11/2021 5:35 pm, Radosław Korzeniewski wrote:
Hello,

pt., 5 lis 2021 o 17:52 Jeffrey Di Domenico <jdidomen...@integrafin.co.uk> napisał(a):

    Hi,

    I have loaded new tapes with physical labels but Bacula can't
    label them, I get the timeout error below but I've had them in the
    past and Bacula has still labelled the tapes, I can't see that
    there is anything wrong with the drives and it doesn't seem to be
    taking that long but it fails every time. Any suggestions for what
    I can do to resolve this would be greatly appreciated.

I assume you are trying to use a standard SCSI library and not the ACSLS managed one, right?

First of all check if your library is working with standard mtx utility (i.e. mtx -f /dev/sg0 status). If not, solve it in the first place as Bacula is using mtx to manage tape cartridges in your library. Then check if a standard bacula mtx-changer script is working with the command: listall (i.e. mtx-changer /dev/sg0 listall). The `/dev/sg0` device in the examples above is the scsi generic device for your changer. To check which device to use, check with lsscsi -g command.

I hope this helps.
--
Radosław Korzeniewski
rados...@korzeniewski.net

--
Jeffrey Di Domenico
Systems Administrator

Direct: +44 020 7608 7463

Email:jdidomen...@integrafin.co.uk
Transact - take control

Phone: +44 (0)20 7608 4900
Web:www.transact-online.co.uk
Address: 29 Clement's Lane, London EC4N 7AE
Please consider the environment before printing this email
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to