Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2011 15:25:01 -0800
From:      Matthew Jacob <mj@feral.com>
To:        freebsd-scsi@freebsd.org
Subject:   Re: rescan causes offlined tape to reload
Message-ID:  <4D38C44D.6080703@feral.com>
In-Reply-To: <ihad7a$26l1$1@hairball.ziemba.us>
References:  <ihad7a$26l1$1@hairball.ziemba.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D38C44D.6080703>