>> Well, I've partially solved my own problem but don't know how to get
>> Bacula to do it automatically.
>>
>> The working sequence of load and eject is as follows:
>>
>> mtx -f /dev/sg0 load 1
>> mt -f /dev/nst0 rewind (OR WHATEVER YOU'RE DOING)
>> mt -f /dev/nst0 offline
>> mtx -f /dev/sh0 unload 1
>>
>> The catch seems to be needing the offline command, but how do I get
>> that into the bacula changer script and where???
>
>If I am not mistaken, the script *shows* you exactly where it should go.
>Try looking at the script.

OK, I made the edit...I'm assuming the hand run command line would
then become (based on the script):

./mtx-changer /dev/sg0 unload 1 /dev/nst2 0

OK...that seems to have it working for the exabyte drive however now
it is somewhat broken for the 2 HP DDS3 autoloaders as they do not
require the offline and if given it do not tolerate it well at
all.....a long delay time and error message before they finally
unloads as shown below"

[EMAIL PROTECTED] bin]# mtx -f /dev/sg1 load 1

[EMAIL PROTECTED] bin]# mtx -f /dev/sg1 status
  Storage Changer /dev/sg1:1 Drives, 6 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
      Storage Element 1:Empty
      Storage Element 2:Full 
      Storage Element 3:Full 
      Storage Element 4:Full 
      Storage Element 5:Full 
      Storage Element 6:Empty

[EMAIL PROTECTED] bin]# ./mtx-changer /dev/sg1 unload 1 /dev/nst1 0
/dev/nst1: Input/output error
Unloading Data Transfer Element into Storage Element 1...done

[EMAIL PROTECTED] bin]# mtx -f /dev/sg1 status 
  Storage Changer /dev/sg1:1 Drives, 6 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full 
      Storage Element 2:Full 
      Storage Element 3:Full 
      Storage Element 4:Full 
      Storage Element 5:Full 
      Storage Element 6:Empty


How do I work around this?

Thanks.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to