I found another person with the very same symptoms and they resolved the problem by changing out the SAS host adapter....

I Note that both my bacula-dir and my bacula-sd conf files have a Storage section, with a Device section only in bacula-sd.

Is this correct or should the Storage and Device be in one or the other confs? If they or one or the other sections should be in both confs, should they be identical???



Richard


On 1/10/19 6:50 PM, Adam Nielsen wrote:
As mentioned earlier, the command

./mtx-changer /dev/sg3 load 1 /dev/st0 0

actually put the desired tape into the drive, however

./mtx-changer /dev/sg3 unload 1 /dev/st0 0

returns the following error message

This to me looks like the mtx-changer script is not able to talk to
your autochanger properly.  I had to modify the script to work with my
autochanger, and this is appears to be by design (the mtx-changer
script supplied is a default that you are meant to customise for your
hardware) so I guess modifying this script is the next step.

If the script was present and working with your old Bacula set up, that
might be a good place to start looking to see what has changed.

̣root@LTOMag scripts]# ./mtx-changer /dev/sg3 unload 1 /dev/st0 0
Unloading drive 0 into Storage Element 1...
mtx: Request Sense: Sense Key=Illegal Request
MOVE MEDIUM from Element Address 256 to 4096 Failed

I don't know much about low level autochanger commands, but it seems
odd that telling the autochanger to put the tape in slot 1 results in a
command asking it to put the tape in "element 4096", which the
autochanger says is an illegal request.  Maybe that's normal but it
seems a bit weird.

I would start by modifying mtx-changer to output the commands it's
trying to run, and then running those commands manually, tweaking them
until you figure out how they are supposed to work, and then applying
those changes back to mtx-changer.

This is assuming nobody else has posted a working mtx-changer script
for your autochanger already of course!

I split my bacula-dir into components so here are the relevant ones

Everything else here looks like it should be fine.  Once you get
mtx-changer working properly I think everything else should be fine.

Cheers,
Adam.


--
LinuxCabal Asociación Civil
Ing. Richard Couture
Novell CNE, ECNE, MCNE
HP/Compaq ASE
Tel.: (+52) (333) 145-2638
Cel.: (+52) (044) 333 377-7505
Web: http://www.LinuxCabal.org
E-Mail: r...@linuxcabal.org
Hosted en la nube Cloud Sigma - www.CloudSigma.com

AVISO DE CONFIDENCIALIDAD: Este correo electrónico, incluyendo en su caso, los archivos adjuntos al mismo, pueden contener información de carácter confidencial y/o privilegiada, y se envían a la atención única y exclusivamente de la persona y/o entidad a quien va dirigido. La copia, revisión, uso, revelación y/o distribución de dicha información confidencial sin la autorización por escrito de LinuxCabal está prohibida. Si usted no es el destinatario a quien se dirige el presente correo, favor de contactar al remitente respondiendo al presente correo y eliminar el correo original incluyendo sus archivos, así como cualesquiera copia del mismo. Mediante la recepción del presente correo usted reconoce y acepta que en caso de incumplimiento de su parte y/o de sus representantes a los términos antes mencionados, LinuxCabal tendrá derecho a los daños y perjuicios que esto le cause.



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

Reply via email to