Subject: Re: [Bacula-users] Bacula & vchanger

On 4/22/2011 7:37 AM, Koenraad Lelong wrote:
> Hi,
> I hope this is the right list to ask, although I did already before.
> This is my first real experience with bacula.
> I'm trying to use an RDX-drive as my backup storage, that's a removable
> harddisk. I think I got vchanger running on its own, I did all the tests
> in the how-to. Now I'm integrating it in bacula, which seems not to work.
> I'm trying to issue the "label barcodes" command in bconsole. I get this :
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected Storage: c2
> Connecting to Storage daemon c2 at ...
> Connecting to Storage daemon c2 at ...
> 3306 Issuing autochanger "slots" command.
> Device "usb-changer" has 0 slots.
> No slots in changer to scan.
> So I think my command failed. Anyone has some ideas ?

It looks like you either did not create the volumes using vchanger's
INITMAG command, or else you created them as root or some other user and
it is a permissions problem. The volume files must be owned by (or at
least read/write) for the user that the bacula-sd daemon runs as.

Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move.

Bacula-users mailing list