Hi all,

The multitape saga continues :-).  I have the mutitape device set up (2 
drives).  I have a blank tape in each drive and started a backup.  Here is my 
pool definition:
# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle 
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Accept Any Volume = yes             # write on any volume in the pool
  LabelFormat = "DLTVol"
}

and my device definition:

Device {
   Name = multitape                        #
   Media Type = DLT2000
   Archive Device = /dev/tape
   AutomaticMount = yes;               # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   # That"s the magic!!!
   Changer Command = "sudo /etc/bacula/scripts/multitape-changer.sh %c %o %S 
%a %d"
   Changer Device = /dev/null
   AutoChanger = yes
   # Alert Command = "sh -c "tapeinfo -f %c |grep TapeAlert|cat""
   # is it needed?
   Alert Command = "sh -c '/bin/true'"
   LabelMedia = yes
}

It appears that when I started the backup, bacula realized that it needed a 
tape, there was a blank available and so bacula created a catalog entry, but 
did not label the blank:

12-Jul 17:07 localhost-dir: Start Backup JobId 146, 
Job=Office_Root_Without_Home.2005-07-12_16.38.23
12-Jul 17:07 localhost-dir: Created new Volume "DLTVol0019" in catalog.
12-Jul 17:07 localhost-dir: Recycled volume "DLTVol0019"
12-Jul 17:07 localhost-sd: Office_Root_Without_Home.2005-07-12_16.38.23 
Warning: Requested Volume "DLTVol0019" on /dev/tape is not a Bacula labeled 
Volume, because: ERR=block.c:793 Read zero bytes at 0:0 on device /dev/tape.
12-Jul 17:07 localhost-sd: Please mount Volume "DLTVol0019" on Storage Device 
"multitape" for Job Office_Root_Without_Home.2005-07-12_16.38.23


I'm so close!  How can I have bacula label the tape and write the backup to 
it?  Any help is appreciated!

Paul


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to