Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to identify which volumes are full/last access date?

Status
Not open for further replies.

UnixSkunk

IS-IT--Management
Oct 16, 2002
86
US
Hi, Everyone...
I'm trying to find a script that will tell me the last access date of all the tapes IN THE JUKEBOX CURRENTLY, and when they were last accessed. Does anyone know of a good script for this.
Also, does anyone know of a good script for taking all the tapes in a Jukebox, and moving them to the foremost slots? Doing this for 1100 slots would be a little bit time consuming. Thanks.



UnixSkunk - Tux's Evil Nemesis
 
For your first request, try this command:

mminfo -q location=<jukeboxname>,%used=full
-r volume,barcode,volretent,volaccess,volflags,pool

For your second request, use &quot;nsrjb&quot; to find free slots, and then move the tapes with
nsrjb -w -S xxx then nsrjb -d -S yyy
But why do you want to move the tapes to foremost slots?
 
Sorry, the command corresponding exactly to your first request is:

mminfo -q location=<jukeboxname>
-r volume,barcode,%used,volaccess
 
Hi, Speculos.
The reason i wat t omove them to the foremost slots, is because when you haveall these tapes scattered across 1100 slots, its hard to put tapes into the library in sequence. If I get 200 new tapes, they are usually in numerical sequence....It would be nice to be able to put them in the library and have them get used in sequence as well...Then I could store them on the shelf and estimate date by sequence number, and put them back in their correct place in storage easier. I think it would just be simpler.

UnixSkunk - Tux's Evil Nemesis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top