Re: VTL emulation, no barcodes shown in mtx

Michael Ablassmeier <[email protected]> Wed, 6 Jan 2021 20:01:32 +0100
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
On Wed, Jan 06, 2021 at 07:58:25PM +0100, Michael Ablassmeier wrote:
> im trying to create a virtual tape library based on the DVD/CD example,
> the commands used are:
> 
> > tgtadm --op new --mode logicalunit --tid 1 --lun 1 --device-type tape 
> > [..]

The output is missing the relevant image commands which were used to
create the medias:

> tgtimg --op new --device-type tape --type DATA --barcode TAPE001 --size 500 --file ${VTL}/TAPE001
> tgtimg --op new --device-type tape --type DATA --barcode TAPE002 --size 500 --file ${VTL}/TAPE002

thanks,
    - michael