[stgt] VTL tape not working

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon Feb 16 00:20:58 CET 2009


On Sun, 15 Feb 2009 11:51:20 +0100
Albert Pauw <albert.pauw at gmail.com> wrote:

> After some time of absence I thought I gave the VTL stuff of tgt a try 
> again.
> 
> Using FC9 and the latest (git) versions of open-iscsi and tgt I am able 
> to see the scsi tape drive
> with the following tgt settings:
> 
> <target iqn.2008-09.com.example:server.tape>
>    backing-store /home/tapes/A3678299
> #    incominguser someuser secretpass12
> #    outgoinguser userA secretpassA
> #    write-cache off
>    device-type tape
>    lun 1
>    MaxRecvDataSegmentLength 8192
>    MaxXmitDataSegmentLength 8192
>    HeaderDigest CRC32C
>    DataDigest None
>    InitialR2T Yes
>    MaxOutstandingR2T 1
>    ImmediateData Yes
>    FirstBurstLength 65536
>    MaxBurstLength 262144
>    DataPDUInOrder Yes
>    DataSequenceInOrder Yes
>    ErrorRecoveryLevel 0
>    IFMarker No
>    OFMarker No
>    DefaultTime2Wait 2
>    DefaultTime2Retain 20
>    OFMarkInt Reject
>    IFMarkInt Reject
>    MaxConnections 1
> </target>
> 
> I used the mktape command like this:
> 
> mktape -m A3678299 -s 10 -t data

Can you try again with tgtimg instead of mktape?
--
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