terryc wrote:
> 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
Use /etc/bacula//mtx-changer /dev/sg1 transfer 5 /dev/nst0 1
and no action in changer or messages back
> This is the storage config in /etc/bacula/bacula-dir.conf;
> ........................................................................
> Storage {
> Name = Drive0 # See note below
changed to HP718Autochanger
> Address = damselfly.woa.com.au
> SDPort = 9103
> Password = ""
> Device = HP718Autochanger # I expect this is wrong
left as is.
> 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.
If I run ;
/etc/bacula/mtx-changer /dev/sg1 slots
8 <- this is correct.
Config? Timeout?..
--
Terry Collins {:-)}}}}}
Bicycles, Minimal Technology, Natural Environment, Metal Mangling
------------------------------------------------------------------------------
BlackBerry® 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
|