ADSM-L

Re: [ADSM-L] Using tapeutil to examine cleaning tapes

2010-04-09 18:24:47
Subject: Re: [ADSM-L] Using tapeutil to examine cleaning tapes
From: Michael Green <mishagreen AT GMAIL DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sat, 10 Apr 2010 01:23:57 +0300
My cleaning tapes sport barcodes that begin with CLN. And so I do

 # ./itdt -f /dev/IBMchanger0 inventory | grep -B 7 CLN
Slot Address ................... 1025
 Slot State .................... Abnormal
 ASC/ASCQ ...................... 3003
 Media Present ................. Yes
 Robot Access Allowed .......... No
 Source Element Address Valid .. No
 Media Inverted ................ No
 Volume Tag .................... CLNU75L1
--
Slot Address ................... 1585
 Slot State .................... Abnormal
 ASC/ASCQ ...................... 3003
 Media Present ................. Yes
 Robot Access Allowed .......... No
 Source Element Address Valid .. No
 Media Inverted ................ No
 Volume Tag .................... CLNU74L1

This is on Linux using lin_tape driver and GNU grep.
Now, given this info, how one retrieves the "cleanings left" using ITDT?
--
Warm regards,
Michael Green



On Thu, Mar 18, 2010 at 7:05 PM, John D. Schneider
<john.schneider AT computercoachingcommunity DOT com> wrote:
>  Greetings,
>    This is a followup to Wanda's question about cleaning tapes on an
> IBM3584 library.  I wondered if there was any way to do it using
> tapeutil.  When I call tapeutil with:
>
> tapeutil -f /dev/smc1 inventory
> or
> tapeutil -f /dev/smc1 cartridgelocation
>
> either one will give me a report of all the slots in the library and
> what is in them.  But wait a minute, it is not a report of ALL the
> slots.  When I tried to use it to find out what slots had cleaning
> tapes, I found out that neither of these reports will show the cleaning
> tapes!  They show empty slots, and ones with tapes in them, but they
> don't show slots that have cleaners.  I suppose this is by design, but I
> can't imagine why.
>
> Does anyone know of a way to detect the cleaning tapes with tapeutil (or
> similar utility like ITDT), so we can determine how many cleanings are
> left?
>
> Best Regards,
>
> John D. Schneider
> The Computer Coaching Community, LLC
> Office: (314) 635-5424 / Toll Free: (866) 796-9226
> Cell: (314) 750-8721
>