Bacula-users

[Bacula-users] Feature Request: don't block console commands while labeling tapes

2008-05-22 10:49:28
Subject: [Bacula-users] Feature Request: don't block console commands while labeling tapes
From: Bob Hetzel <beh AT case DOT edu>
To: bacula-users AT lists.sourceforge DOT net, bacula-devel AT lists.sourceforge DOT net
Date: Thu, 22 May 2008 10:49:14 -0400
I'm proposing the following feature request...

Item: Modify bacula console code to not block further commands while 
labeling tapes.

Origin: "Bob Hetzel" beh AT case DOT edu

Date: 22 May 2008

Status:

Why: I (and presumably most places that are using bacula for larger 
installations) have a 2-drive autochanger and so would like to be able 
to use both drives for labeling tapes and/or run backups/restores/etc. 
on the other drive(s).  Currently, bacula 2.2.8 blocks further commands 
while it waits for output from the drive and changer.

Notes: Additionally, when you specify everything it's asking for on the 
command line to tell it to label a tape using the barcode, you get a 
prompt confirming the actual barcode.  I'd like a way to override this 
behavior.  Message printing is fine with me but I want to be able to 
turn off the confirmation yes|no question.

Here's an example...

*label barcodes Pool=Scratch drive=0 slots=51
Automatically selected Storage: Dell-PV136T
Connecting to Storage daemon Dell-PV136T at gyrus:9103 ...
3306 Issuing autochanger "slots" command.
Device "Dell-PV136T" has 72 slots.
Connecting to Storage daemon Dell-PV136T at gyrus:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot  Volume
==============
   51  LTO254L2
Do you want to label these Volumes? (yes|no): yes
Connecting to Storage daemon Dell-PV136T at gyrus:9103 ...
Sending label command for Volume "LTO254L2" Slot 51 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 49.
3307 Issuing autochanger "unload slot 49, drive 0" command.
3304 Issuing autochanger "load slot 51, drive 0" command.
3305 Autochanger "load slot 51, drive 0", status is OK.
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 51.
3000 OK label. VolBytes=64512 DVD=0 Volume="LTO254L2" Device="IBMLTO2-1" 
(/dev/nst0)
Catalog record for Volume "LTO254L2", Slot 51  successfully created.

-------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>