My first time posting here. I could really use your help.
Question for Bacula and Tape library
I have Exabyte VXA-2 PacketLoader 1x10 1U Autoloader that I'd like to
use with Bacula 1.36.3 on Fedora Core 3.
Currently Bacula is configured to backup data to HD and that's working
fine. I can run the following command so OS can talk to the tape
library but I can't seem to configure bacula-sd.conf properly.
---mtx-changer works---
> /etc/bacula/mtx-changer /dev/sg5 list 0 /dev/nst0 0
1:A0000001
2:A0000002
3:A0000003
---end---
Here's the section that I've added in bacula-sd.conf to try to
configure Exabyte Tape library.
---bacula-sd.conf---
Autochanger {
Name = Exabyte
Device = Drive-1
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg5
}
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = VXA2
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
---end---
With the above section in, I'm unable to start bacula-sd service
successfully. The error message I get is:
---error message---
Starting Bacula Storage services: 22-Jul 17:41 bacula-sd: ERROR
TERMINATION at parse_conf.c:781
Config error: expected resource name, got: Autochanger
: line 63, col 12 of file /etc/bacula/bacula-sd.conf
Autochanger {
[FAILED]
---end---
This section is bacula-dir.conf, in case you need it. bacula-dir
service does start successfully.
---bacula-dir.conf---
Storage {
Name = Exabyte
# Do not use "localhost" here
Address = boont
SDPort = 9103
Password = "6p/R/cOLrEw8YzQg8MSQ6hBXyAs7ivEsHJQWmsvBB3kZ"
Device = Exabyte
MediaType = VXA2
AutoChanger = yes
}
---end---
How should I edit bacula-sd.conf so that bacula-sd service would run?
Thank you very much for your help.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users