Win Htin wrote:
> Hi folks,
> 
> I loaded 5 brand new tapes into the auto-changer and ran the label 
> command from "bconsole" with the following parameters.
> 
> *label barcodes Storage=TS3200_1 Pool=Scratch Slots=26-30
> 
> Only ONE volume was successfully labeled and the rest failed with 
> "ERR=Child died from signal 15." message.  When I re-ran the label 
> command individually for each failed volume, everything went ok. 
> Wondering what might have been the root cause. FYI, there was no other 
> Bacula related activities during this period.

Did your changer pass all the tests?

This sounds like it may be a timing issue.  Perhaps the solution is as 
easy as adding a sleep command into the autochanger script you are using.

BTW, you didn't mention the Bacula version or the OS.  However, in this 
case, I don't think that's the issue.

> 
> Thanks in advance.
> 
> Following is the actual output:
> ============================================================
> *label barcodes Storage=TS3200_1 Pool=Scratch Slots=26-30
> Connecting to Storage daemon TS3200_1 at backupserver:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "LTO4_1" has 47 slots.
> Connecting to Storage daemon TS3200_1 at backupserver:9103 ...
> 3306 Issuing autochanger "list" command.
> The following Volumes will be labeled:
> Slot  Volume
> ==============
>   26  935ABO
>   27  936ABO
>   28  937ABO
>   29  938ABO
>   30  939ABO
> Do you want to label these Volumes? (yes|no): yes
> Connecting to Storage daemon TS3200_1 at backupserver:9103 ...
> Sending label command for Volume "935ABO" Slot 26 ...
> 3307 Issuing autochanger "unload slot 2, drive 0" command.
> 3304 Issuing autochanger "load slot 26, drive 0" command.
> 3992 Bad autochanger "load slot 26, drive 0": ERR=Child died from signal 
> 15: Termination.
> Results=Program killed by Bacula watchdog (timeout)
> Label command failed for Volume 935ABO.
> 
> Sending label command for Volume "936ABO" Slot 27 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 26.
> 3307 Issuing autochanger "unload slot 26, drive 0" command.
> 3304 Issuing autochanger "load slot 27, drive 0" command.
> 3992 Bad autochanger "load slot 27, drive 0": ERR=Child died from signal 
> 15: Termination.
> Results=Program killed by Bacula watchdog (timeout)
> Label command failed for Volume 936ABO.
> 
> Sending label command for Volume "937ABO" Slot 28 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 27.
> 3307 Issuing autochanger "unload slot 27, drive 0" command.
> 3304 Issuing autochanger "load slot 28, drive 0" command.
> 3305 Autochanger "load slot 28, drive 0", status is OK.
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 28.
> 3000 OK label. VolBytes=64512 DVD=0 Volume="937ABO" Device="LTO4_1" 
> (/dev/st0)
> Catalog record for Volume "937ABO", Slot 28  successfully created.
> 
> Sending label command for Volume "938ABO" Slot 29 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 28.
> 3307 Issuing autochanger "unload slot 28, drive 0" command.
> 3304 Issuing autochanger "load slot 29, drive 0" command.
> 3992 Bad autochanger "load slot 29, drive 0": ERR=Child died from signal 
> 15: Termination.
> Results=Program killed by Bacula watchdog (timeout)
> Label command failed for Volume 938ABO.
> 
> Sending label command for Volume "939ABO" Slot 30 ...
> 3301 Issuing autochanger "loaded? drive 0" command.
> 3302 Autochanger "loaded? drive 0", result is Slot 29.
> 3307 Issuing autochanger "unload slot 29, drive 0" command.
> 3304 Issuing autochanger "load slot 30, drive 0" command.
> 3992 Bad autochanger "load slot 30, drive 0": ERR=Child died from signal 
> 15: Termination.
> Results=Program killed by Bacula watchdog (timeout)
> Label command failed for Volume 939ABO.
> 
> *update slots Storage=TS3200_1
> ..
> ..
> Volume "935ABO" not found in catalog. Slot=26 InChanger set to zero.
> Volume "936ABO" not found in catalog. Slot=27 InChanger set to zero.
> Catalog record for Volume "937ABO" updated to reference slot 28.
> Volume "938ABO" not found in catalog. Slot=29 InChanger set to zero.
> Volume "939ABO" not found in catalog. Slot=30 InChanger set to zero.
> *


-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to