Networker

Re: [Networker] command to deposit volumes into jukebox?

2004-02-20 14:11:22
Subject: Re: [Networker] command to deposit volumes into jukebox?
From: Paul Langford <plangfor AT AB.BLUECROSS DOT CA>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 20 Feb 2004 12:09:11 -0700
The command should be:

  nsrjb -d -P 1-5  -S 10-15

        -d  deposit
        -P  the cap slot number(s)
        -S  the slot(s) to deposit into

I use this once or twice a week on our two servers.

1) HP-UX 10, Networker 6.1.2
2) HP-UX 11i, Networker 7.1
-----Original Message-----
From: Tim Mooney [mailto:mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU]
Sent: Thursday, February 19, 2004 2:02 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] command to deposit volumes into jukebox?


In regard to: [Networker] command to deposit volumes into jukebox?, Evan...:

>I have a storagetek L180 library.
>I put tapes in the cap and want to deposit them into the library from the
>command line, i tried "nsrjb -d" and "nsrjb -d -N" but it gives an error
>both times, there ARE tapes in the cap. any ideas?
>
>here is what ive done so far:
>
>C:\Documents and Settings\Administrator>nsrjb -d

Evan-

Years ago, it used to be possible to specify

        nsrjb -d -P 1-4

(i.e. deposit volumes from cap ports 1 - 4), and have NetWorker choose
what slots they ended up in (i.e. pick any four empty slots, I don't
care).  That functionality was deprecated or removed at some point in the
past, so now NetWorker requires that you specify both source port(s) and
destination slot(s).  That means you need something like

        nsrjb -d -P 1-3 -P 5 -S 22 -S 27-28 -S 62

That says: take the volumes from ports 1, 2, 3, and 5 in the load ports,
and put them in slots 22, 27, 28, and 62 of my jukebox.  I don't know if
NetWorker guarantees ordering (i.e. P1 -> S22, P2 -> S27, P3 -> S28, P5 ->
S62), but you do need to have the same amount of slots and ports
specified.

Be advised that your jukebox or other (external) jukebox software may
number your load ports from 0 - N-1.  NetWorker will use 1 - N, so you
may need to mentally adjust port numbers when you work with nsrjb, vs.
external commands like `mtx' or `mcutil'.

Tim
--
Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak DOT edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
PLEASE NOTE:     This communication, including any attached documentation,
is intended only for the person or entity to which it is addressed, and may
contain confidential, personal, and/or privileged information.   Any
unauthorized disclosure, copying, or taking action on the contents is
strictly prohibited.  If you have received this message in error, please
contact us immediately so we may correct our records.   Please then delete
or destroy the original transmission and any subsequent reply.   Thank you.

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=