Hi Alex
adsm> label libvol ITG-3575 3121cf labelsource=barcode checkin=scratch search=bulk ANR2020E LABEL LIBVOLUME: Invalid parameter - SEARCH. ANS8001I Return code 3. You are using wrong options with the command.Either you tell the volume name to the library or u ask it to search.You are using both the options.Poor chap its getting confused. try this put the tape into the bulk then give the command adsm>label libvol ITG-3575 search=bulk labelsource=barcode checkin=scratch overwrite=yes Regards Raghu S Nivas Consultant - TSM DCM Data Systems Ltd New Delhi India. e-mail: [EMAIL PROTECTED],[EMAIL PROTECTED] Alexander Lazarevich To: [EMAIL PROTECTED] <[EMAIL PROTECTED] cc: .UIUC.EDU> Subject: Re: how to add tape to library? Sent by: "ADSM: (fwd) Dist Stor Manager" <[EMAIL PROTECTED] EDU> 10/04/2002 12:49 PM Please respond to "ADSM: Dist Stor Manager" 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 [EMAIL PROTECTED] | (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 >