Bacula 2.2.0 running on SLES 10 with an Ecrix 1.10 autoloader. Here is the 
pertinent section of bacula-sd.conf:

# Autochanger resource
Autochanger {
  Name = "Auto"
  Device = VXA3
  Changer Device = /dev/sg1
  Changer Command = "/bacula/bin/mtx-changer %c %o %S %qa %d"
}

# Internal VXA-3 Drive
#

Device {
  Name = VXA3
  Drive Index = 0
  Autochanger = yes
  Media Type = VXA-3
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  LabelMedia = Yes
  RemovableMedia = yes;
  RandomAccess = no;
}

and from bacula-dir.conf:

Storage {
  Name = Auto
  Address = 10.1.0.17
  SDPort = 9103
  Password = "ourpassword"
  Device = "Auto"
  Media Type = VXA-3
}

Storage {
  Name = VXA
  Address = 10.1.0.17
  SDPort = 9103
  Password = "ourpassword"
  Device = "VXA3"
  Media Type = "VXA-3"
  Maximum Concurrent Jobs = 5
}

When the weekend backup ran it filled up the tape in the drive (A0000004 from 
slot 4)and removed it, but it did not load the next tape. I could  not get it 
to mount A0000005 with any bconsole command. This is the format I tried:

mount <then select either VXA or Auto from the list?>

mount storage=Auto slot=5

However, I could go to the shell prompt, execute ./mtx-changer /dev/sg1 load 5 
/dev/nst0 0 to get the tape into the drive, then issue a mount command from 
within bconsole. I recall being able to mount tapes from bconsole when I was 
testing this setup, so I was confused by this. Also, I had thought that, being 
an 'autoloader', this setup would automatically span tapes when necessary (fill 
one tape, then autoatically remove it, load and mount the next one). Have I 
been laboring under a misconception here?

Incidentally, I just noticed that, in the bacula-dir.conf storage resource 
above, the Auto resource media type has no quotes around it, but the VXA 
resource's media type does. An oversight on my part, surely, but does it make 
any difference? Bacula certainly never complains about a syntax error.


-- 

Tks n rgds,
Richard White CNE6, Linux+
Network Engineer
Mason County, Washington
360-427-5501
[EMAIL PROTECTED]


-------------------------------------------------------------------------
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