Bacula with a Sony Storstation LIB-162

January 17, 2009 Posted by mitch | open-source, work | 0 Comments

I'm a computer systems consultant by profession... and I've come across the need to setup a backup system. I've used Bacula before, and I rather like it. I've used various different libraries with it, an MSL from HP and a StorVault from Dell, but this is my first time using a Storstation from Sony. I started setting it up, and I almost had it setup and a tried to start labeling the media... and I got this:


Sending label command for Volume "A0BJ3B" Slot 1 ...
3307 Issuing autochanger "unload slot 7, drive 0" command.
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from signal 15: Termination.

I was setting this up on an Ubuntu 8.04 LTS server and it all had gone well until this.

Turns out the library is to slow and I had to make some modifications with the config. In the bacula-sd.conf and make the drive config look like this: (its counter intuitive I would think it should have been in the AutoChanger config... but its part of the Drive config.


Device {
Name = Drive-1
Drive Index = 0
Media Type = AIT-4
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Maximum Changer Wait = 600
}

The key is the Maximum Changer Wait. Default is 120 seconds... I tried 300 and that didn't work... but 600 is working for me.

I thought I'd post it tho, because I didn't find anyone talking(in english) about this library with bacula...


Comments

Post a comment

Random Quote:

Only as you do know yourself can your brain serve you as a sharp and efficient tool. Know your own failings, passions, and prejudices so you can separate them from what you see.

- Bernard M. Baruch