On Thursday 11 January 2007 21:47, Dan Langille wrote:
> I'm setting up a NEO 2000, and I'm seeing this:
> 
> $ sudo /usr/local/sbin/btape -c /usr/local/etc/bacula-sd.conf 
> /dev/nsa0
> Tape block granularity is 1024 bytes.
> btape: butil.c:286 Using device: "/dev/nsa0" for writing.
> 11-Jan 15:37 btape: 3301 Issuing autochanger "loaded? drive 0" 
> command.
> 11-Jan 15:37 btape: 3302 Autochanger "loaded? drive 0", result is 
> Slot 1.
> 11-Jan 15:37 btape: 3301 Issuing autochanger "loaded? drive 0" 
> command.
> 11-Jan 15:37 btape: 3302 Autochanger "loaded? drive 0", result is 
> Slot 1.
> btape: btape.c:368 open device "NEO 2000" (/dev/nsa0): OK
> *
> 
> Should I be concerned about that "loaded?" string?  I've never seen 
> that question mark before.

"loaded?"  is short for "what is loaded in".

This is to more clearly distinguish it from "load", which is the command to 
load a slot.

> 
> $ bconsole -c /usr/local/etc/bconsole.conf
> Connecting to Director system100.example.com:9101
> 1000 OK: system100-dir Version: 2.0.0 (04 January 2007)
> Enter a period to cancel a command.
> *update slots
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> The defined Storage resources are:
>      1: File
>      2: NEO
> Select Storage resource (1-2): 2
> Connecting to Storage daemon NEO at system100.example.com:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "NEO 2000" has 0 slots.
> No slots in changer to scan.
> *
> 
> What?  no slots?  but....
> 
> $ sudo /usr/local/sbin/rc-chio-changer /dev/ch0 slots
> 29
> 
> $ grep Changer /usr/local/etc/bacula-sd.conf
>   Changer Command = "/usr/local/sbin/rc-chio-changer %c %o %S %a %d"
>   Changer Device = /dev/ch0
> 
> Clues?  Ideas?  Thanks.

Try adding all 5 arguments and run it manually to see if you still get the 
correct answer.

> 
> -- 
> Dan Langille : Software Developer looking for work
> my resume: http://www.freebsddiary.org/dan_langille.php
> PGCon - The PostgreSQL Conference - http://www.pgcon.org/
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to