Basically a fresh Bacula-2.2.0 on Ubuntu 6.06 and a Dell branded 'FastStor
DLT" changer. I'm able to see the changer and all the basic operations.
(load, unload, label, etc.) work but when running the "stock" Client1
backup with the changer I recieve an error:
Fatal error:
Device "Autochanger" with MediaType "DTL" requested by DIR not found
in SD Device resources."
I've checked over my config files, changed the names and compared them to
what other have and all seems to be in order, so I'm hoping a second pair
of eye's would spot something silly.
Thanks,
Paul
========================================
[EMAIL PROTECTED]:/etc/bacula# mtx -f /dev/sg3 inquiry
Product Type: Medium Changer
Vendor ID: 'ADIC '
Product ID: 'FastStor DLT '
Revision: 'D114'
Attached Changer API: No
[EMAIL PROTECTED]:/etc/bacula# mtx -f /dev/sg3 status
Storage Changer /dev/sg3:1 Drives, 7 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
Storage Element 1:Empty
Storage Element 2:Empty
Storage Element 3:Empty
Storage Element 4:Empty
Storage Element 5:Full
Storage Element 6:Empty
Storage Element 7:Empty
=============== bacula-dir.conf ===============
# Definition of the Autochanger
Storage {
Name = "Autochanger"
Address = galaxy
SDPort = 9103
Password = ""
Device = "Autochanger"
Media Type = DTL
Autochanger = yes
}
=============== bacula-sd.conf ===============
#
# Autochanger
#
Autochanger {
Name = "Autochanger"
Device = DLT
Changer Device = /dev/sg3
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
}
#
# My DLT7000
#
Device {
Name = DLT
Media Type = DLT
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'"
}
=============== bconsole session ===============
*run
A job name must be specified.
The defined Job resources are:
1: Client1
2: BackupCatalog
3: RestoreFiles
Select Job resource (1-3): 1
Run Backup job
JobName: Client1
Level: Full
Client: galaxy-fd
FileSet: Full Set
Pool: Default (From Job resource)
Storage: Autochanger (From Job resource)
When: 2007-08-19 11:57:48
Priority: 10
OK to run? (yes/mod/no):yes (mod'ed to be a Full backup)
Job queued. JobId=22
*
*messages
19-Aug 11:59 galaxy-dir: Start Backup JobId 22,
Job=Client1.2007-08-19_11.58.59
19-Aug 11:59 galaxy-sd: Failed command: 1000 OK VolName=test01 VolJobs=0
VolFiles=0 VolBlocks=0 VolBytes=64512 VolMounts=0 VolErrors=0 VolWrites=0
MaxVolBytes=0 VolCapacityBytes=0 VolStatus=Append Slot=0 MaxVolJobs=0
MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0 EndFile=0
EndBlock=0 VolParts=0 LabelType=0 MediaId=2
19-Aug 11:59 galaxy-sd: Client1.2007-08-19_11.58.59 Fatal error:
Device "Autochanger" with MediaType "DTL" requested by DIR not found
in SD Device resources.
19-Aug 11:59 galaxy-dir: Client1.2007-08-19_11.58.59 Fatal error:
Storage daemon didn't accept Device "Autochanger" because:
3924 Device "Autochanger" not in SD Device resources.
19-Aug 11:59 galaxy-dir: Client1.2007-08-19_11.58.59 Error: Bacula
galaxy-dir 2.2.0 (08Aug07): 19-Aug-2007 11:59:01
Build OS: i686-pc-linux-gnu debian testing/unstable
JobId: 22
Job: Client1.2007-08-19_11.58.59
Backup Level: Full
Client: "galaxy-fd" 2.2.0 (08Aug07)
i686-pc-linux-gnu,debian,testing/unstable
FileSet: "Full Set" 2007-08-18 21:18:15
Pool: "Default" (From Job resource)
Storage: "Autochanger" (From Job resource)
Scheduled time: 19-Aug-2007 11:57:48
Start time: 19-Aug-2007 11:59:01
End time: 19-Aug-2007 11:59:01
Elapsed time: 0 secs
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Volume name(s):
Volume Session Id: 2
Volume Session Time: 1187500472
Last Volume Bytes: 64,512 (64.51 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***
*
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users