On 08/02/17 06:32, Martin Simmons wrote:
>>>>>> On Tue, 1 Aug 2017 16:58:33 -0400, Phil Stracchino said:
>>
>> Sorry for the length.  This is a complete log history from starting the
>> SD (with a tape already loaded) and the director, starting a BAT, doing
>> a STATUS STORAGE, then an UMOUNT STORAGE=babylon5-sd, all at -d 200.
>>
>>
>> Summary:
>>
>> When the STATUS STORAGE is issued, the Director talks to the SD, the SD
>> replies, the Director posts the results.  All perfectly normal.
>>
>> When the UMOUNT STORAGE is issued, the director sends the unmount command:
>>
>> minbar-dir: ua_status.c:552-0 Connected to storage daemon
>> minbar-dir: ua_cmds.c:1731-0 unmount: umount storage=babylon5-sd
>> minbar-dir: job.c:1788-0 wstore=babylon5-sd where=unknown source
>>
>> The SD receives *nothing*, does *nothing*, and logs *nothing*.  It
>> appears the SD does not receive either mount or umount commands.
>> Status, however, works, as do reads and writes.  I haven't tested LABEL.
> 
> Does it work if you pass slot=0 in the command?
> 
> umount storage=babylon5-sd slot=0



Martin,
Yes, it does.  Thank you for that suggestion.  Both mount and unmount
work, *IF AND ONLY IF* slot=0 is specified.  I did not think to try
that, as it has never been needed for a standalone drive before 9.0.

Apparently the slot argument is now mandatory, and BAT does not send it.
 Why the command is not sent to the Storage by the Director unless the
slot is specified is a mystery to me.

I've just updated bug #2300 with this additional information.



-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to