Re: tape hardware choices
2003-06-05 11:15:04
On Thu, Jun 05, 2003 at 12:37:14PM +0100, Tom Brown wrote:
>
> following this up. this is the error i get when i try and change tapes -
>
> $ mtx -f /dev/sg4 status
> Storage Changer /dev/sg4:1 Drives, 6 Slots ( 0 Import/Export )
> Data Transfer Element 0:Empty
> Storage Element 1:Full
> Storage Element 2:Full
> Storage Element 3:Full
so the read/write (data transfer) element is numbered zero
> and change tapes...
>
> $ mtx -f /dev/sg4 load 1
which says to my silly mind, more the tape in element 1 to element 0.
yet ...
...
> mtx: Request Sense: Error in CDB=no
> mtx: Request Sense: SKSV=no
> MOVE MEDIUM from Element Address 2 to 1 Failed
Why is it complaining about a 2 -> 1 move
when it should be doing a 1 -> 0 move?
If you do a load 0 does it do the desired 1 -> 0 move?
Doesn't make sense, but if this was in a shell script
I was debugging I would be looking at an off by one
type error. Maybe one part of the system uses 0 base
and another uses 1 base. But I can't see it happening
when using mtx directly.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|
|
|