Re: [Bacula-users] slot 0 = my third eye ?
2008-09-03 11:49:02
On Wed, Sep 3, 2008 at 11:40 AM, Brian A. Seklecki
<bseklecki AT collaborativefusion DOT com> wrote:
> All, good morning:
>
> I love this error:
>
> 03-Sep 09:38 fantastic-sd JobId 46174: Invalid slot=0 defined in
> catalog for Volume "daily6" on "Ultrium" (/dev/nsa0). Manual load may
> be required.
>
> Slot 0 invalid -- although "update" in bconsole(8) had no objection to
> me assigning it to a volume. No constraints or triggers in the database
> schema, and no in-code checking.
>
> So I guess Bacula wants to count slots "from 1", but count drives "from
> 0" ?
>
> I wouldn't try to convince anyone of the error in their ways here --
> except to point out that the SCSI specifications, the kernel data
> structures, and mtx(8) and chio(8) all count from 0.
>
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
Storage Element 6:Full :VolumeTag=A00006
Storage Element 7:Full :VolumeTag=A00007
Storage Element 8:Empty:VolumeTag=
Storage Element 9:Full :VolumeTag=A00028
Storage Element 10:Full :VolumeTag=A00021
Storage Element 11:Full :VolumeTag=A00054
Storage Element 12:Full :VolumeTag=A00039
Storage Element 13:Full :VolumeTag=A00051
Storage Element 14:Full :VolumeTag=A00012
Storage Element 15:Full :VolumeTag=A00024
Storage Element 16:Full :VolumeTag=A00016
Storage Element 17:Full :VolumeTag=A00056
Storage Element 18:Full :VolumeTag=A00055
Storage Element 19:Full :VolumeTag=A00057
Storage Element 20:Full :VolumeTag=A00048
Storage Element 21:Full :VolumeTag=A00045
Storage Element 22:Full :VolumeTag=A00047
Storage Element 23:Full :VolumeTag=A00046
Storage Element 24 IMPORT/EXPORT:Full :VolumeTag=A00026
John
-------------------------------------------------------------------------
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
|
|
|