Bacula-users

Re: [Bacula-users] slot 0 = my third eye ?

2008-09-03 15:37:04
Subject: Re: [Bacula-users] slot 0 = my third eye ?
From: Dan Langille <dan AT langille DOT org>
To: bseklecki AT collaborativefusion DOT com
Date: Wed, 03 Sep 2008 15:36:08 -0400
Brian A. Seklecki wrote:
>> mtx for me counts from 1 for slots.
>>
>>  # mtx -f /dev/autochanger1 status
>>   Storage Changer /dev/autochanger1:2 Drives, 24 Slots ( 1 Import/Export )
>> Data Transfer Element 0:Empty
>> Data Transfer Element 1:Full (Storage Element 8 Loaded):VolumeTag = A00020
>>       Storage Element 1:Full :VolumeTag=A00030
>>       Storage Element 2:Full :VolumeTag=A00052
>>       Storage Element 3:Full :VolumeTag=A00058
>>       Storage Element 4:Full :VolumeTag=A00053
>>       Storage Element 5:Full :VolumeTag=A00023
> 
> 
> *sigh* Well that explains it then.  The Bacula Autochanger API therefore
> reflects the GNU/Linux mt(4) or st(4) driver numbering from 1.
> 
> Psychology majors working on the GNU/Linux SCSI layer?

This is where the beauty of the MTX script comes into play.   You can 
adjust the values as needed within the script.

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users