Eric Bollengier schrieb:
>> before i submit a bug report i would like to know if someone can confirm
>> the problem with BAT and autochangers to make sure it's not a problem with
>> my setup.
> 
> I would say that it's a configuration issue with your mtx-changer script that 
> should implement new set of commands. You can also test the "status storage 
> slots" command and see if it displays correct things.
> 

a new set of commands? these are the ones listed in
http://www.bacula.org/5.0.x-manuals/en/main/main/Autochanger_Resource.html:

list
load
unload
slots
loaded

which commands beside these should be implemented in the changer script?


yep, 'status storage slots' displays the correct data:

# bconsole
Connecting to Director pyramid:9101
1000 OK: pyramid-dir Version: 5.0.3 (30 August 2010)
Enter a period to cancel a command.
*status storage slots
The defined Storage resources are:
     1: File
     2: vchanger
Select Storage resource (1-2): 2
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Connecting to Storage daemon vchanger at pyramid:9103 ...
Enter autochanger drive[0]: 0
Connecting to Storage daemon vchanger at pyramid:9103 ...
3306 Issuing autochanger "slots" command.
Device "vchanger" has 300 slots.
Connecting to Storage daemon vchanger at pyramid:9103 ...
3306 Issuing autochanger "list" command.
 Slot |   Volume Name    |   Status  |     Media Type       |      Pool         
 |
------+------------------+-----------+----------------------+--------------------|
    1 | vchanger_0001_0001 |      Full |                 File |            
Default |
..
  299 | vchanger_0001_0299 |    Append |                 File |            
Default |
  300 | vchanger_0001_0300 |      Full |                 File |            
Default |


looks good to me.

regards,
-ap

--

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to