First of all start with the configuration files installed by the installer.
They have examples that you should be able to use by just uncommenting the
proper definitions and changing a few entries. I dont know now you created
these configurations but they are all messed up. You have entries from the
Autochanger resource in your Device resource and you are missing the
Autochanger resource.
You need to pay particular attention to how the various resource structures
from the configuration files reference each other. For example the Device
in the Storage resource in the Director configuration file must match the
Name in the Device resource in the Storage configuration file. In your case
it should be HP_Ultrium not the physical address. Device Names such as
changer0, tape0 and 4:0:5:1 are only specified in the Storage configuration.
Spend some time looking at the example configs and read the documentation
and youll probably have much better luck.
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 3:03 AM
To: Robert Nelson
Cc: bacula-users@lists.sourceforge.net
Subject: Re : [Bacula-users] ***************URGENT************Need
Help!***************
Hi all !
this is my file def conf of the storage deamon
Storage { # definition of myself
Name = ilemma009-sd
SDPort = 9103 # Director's port
WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
Pid Directory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
Maximum Concurrent Jobs = 20
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = ilemma009-dir
Password = "xxxxxxx"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = ilemma009-mon
Password = "xxxxxx"
Monitor = yes
}
Device {
Name = "HP_Ultrium" #
Media Type = DDS-4
Archive Device = Tape0 #Tape0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
RequiresMount = yes
Changer Command = "mtx-changer %c %o %S %a %d"
Changer Device = 4:0:5:1 #Changer0 #"4:0:5:1" #4:0:5:1 doesn't
work !!
AutoChanger = yes
Alert Command = "tapeinfo -f %c | findstr TapeAlert"
}
Messages {
Name = Standard
director = ilemma009-dir = all
}
My director.conf file :
Director { # define myself
Name = ilemma009-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "C:\\Program Files\\Bacula\\bin\\query.sql"
WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
PidDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
Maximum Concurrent Jobs = 11
Password = "xxxxxxx" # Console password
Messages = Daemon
}
# Definition of DDS tape storage device
Storage {
Name = DDS-4
# Do not use "localhost" here
Address = ILEMMA009 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "xxxxxxxx" # password for Storage daemon
Device = 4:0:5:1 # must be same as Device in Storage
daemon
Media Type = DDS-4 # must be same as MediaType in Storage
daemon
Autochanger = yes # enable for autochanger device
}
what bacula say every day :
ilemma009-sd Version: 2.0.3 (06 March 2007) Linux Cross-compile Win32
Daemon started 15-Mar-07 10:01, 0 Jobs run since started.
Heap: bytes=13,542 max_bytes=13,687 bufs=57 max_bufs=58
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
5 Full 0 0 Error 09-Mar-07 23:10 BackupCatalog
6 Full 0 0 Error 10-Mar-07 23:05 ilemma12
7 Full 0 0 Error 10-Mar-07 23:05 ilemma122
8 Full 0 0 Error 10-Mar-07 23:10 BackupCatalog
12 Full 0 0 Error 12-Mar-07 23:05 ilemma12
13 Full 0 0 Error 12-Mar-07 23:05 ilemma122
14 Full 0 0 Error 12-Mar-07 23:10 BackupCatalog
15 Full 0 0 Error 13-Mar-07 23:05 ilemma12
16 Full 0 0 Error 13-Mar-07 23:05 ilemma122
17 Full 0 0 Error 13-Mar-07 23:10 BackupCatalog
====
Device status:
Device "HP_Ultrium" is not open or does not exist.
====
In Use Volume status:
====
----- Message d'origine ----
De : Robert Nelson <[EMAIL PROTECTED]>
À : [EMAIL PROTECTED]; bacula-users@lists.sourceforge.net
Envoyé le : Jeudi, 15 Mars 2007, 1h53mn 19s
Objet : RE: [Bacula-users] ***************URGENT************Need
Help!***************
Which part of this information from the Readme.txt file did you not
understand?
Storage Device Names
--------------------
There is a utility installed called scsilist.exe which displays the
installed
devices, their physical address and their device name. A link to it is
created in the Bacula menu when the Storage service is installed.
Changer and Tape device names in Windows are Changer0, Changer1, etc and
Tape0, Tape1, etc. If there isn't a device driver loaded for the Changer
then you need to use the address <Port>:<Bus>:<Target>:<Lun>. Port is the
SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0 since
most adapters only have one bus), Target is the device's Target Device ID,
Lun is the Logical Unit Number.
You must specify DeviceType = tape in the Device resource in bacula-sd.conf
since auto detection of device type doesn't work at the present time.
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 2:37 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] ***************URGENT************Need
Help!***************
Hi all,
In my Bacula Server I have this list of devices given by bacula's "device
list"
Device Type Physical
Name
====== ==== ========
====
HL-DT-ST DVD+-RW GSA-H21L CDRom 0:0:0:0 CdRom0
HP Ultrium 1-SCSI P53W Tape 4:0:5:0 Tape0
HP 1x8 autoloader 1.50 Changer 4:0:5:1
DY5402J FCM024K 1.0 CDRom 5:0:0:0
Press any key to continue
I need to specify my "Archive Device = " and my "Changer Device =" in the
bacula's configuration file bacula-sd .conf !!
The problem is : under windows I have no idea about how the system names the
HP Ultrium nor the HP autoloader.
is there any one who tried the experience under windows and can help me ??
<http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/16.gif>
Nawfel
_____
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes
sur Yahoo! Questions/Réponses
<http://fr.rd.yahoo.com/evt=42054/*http:/fr.answers.yahoo.com> .
_____
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes
sur Yahoo! <http://fr.rd.yahoo.com/evt=42054/*http:/fr.answers.yahoo.com>
Questions/Réponses.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users