Hi all,
I'm still finding my feet with Bacula.
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.
To further confuse me, I have an identical system that seems to work fine.
Thanks
Ian
"From the console"
*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.
Enter autochanger drive[0]:
3999 Device "Drive-1" not found or could not be opened.
*
"bacula-dir.conf"
# Definition of LTO tape storage device
Storage {
Name = Drive-1
# Do not use "localhost" here
Address = ABS00STAHQU001 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "uVtxt4VnqibqCXwL4/QCAR1v9s8h7bg+kJreiuHVVMkz" # password for Storage daemon
Device = Drive-1 # must be same as Device in Storage daemon
Media Type = LTO-2 # must be same as MediaType in Storage daemon
Autochanger = yes # enable for autochanger device
}
# Definition of LTO tape storage device
Storage {
Name = Drive-2
# Do not use "localhost" here
Address = ABS00STAHQU001 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "uVtxt4VnqibqCXwL4/QCAR1v9s8h7bg+kJreiuHVVMkz" # password for Storage daemon
Device = Drive-2 # must be same as Device in Storage daemon
Media Type = LTO-2 # must be same as MediaType in Storage daemon
Autochanger = yes # enable for autochanger device
}
"From mxt"
[EMAIL PROTECTED]:w #> /opt/csw/sbin/mtx -f /dev/scsi/changer/c2t0d0 status
Storage Changer /dev/scsi/changer/c2t0d0:2 Drives, 25 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = JFO502L2
Data Transfer Element 1:Empty
Storage Element 1:Empty
Storage Element 2:Empty
Storage Element 3:Full :VolumeTag=JFO504L2
Storage Element 4:Full :VolumeTag=JFO505L2
Storage Element 5:Full :VolumeTag=JFO503L2
Storage Element 6:Full :VolumeTag=JFO501L2
Storage Element 7:Empty
Storage Element 8:Empty
Storage Element 9:Empty
Storage Element 10:Empty
Storage Element 11:Empty
Storage Element 12:Empty
Storage Element 13:Empty
Storage Element 14:Empty
Storage Element 15:Empty
Storage Element 16:Empty
Storage Element 17:Empty
Storage Element 18:Empty
Storage Element 19:Empty
Storage Element 20:Empty
Storage Element 21:Full :VolumeTag=JFO507L2
Storage Element 22:Full :VolumeTag=JFO506L2
Storage Element 23:Full :VolumeTag=JFO509L2
Storage Element 24:Full :VolumeTag=JFO508L2
Storage Element 25:Empty
"from mt"
[EMAIL PROTECTED]:w #> mt -f /dev/rmt/0cbn status
HP Ultrium LTO 2 tape drive:
sense key(0x6)= Unit Attention residual= 0 retries= 0
file no= 0 block no= 0
"bacula-sd.conf"
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'"
}
Device {
Name = Drive-2
Drive Index = 1
Media Type = LTO-2
Archive Device = /dev/rmt/1cbn
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'"
}
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
