Hi Arno,

Thanks for the reply.
I copied a "fresh" copy of the mtx-changer script from the source and it 
works now. I uncommented an echo line which was causing it to fail.

On the subject of mtx-changer script, in the bacula release manual located 
here:
  http://www.bacula.org/rel-manual/Autochanger_Support.html

In the section "Testing the Autochanger and Adapting your mtx-changer 
script", it asks you to do the unload command:

#/etc/bacula/mtx-changer /dev/sg0 unload
#
#    If a tape is loaded, this should cause it to be unloaded. 

Which doesn't work because insufficient arguments are given:

[EMAIL PROTECTED] bin]# ./mtx-changer /dev/sg0 unload
usage: mtx-changer ctl-device command slot archive-device drive
        Insufficient number of arguments arguments given.

Easy enough to resolve, just a minor documentation blip...

--Chris

 >Hello, > >On 1/12/2006 12:14 AM, Chris Hunter wrote: >> Hi 
again, >> 
>> I am using bacula 1.38.2 on Scientific Linux 4.2 (rhel4 based distro).
>> I have a dell powervault 128t (HP7200) autochanger.
>> 
>> I have some problems with the mtx-changer script.
>> I can run mtx-changer "slots" from the command line:
>> 
>> [EMAIL PROTECTED] bin]# ./mtx-changer /dev/sg0 slots 1 /dev/nst0 0
>> Doing mtx -f /dev/sg0 -- to get count of slots
>> 20
>
>
>What happens if you run that command as the user bacula runs as?
>
>Arno
>

-- 
Chris Hunter
Systems Programmer, Astronomy, Yale University
[EMAIL PROTECTED]






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to