ADSM-L

Re: how to add tape to library? (fwd)

2002-10-04 15:50:23
Subject: Re: how to add tape to library? (fwd)
From: Alexander Lazarevich <alazarev AT HERA.ITG.UIUC DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 4 Oct 2002 14:49:13 -0500
Dan,

I'm sorry to bother you more, but I'm totally stuck on this, and you
responded with great detail.

I can remove the tapes just fine, but when I try to add a new one,
per your instructions, here's what happens:

adsm> label libvol  ITG-3575 3121cf labelsource=barcode checkin=scratch
ANR8812E LABEL LIBVOLUME: The SEARCH parameter is required when using
LABELSOURCE with this command.
ANS8001I Return code 3.

So then I add the search parameter and I get this error:

adsm> label libvol  ITG-3575 3121cf labelsource=barcode checkin=scratch
search=bulk
ANR2020E LABEL LIBVOLUME: Invalid parameter - SEARCH.
ANS8001I Return code 3.

So it's as if I can't even run the label libv command at all? It wants
the sarch param, then it doesn't. What the heck is going on here? Sounds
like the program is screwed... sigh...

I appreciate any help. Thanks,

Alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev AT itg.uiuc DOT edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---


On Tue, 1 Oct 2002, Dan Foster wrote:

> Hot Diggety! Alexander Lazarevich was rumored to have written:
> >
> > I am unable to add a new tape to the library, and I just can't figure out
> > what I'm doing wrong. Can someone give me some tips? We've got an IBM 3575
> > L18 tape library, runing adsm server 3.1 on an AIX 4.3.3 machine. Tape
>
> I've got a 3575-L32 library, 4 drives, ADSM 3.1, AIX 4.3.3.
>
> > # move all data off the tape, the remove it.
> > adsm> checkout libvolume ITG-3575 xxxxxx checklabel=no
> > adsm> reply 001
>
> BTW, the checkout doesn't move any data off it. It just simply
> tells TSM "hey, it's no longer in the library right now" but still
> has all the data on it defined in the TSM DB and stuff.
>
> If you really want to move data off it... can do something like:
>
> adsm> q vol <volser>
>
> This will tell you what storage pool that tape belongs to.
>
> adsm> move data <volser> -stgpool=<name of stgpool tape is in>
>
> That will move the data off that tape and onto another tape in the
> same storage pool. THEN you can do this:
>
> adsm> delete vol <volser> -discarddata=yes
>
> That tells TSM "hey, there's gonna be nothing left of interest on the
> tape when you finish with that delete vol".
>
> THEN:
>
> adsm> checkout libvol ITG-3575 <volser> checklabel=no remove=yes
>
> That tells TSM "ok, tape isn't in the 3575 any more. Forget it ever
> existed".
>
> At this point, you can now remove the tape from the 3575 library.
>
> Now insert a new tape. Then, you need to do an one-time-only tape
> labelling process if it's a brand new tape that's never been used
> before:
>
> adsm> label libvol ITG-3575 <volser> labelsource=barcode checkin=scratch
>
> That will both label it *and* then tell TSM that it's now in the
> ITG-3575 library and available for use. (You can do this as two
> separate steps but it's bit of a pain...so it's nice to have a single
> command like label libvol that can do both steps and save you some
> typing and PITA-ness.)
>
> Finally, to verify that it's now in the library and as a scratch tape:
>
> adsm> q libv ITG-3575 <volser>
>
> Enjoy your 3575 setup. :-) I'm now working on the 3584 setup...3 to 10
> times faster, and instead of 339 Magstar tapes (3575), the equivalent
> capacity is 9 LTO tapes (3584), and I got 1600 LTO tapes. Whoo hoo ;)
>
> -Dan
>