Tape Library

Tape Library

Cyber resilient, energy-efficient tape storage with airgap and long-term retention

 View Only
  • 1.  Cartridge Status Problem using TS4300 in IBM i 7.4

    Posted Mon April 10, 2023 03:51 PM

    Hi team,

    I have TS4300 3555-L3A tape library. I'm using it for backing up IBM i. In green screen, my CL program takes selected cartridge to mount and save daily backup on it. The problem is that the selected cartridge should be "Inserted" status to mount but whenever I place a cartridge in I/O magazine (left one), its status shown as "Available". I can't change its status to "Inserted".

    Thank you in advance.



    ------------------------------
    Abdulkadir Durmaz
    ------------------------------


  • 2.  RE: Cartridge Status Problem using TS4300 in IBM i 7.4

    Posted Thu April 13, 2023 01:55 AM

    Hi again,

    It was a misunderstanding. When you insert a cartridge to the tape library for the FIRST TIME, its status will be Inserted. You can only use it if it's Available. So, there was no issue.



    ------------------------------
    Abdulkadir Durmaz
    ------------------------------



  • 3.  RE: Cartridge Status Problem using TS4300 in IBM i 7.4

    Posted Mon June 10, 2024 09:36 AM

    Hi Abdulkadir,

    May I ask how are you manage to mount a cartridge in a drive afterwards?
    Do you use BRMS? Do your cartridges have barcodes?
    I don't have BRMS and my backups are performed directly to the TAPxx device.
    I wish to schedule a CL that temporarily varies on the library instead, then CHKTAPs the CTG-ID of a specific slot per specific day of the week, just so it'll mount.
    I'm getting timed out after 5 mins, when via the TS4300 GUI it takes a few second.

    Best regards,

    Ronen Carmel



    ------------------------------
    Ronen Carmel
    ------------------------------



  • 4.  RE: Cartridge Status Problem using TS4300 in IBM i 7.4

    Posted Tue June 11, 2024 01:47 PM

    @Ronen Carmel, I am not familiar with the specifics of the TS4300 GUI, but I assume that when a request is made to mount a cartridge, it moves the cartridge to the drive and returns as soon as the cartridge is inserted to the drive. It does not wait for the cartridge to become ready. This is the behavior I suspect. When a cartridge is mounted to a drive via a CL (I don't know what that term signifies as my level is at the SCSI command layer) does that mean that there is a cartridge "inserted" into the drive, or does it mean that a cartridge is mounted and comes ready before the command completes?

    If the process via the CL expects the drive to come ready (for example, a LOAD/UNLOAD SCSI command to return GOOD status), then this is a different operation than telling the GUI to mount a cartridge. If the cartridge is an L9 cartridge AND the cartridge has never been mounted in a drive previously, then the drive performs Medium Optimization (that is, a calibration of the specific cartridge) before a LOAD command will return GOOD status. This Medium Optimization usually takes about 20 minutes. This could be the issue with the timeout, but it is only if this is the first use of an LTO-9 cartridge (see https://www.ibm.com/docs/en/ts4300-tape-library?topic=STAKKZ/ts4300_kc/cart_initialization.htm). After the cartridge has been optimized, then a mount should take, on average, 17 sec (see https://www.ibm.com/docs/en/dtl/2.9.5?topic=performance-lto-specifications). Also, some Error Recovery Procedures (ERP) in the tape drive cause a channel calibration (NOT Medium Calibration) which might add close to 4 minutes.

    Whatever is causing the delay is difficult to guess at since there is no data to analyze.



    ------------------------------
    Kevin Butt
    IBM, Tape Development Ecosystem
    Tape SCSI Architect, T10 Representative
    ------------------------------



  • 5.  RE: Cartridge Status Problem using TS4300 in IBM i 7.4

    Posted Sun June 16, 2024 11:11 AM

    @Kevin Butt, The issue has been solved. I couldn't succeed in mounting cartridges from IBM i Control Language (CL) commands because:
    1. On the library side, the drive wasn't added to the logical libraries control path settings, as done via Expert Mode on the GUI/panel.
    2. On the AS/400 side, I didn't allocate the tape drive resource to the library via the following two command:
        VRYCFG CFGOBJ(TAPMLBxx) CFGTYPE(*DEV) STATUS(*ON)
        VRYCFG CFGOBJ(TAPMLBxx) CFGTYPE(*MLBRSC) STATUS(*ALLOCATE) RSRCNAME(TAPxx)
    3. Also on the AS/400 side, I didn't make the cartridges available to the library by applying a category for them - *NL (nonlabled) in my case, as they have no barcode - via the ADDTAPCTG command.

    Best regards,

    Ronen Carmel



    ------------------------------
    Ronen Carmel
    ------------------------------