On Fri, 15 Sep 2006, Ian Leithhead wrote:

> I am getting a 3999 error, I've checked my .conf files, the doco, 
> the mailing list archives, and the net. and I am stumped. Is there 
> any obvious errors below? I simply can not get the damn thing to 
> mount, btape runs fine with both auto and test.
> ...
> *mount
> The defined Storage resources are:
>     1: File
>     2: Drive-1
>     3: Drive-2
> Select Storage resource (1-3): 2
> Connecting to Storage daemon Drive-1 at ABS00STAHQU001:9103 ...
> 3999 Device "Drive-1" not found or could not be opened.

I don't know what the 3999 error is.  Is ABS00STAHQU001 a valid host 
name on which a storage daemon is listening?

> Autochanger {
>  Name = Autochanger
>  Device = Drive-1
>  Device = Drive-2
>  Changer Command = "/opt/csw/etc/bacula/mtx-changer %c %o %S %a %d"
>  Changer Device = /dev/scsi/changer/c2t0d0
> }
>
>
> Device {
>  Name = Drive-1
>  Drive Index = 0
>  Media Type = LTO-2
>  Archive Device = /dev/rmt/0cbn
>  AutomaticMount = yes;               # when device opened, read it
>  AlwaysOpen = yes;
>  RemovableMedia = yes;
>  RandomAccess = no;
> Changer Command = "/opt/csw/etc/bacula/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/scsi/changer/c2t0d0
> AutoChanger = Yes
>  # Enable the Alert command only if you have the mtx package loaded
> Alert Command = "sh -c '/opt/csw/sbin/tapeinfo -f %c |grep
> TapeAlert|cat'"
> }

In my autochanger definition, "Changer Command", "Changer Device" 
and "AutoChanger" are only in the Autochanger {} definition, 
examples below.

    -- Michael


Autochanger {
   Name = Q47
   Device = Drive-0, Drive-1, Drive-2, Drive-3
   Changer Command = "/path/to/bacula/mtx-changer %c %o %S %a %d"
   Changer Device = "/dev/sg2"
}

Device {
   Name = Drive-0
   Drive Index = 0
   Media Type = DLT-7000
   Archive Device = /dev/nst0
   AutomaticMount = yes;
   AlwaysOpen = no;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes
   LabelMedia = yes
   # Enable the Alert command only if you have the mtx package loaded
   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
   SpoolDirectory = /path/to/bacula/spool
}


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to