[stgt] Using tgtd to pass through a SCSI tape drive

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Jul 30 03:57:03 CEST 2010


On Fri, 30 Jul 2010 00:03:43 +0100
Tim Small <tim at seoss.co.uk> wrote:

> markh794 at gmail.com wrote:
> > The table starting at page 48 (Drive Commands) lists each command
> > timeout value.
> >
> > The 'long erase' is the longest at 235minutes.
> 
> This timed out with the timeout at 60 minutes:
> 
> # mt -f /dev/st1 erase
> 
> with:
> 
> st 1:0:3:0: CDB: Erase: 19 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> mptscsih: ioc0: target reset: SUCCESS (sc=ffff8101224c3800)
> 
> I don't know of that corresponds to a long erase or not tho'.  AFAIK
> it's reasonable with hard disks to erase a disk using "write same", and
> that could take hours with large disks, or arrays I assume?
> 
> I'm running the erase again on the underlying device to see how long it
> takes....

Looks like st driver's timeout for ERASE is 14000 seconds.

st driver has two timeout values (900 and 14000 seconds).
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list