Bacula-users

[Bacula-users] HP 718 Autochanger Configuration

2011-08-03 21:12:12
Subject: [Bacula-users] HP 718 Autochanger Configuration
From: terryc <terryc AT woa.com DOT au>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 04 Aug 2011 10:54:39 +1000
I've muddled through to a certain point in configurng the above 
autochanger as my first autochanger. Previosly used DDS & DLT single 
drive with bacula for a few years.

1. Used mtx commands to sort out the SCSI cabling and they all work now. 
Performed a sizable tar to and from tape with no problems.

Note; devices are;
damselfly:/etc/bacula# lsscsi
[0:0:0:0]    tape    QUANTUM  DLT7000          2560  /dev/st0
[1:0:1:0]    mediumx HP       C628    0        2.07  /dev/sch0
damselfly:/etc/bacula#
<using seperate scsi cards atm >

2. Mixed luck on the /etc/bacula/mtx-changer tests. Specifically problem 
is this one;
..........................................................................
damselfly:/etc/bacula# /etc/bacula//mtx-changer /dev/sg1 transfer 5 1
usage: mtx-changer ctl-device command [slot archive-device drive-index]
         Insufficient number of arguments given.
   Command expected 5 arguments
..........................................................................
command is given as per examples on
http://www.bacula.org/en/dev-manual/main/main/Autochanger_Resource.html

Hints?



This is the storage config in /etc/bacula/bacula-dir.conf;
........................................................................
Storage {
   Name = Drive0                     # See note below
   Address = damselfly.woa.com.au
   SDPort = 9103
   Password = ""
   Device = HP718Autochanger         # I expect this is wrong
   Autochanger = yes
   Media Type = DLT
   Maximum Concurrent Jobs = 3
}
................................................................

Note; I suspect the anbove two commented lines are part of the problem.

Previously all JobDefs had "Storage = Drive0", which meant that 
everytime I changed the Storage Name, I had to go through and change all 
the JobDefs to have bacula-director reload the config. after an alomost 
all nighter trying the various combinations that came to mind, decided 
it was time to ask for assistance

This is the config in /etc/bacula/bacula-sd.conf;
...........................................................
Autochanger {
         Name = HP718Autochanger
         Device = Drive0
         Changer Device = /dev/sg1
         Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
}

Device {
         Name = Drive0
         Media Type = DLT
         Archive Device = /dev/nst0
         Autochanger = yes
         AutomaticMount = yes;
         AlwaysOpen = yes;
         RandomAccess = no;
         Spool Directory = /data0/bacula-spool-dir
         Maximum Spool Size = 30720000000
         Maximum Job Spool Size = 10240000000
}
...........................................................

Currently update slots scan does;

*update slots scan
The defined Storage resources are:
      1: File
      2: Drive0
Select Storage resource (1-2): 2
Connecting to Storage daemon Drive0 at damselfly.woa.com.au:9103 ...
Connecting to Storage daemon Drive0 at damselfly.woa.com.au:9103 ...
3306 Issuing autochanger "slots" command.
Device "HP718Autochanger" has 0 slots.
No slots in changer to scan.
*

Any hints would be greatly received.

T.I.A.

Terry Collins {:-)}}}}}
Bicycles, Minimal Technology, Natural Environment, Metal Mangling

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>