ADSM-L

Re: LTO Bulk Reader filled....

2002-08-16 10:37:12
Subject: Re: LTO Bulk Reader filled....
From: Miles Purdy <PURDYM AT FIPD.GC DOT CA>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 16 Aug 2002 09:09:07 -0500
Comments below:

----------------------------------------------------------------------------------------------
Miles Purdy 
System Manager
Agriculture and Agri-Food Canda,
Information Systems Team,
Farm Income Programs Directorate
Winnipeg, MB, CA
purdym AT fipd.gc DOT ca
ph: (204) 984-1602 fax: (204) 983-7557

"If you hold a UNIX shell up to your ear, can you hear the C?"
-------------------------------------------------------------------------------------------------

>>> dstabler AT MORRISONHOMES DOT COM 16-Aug-02 7:59:22 AM >>>
I was using DRM to manage a copypool, and sent my "Vault" tapes to the
bulk reader.  I wasn't paying attention at the time, but I sent more
than 10 tapes.  The extra tapes were dutifully marked at the Vault, and
TSM lost track of them, but they were still in the LTO!  A key, and a
few minutes of scanning, found them, but it wasn't what I expected....

Is there any way in TSM to monitor, easily, how many tapes are to be
ejected, compare that to what, if any, tapes are already in the bulk
reader, and send only what can fit?  Or, error out for trying to do too
much?
> TSM, I don' think can mange this, but you could write a shell script (see 
> example below). 

I have written a rather nasty shell script that does a few selects,
picks a tape list, cuts off the top 10 tapes, and only sends those (one
at a time, rather than with any wildcards), but I'm wondering if I'm
using a sledge hammer on this finishing nail....
> To count free slots, could you use:
unxr:/u/purdym>tapeutil -f /dev/smc1 inventory | grep -p "Import/Export State" 
| grep -c "Media Present .................. No"
10
unxr:/u/purdym>

Then use that number to check out only the number of tapes that will fit?

Miles

<Prev in Thread] Current Thread [Next in Thread>