EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU> wrote on
11/05/2007 03:59:23 PM:
> In regard to: [Networker] How to specify slot number of a library in
a...:
>
> > So I have this little script I run daily at a remote site:
> >
> > mminfo -avot -q "near,savetime > 1 day ago" -r
"pool,volume,volaccess(22)"
> >
> > It shows me the tape that was written to most recently. I email that
to me
> > and the texh who is responsible for that site. What I'd like to do,
tho,
> > is have the report list what slot in the autochanger today's tape is
in,
> > so he knows which slot to eject, without having to start Networker and
> > look.
> >
> > For example, I get this right now:
> >
> > pool volume vol
access
> > 642nBroad 642nBroad.Full.004 11/5/2007 10:01:21 AM
> >
> > What I need is:
> >
> > pool volume Slot vol
> > access
> > 642nBroad 642nBroad.Full.004 4 11/5/2007 10:01:21 AM
>
> mminfo doesn't have that information, because it's not stored in the
media
> database. It's part of your jukebox resource. If you want that, you
need
> to use nsrjb.
>
> I'm not sure I understand the question though, so let me ask a couple
> questions.
>
> Why don't you just have the script that generates the report actually
> eject (I'm assuming you mean withdraw) the tape? Then your tech doesn't
> need to do anything.
Because the tech doesn't get to the site every day (we're shorthanded).
And they don't want any other user removing tapes. This is an autochanger.
So if I automatically ejected the tape, it would sit there, waiting for
someone to remove it ... meaning nothing could be automatically ejected
tomorrow, because today's tape hasn't been removed yet ...
I don't make the rules. :-)
> Alternately, why not just use the volume label (rather than the slot
> number) that the tape is in? nsrjb is perfectly capable of accepting
>
> nsrjb -w 642nBroad.Full.004
Good to know, thanks.
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
|