(re-sent because I sent it to the -bounces address - oops)

Hi,

I want to set up Bacula to automatically label any blank volumes.  The 
volumes in question are DLT tapes, using a plain tape drive (no 
autochanger).

The director's configuration is slightly complicated by the fact that 
there are two SDs in my configuration which are geographically separate 
(the bandwidth available over SCSI is substantially higher than the 
bandwidth we can afford to lay on between two countries).  Nevertheless, 
I think I've got that part of the problem cracked, because if I use a 
pre-labelled tape, I can run backups as intended.

The SD which needs to have its tapes autolabelled has the following 
Device stanza:


Device {
 Name = "DLT-160"
 Media Type = DLT-Tape
 Archive Device = /dev/nst0
 LabelMedia = yes;                   # lets Bacula label unlabeled media
 AutomaticMount = yes;               # when device opened, read it
}

The pool which refers to this device is:

Pool {
 Name = DailyTape-DLT
 Pool Type = Backup
 Recycle = Yes
 AutoPrune = yes
 Storage = DLT-Tape
 LabelFormat = "Daily-DLT-"
 Recycle Current Volume = yes
}

I understand that I must attempt to mount an unlabelled tape before 
Bacula will label it.  I've done this, and then I kick off a backup.  I 
would have expected Bacula to realise that there are no appropriate 
tapes available BUT there's a blank one mounted, and to label it 
appropriately.

Instead, however, I get this:

*
*mes
31-Jul 16:14 gemini-dir: Start Backup JobId 4719, 
Job=dns-france.france.u4eatech.com.2007-07-31_16.14.38
31-Jul 16:14 gemini-dir: Created new Volume "Daily-DLT-0006" in catalog.
31-Jul 16:14 taranis-sd: Please mount Volume "Daily-DLT-0006" on Storage 
Device "DLT-160" (/dev/nst0) for Job 
dns-france.france.u4eatech.com.2007-07-31_16.14.38

- and it'll sit there indefinitely waiting for me to mount a volume 
which it's created in the catalog but not labelled.

The director is running 2.0.3 (gentoo build), the SD is running 2.0.3-4 
(debian etch) - is it possible that there's an incompatibility between 
these versions or have I missed something?

Many thanks,

James Cort
-- 
U4EA Technologies
http://www.u4eatech.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to