rescan causes offlined tape to reload

Matthew Jacob mj at feral.com
Thu Jan 20 23:54:45 UTC 2011


My recollection is that when you 'eject' a DLT, unless you operate the 
handle, or it's part of a changer unit that does it for you, any 
subsequent Test Unit Ready will reload it.

Other than that, there are couple of candidate changes in the XPT layer 
in the time frame you talk of which may be inducing this behavior. Any 
way you can get a trace of the SCSI commands sent?

On 1/20/2011 2:33 PM, G. Paul Ziemba wrote:
> I have a DLT7000 scsi tape. Behavior of "camcontrol rescan all"
> seems to have changed between FreeBSD stable of 2009-Nov-17 and
> 2011-Jan-11.
>
> I execute the following sequence of commands:
>
> # camcontrol eject sa0
> # camcontrol rescan all
>
> If there is a tape in the drive, the "eject" unloads it.
>
> On the old system: the rescan command does not affect the state of the tape.
>
> On the new system: the rescan command causes the tape to load. It seems
> incorrect to me.
>
> Is the new behavior a bug?
>
> thanks,
>
>   ~!paul


More information about the freebsd-scsi mailing list