Hi Robert,
This comment is in reference to the conversation about using HP Windows
Drivers. =20
In my conversations with HP and other vendors about drivers and tape
drives on Windows, the consensus seemed to be that using Windows drivers
created more problems that they solved. Their advice was to address the
scsi devices directly. The benefits are increased throughput and fewer
problems communicating with the devices. =20
I do not have experience running the Bacula sd on Windows, but I have
run other enterprise backup systems on Windows and this was the advice I
was given by the vendors. IIRC, the issue is with scsi device command
communication, and the applications handled it better directly with the
devices than through the Windows drivers. =20
The earlier advice about determining the device id's using scsilist.exe
would facilitate this, I think. =20
FWIW.
On Thu, 2007-03-15 at 03:30 -0700, Robert Nelson wrote:
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
don=E2=80=99t 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. =20
=20
=20
=20
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.
=20
=20
=20
Spend some time looking at the example configs and read the
documentation and you=E2=80=99ll probably have much better luck.
=20
=20
=20
=20
______________________________________________________________________
=20
From: spouynt < at > ya... [mailto:spouynt < at > ya...]=20
Sent: Thursday, March 15, 2007 3:03 AM
To: Robert Nelson
Cc: bacula-users < at > li...
Subject: Re : [Bacula-users] ***************URGENT************Need
Help!***************
=20
=20
=20
=20
Hi all !
this is my file def conf of the storage deamon
=20
Storage { # definition of myself
Name =3D ilemma009-sd
SDPort =3D 9103 # Director's port =20
WorkingDirectory =3D "C:\\Documents and Settings\\All Users\
\Application Data\\Bacula\\Work"
Pid Directory =3D "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
Maximum Concurrent Jobs =3D 20
=20
}
=20
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name =3D ilemma009-dir
Password =3D "xxxxxxx"
}
=20
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name =3D ilemma009-mon
Password =3D "xxxxxx"
Monitor =3D yes
}
=20
Device {
Name =3D "HP_Ultrium" #=20
Media Type =3D DDS-4
Archive Device =3D Tape0 #Tape0
AutomaticMount =3D yes; # when device opened, read it
AlwaysOpen =3D yes;
RemovableMedia =3D yes;
RandomAccess =3D no;
RequiresMount =3D yes
Changer Command =3D "mtx-changer %c %o %S %a %d"
Changer Device =3D 4:0:5:1 #Changer0 #"4:0:5:1" #4:0:5:1
doesn't work !!
AutoChanger =3D yes
Alert Command =3D "tapeinfo -f %c | findstr TapeAlert"
}
=20
Messages {
Name =3D Standard
director =3D ilemma009-dir =3D all
}
=20
=20
=20
My director.conf file :
=20
Director { # define myself
Name =3D ilemma009-dir
DIRport =3D 9101 # where we listen for UA connections
QueryFile =3D "C:\\Program Files\\Bacula\\bin\\query.sql"
WorkingDirectory =3D "C:\\Documents and Settings\\All Users\
\Application Data\\Bacula\\Work"
PidDirectory =3D "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
Maximum Concurrent Jobs =3D 11
Password =3D "xxxxxxx" # Console password
Messages =3D Daemon
}
=20
=20
# Definition of DDS tape storage device
Storage {
Name =3D DDS-4 =20
# Do not use "localhost" here
Address =3D ILEMMA009 # N.B. Use a fully qualified name
here
SDPort =3D 9103
Password =3D "xxxxxxxx" # password for Storage daemon
Device =3D 4:0:5:1 # must be same as Device in
Storage daemon
Media Type =3D DDS-4 # must be same as MediaType in
Storage daemon
Autochanger =3D yes # enable for autochanger device
}
=20
=20
what bacula say every day :
=20
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=3D13,542 max_bytes=3D13,687 bufs=3D57 max_bufs=3D58
=20
Running Jobs:
No Jobs running.
=3D=3D=3D=3D
=20
Jobs waiting to reserve a drive:
=3D=3D=3D=3D
=20
Terminated Jobs:
JobId Level Files Bytes Status Finished Name=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
=3D=3D=3D=3D
=20
Device status:
Device "HP_Ultrium" is not open or does not exist.
=3D=3D=3D=3D
=20
In Use Volume status:
=3D=3D=3D=3D
=20
=20
=20
=20
----- Message d'origine ----
De : Robert Nelson <robertn < at > th...>
=C3=80 : spouynt < at > ya...; bacula-users < at > li...
Envoy=C3=A9 le : Jeudi, 15 Mars 2007, 1h53mn 19s
Objet : RE: [Bacula-users] ***************URGENT************Need Help!
***************
=20
Which part of this information from the Readme.txt file did you not
understand?
=20
=20
=20
Storage Device Names
=20
--------------------
=20
There is a utility installed called scsilist.exe which displays the
installed=20
=20
devices, their physical address and their device name. A link to it
is=20
=20
created in the Bacula menu when the Storage service is installed.
=20
=20
=20
Changer and Tape device names in Windows are Changer0, Changer1, etc
and=20
=20
Tape0, Tape1, etc. If there isn't a device driver loaded for the
Changer=20
=20
then you need to use the address <Port>:<Bus>:<Target>:<Lun>. Port is
the=20
=20
SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0
since=20
=20
most adapters only have one bus), Target is the device's Target Device
ID,=20
=20
Lun is the Logical Unit Number.
=20
=20
=20
You must specify DeviceType =3D tape in the Device resource in bacula-
sd.conf=20
=20
since auto detection of device type doesn't work at the present time.
=20
=20
=20
=20
______________________________________________________________________
=20
From:bacula-users-bounces < at > li... [mailto:bacula-users-
bounces < at > li...] On Behalf Of spouynt < at > ya...
Sent: Monday, March 12, 2007 2:37 AM
To: bacula-users < at > li...
Subject: [Bacula-users] ***************URGENT************Need Help!
***************
=20
=20
=20
=20
=20
=20
=20
=20
Hi all,
=20
In my Bacula Server I have this list of devices given by bacula's
"device list"
=20
=20
=20
Device Type
Physical Name
=3D=3D=3D=3D=3D=3D =3D=3D=
=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D
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
=20
Press any key to continue
=20
I need to specify my "Archive Device =3D " and my "Changer Device =3D" 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.
=20
is there any one who tried the experience under windows and can help
me ??
=20
=20
Nawfel
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
______________________________________________________________________
=20
D=C3=A9couvrez une nouvelle fa=C3=A7on d'obtenir des r=C3=A9ponses =C3=A0=
toutes vos
questions ! Profitez des connaissances, des opinions et des
exp=C3=A9riences des internautes sur Yahoo! Questions/R=C3=A9ponses.
=20
=20
=20
=20
=20
=20
=20
=20
______________________________________________________________________
=20
D=C3=A9couvrez une nouvelle fa=C3=A7on d'obtenir des r=C3=A9ponses =C3=A0=
toutes vos
questions ! Profitez des connaissances, des opinions et des
exp=C3=A9riences des internautes sur Yahoo! Questions/R=C3=A9ponses.
=20
=20
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
_______________________________________________ Bacula-users mailing list=
Bacula-users < at > li...
https://lists.sourceforge.net/lists/lis=
tinfo/bacula-users