Bacula-users

[Bacula-users] vchanger: 0 slots problem

2013-05-29 19:45:22
Subject: [Bacula-users] vchanger: 0 slots problem
From: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 29 May 2013 18:41:08 -0500
Hi all,

I got vchanger working down to section 10 of the howto. I can maually
run (as bacula user)

/etc/bacula/vchanger /etc/bacula/vchanger.conf slots
180

Yet in bconsole:

*update slots
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: changer1
Connecting to Storage daemon changer1 at rendena.nmrfam.wisc.edu:9103 ...
Connecting to Storage daemon changer1 at rendena.nmrfam.wisc.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "Vchanger1" has 0 slots.
No slots in changer to scan.
*

I can't see what's missing. Any hints?

----------------------------------------------------------
bacula-sd:

Autochanger {
    Name = Vchanger1
    Device = Vchanger-drive
    Changer Command = "/etc/bacula/vchanger %c %o %S %a %d"
    Changer Device = "/etc/bacula/vchanger.conf"
}
Device {
    Name = Vchanger-drive
    DriveIndex = 0
    Autochanger = yes
    Device Type = File
    Media Type = BDRSizedFile
    Archive Device = /var/spool/bacula/changer1/0/drive0
    LabelMedia = no
    Random Access = yes
    AutomaticMount = yes
    RemovableMedia = yes
    Maximum Network Buffer Size = 65536
    Spool Directory = "/var/spool/bacula"
}

bacula-dir:

Storage {
    Name = "changer1"
    Address = ...
    SDPort = 9103
    Password = ...
    Device = Vchanger1
    Media Type = BDRSizedFile
    Autochanger = yes
    Maximum Concurrent Jobs = 20
}


-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users