You could use the command "sjirdtag c.t.b".
It will provide you the contents of all elements in the jukebox.
You will then just have to grab the portion related to the CAP (mailbox).
Itzik Meirson - מאירסון איציק
email: imeirson AT gmail DOT com
phone: +972 4 8389975
fax: +972 4 8376294
cell: +972 54 6626186
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Ty Young
Sent: Friday, 12 January, 2007 18:19
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] using 'relem' to get a list of inserted tapes
Hi folks,
NetWorker 7.2.1 Power Edition (server) running on Solaris 10
Sun/StorageTek L500 library (5 x LTO3 FC drives)
I'm able to see the contents of my L500's CAP (loadport) by using 'relem -
a 2.0.0 -Ftr 10.15', although the output's a little bit more verbose than
I need. Only issue is that the output of the 'Primary Tag' section is in
hex, not ASCII, so I have to manually (oops, I mean with Perl :-) convert
it into something meaningful.
The goal, then, is to end up with a human-readable list of tapes currently
in the CAP of a library.
Before I go out and write something, has anyone else come up with a
convenient way of doing this?
TIA
-ty
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please
write to networker-request AT listserv.temple DOT edu if you have any problems
with this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|