Re: how to add tape to library? (fwd)
It should be asking for a reply. When you q act or q request, do you see anything like that? If you do reference that # and type reply # . try that. (Embedded image moved to file: pic06334.pcx) Alexander Lazarevich To: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: .UIUC.EDU Subject: Re: how to add tape to library? (fwd) Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] EDU 10/04/2002 03:32 PM Please respond to ADSM: Dist Stor Manager okay, i do that exact command: adsm label libvol ITG-3575 search=bulk labelsource=barcode checkin=scratch and it starts to read all the labels in my library, but then it comes up with the error: ANR8314E Library ITG-3575 is full. ANR8841I Remove volume from slot 30 of library ITG-3575 at your convenience. ANR8802E LABEL LIBVOLUME process 87 for library failed. ANR0985I Process 87 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state FAILURE at 15:28:48. how can the library be full, i just removed 4 tapes from it yesterday! it could be that the tapes were not properly removed, so the server thinks it's full, even when it isn't. so how do i get the server to read the tapes, and verify which ones are in the library, and which ones arn't. keep in mind that i have data on all these tapes, and i can't lose it! thanks much for the help! alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ On Fri, 4 Oct 2002, John Coffman wrote: I was told by TSM support when I did my installation to label vol like this label libvol library_name search=bulk labelsource=barcode checkin=scratch (Embedded image moved to file: pic23281.pcx) Alexander Lazarevich To: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: .UIUC.EDU Subject: Re: how to add tape to library? (fwd) Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] EDU 10/04/2002 02: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 xx 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
Re: how to add tape to library?
Hi Alex, I usually do the following to add volumes to sequential storage pools I use define Volume for random access storage pools. to checkin as private checkin libvol libname search=bulk status=private checklabel=barcode to label and checkin as scratch label libvol libname search=bulk checkin=scratch labelsource=barcode overwrite=yes Under what circumstances you use define volume to checkin sequential volumes instead of label and checkin commands. If you use define volume for this purpose , i think u shud update the status as update libvol libname volname status=private Regards Raghu S Nivas Consultant - TSM DCM Data Systems Ltd New Delhi India. e-mail: [EMAIL PROTECTED],[EMAIL PROTECTED] Alexander LazarevichTo: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: .UIUC.EDUSubject: how to add tape to library? Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] EDU 10/01/2002 07:39 AM Please respond to ADSM: Dist Stor Manager 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 library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library named ITG-3575. We've got several failed tapes in the libray and I must replace them with new good ones. The new ones are coming right out of a Magstar MP tape box which is brand spanking new. Here's the commands I entered, and yes, ive moved all data off the tape first. # move all data off the tape, the remove it. adsm checkout libvolume ITG-3575 xx checklabel=no adsm reply 001 # define new tape volume adsm define volume ITG-3575TAPE 311E98 ACCESS=READWrite # put in the new tape volume adsm checkin libvolume ITG-3575 311E98 status=private adsm reply # the first two stages seem to work, but when i try the third stage i get the following error: ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1 (/dev/rmt1). ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1 (/dev/rmt1). ANR8786I 016: Remove 3570 volume from entry/exit port; insert volume 3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s); issue 'REPLY' along with the request ID when ready. so i try it again and again and it tries verifying the tape in each of the 2 drives, but it never verifys so i just have to cancel the process. PAIN IN THE ARS!!! so, the messages manual says to make sure the tape is inserted correctly, which it is, then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes???, and then it say to check if the DEVICE parameter is correct on the DEFINE DRIVE command, which im pretty sure it is. our library has been working for years, but ive just never needed to replace tapes until now. so im pretty certain the drives work fine, i mean we backup and restore data just fine, all the time. drives must be okay. so i must be making some error in my commands to insert the new tape. any ideas? thanks in advance, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------
Re: how to add tape to library? (fwd)
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 xx 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
Re: how to add tape to library? (fwd)
I was told by TSM support when I did my installation to label vol like this label libvol library_name search=bulk labelsource=barcode checkin=scratch (Embedded image moved to file: pic23281.pcx) Alexander Lazarevich To: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: .UIUC.EDU Subject: Re: how to add tape to library? (fwd) Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] EDU 10/04/2002 02: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 xx 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 The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. pic23281.pcx Description: Binary data
Re: how to add tape to library? (fwd)
okay, i do that exact command: adsm label libvol ITG-3575 search=bulk labelsource=barcode checkin=scratch and it starts to read all the labels in my library, but then it comes up with the error: ANR8314E Library ITG-3575 is full. ANR8841I Remove volume from slot 30 of library ITG-3575 at your convenience. ANR8802E LABEL LIBVOLUME process 87 for library failed. ANR0985I Process 87 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state FAILURE at 15:28:48. how can the library be full, i just removed 4 tapes from it yesterday! it could be that the tapes were not properly removed, so the server thinks it's full, even when it isn't. so how do i get the server to read the tapes, and verify which ones are in the library, and which ones arn't. keep in mind that i have data on all these tapes, and i can't lose it! thanks much for the help! alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ On Fri, 4 Oct 2002, John Coffman wrote: I was told by TSM support when I did my installation to label vol like this label libvol library_name search=bulk labelsource=barcode checkin=scratch (Embedded image moved to file: pic23281.pcx) Alexander Lazarevich To: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: .UIUC.EDU Subject: Re: how to add tape to library? (fwd) Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] EDU 10/04/2002 02: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 xx 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
Re: how to add tape to library? (fwd)
[EMAIL PROTECTED] 10/04/02 04:32PM so how do i get the server to read the tapes, and verify which ones are in the library, and which ones arn't. -=-=- I don't know much, but that one I know. Audit Library. In your case, you need to audit the library ITG-3575 so it checks everything, and knows what is there and what isn't. There ya go. -drs- David Stabler, CATE/AIX, CNCE Senior Systems Analyst
Re: how to add tape to library? (fwd)
'label libvol robotname ...' Alexander Lazarevich [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 04-Oct-2002 16:32 Please respond to ADSM: Dist Stor Manager [EMAIL PROTECTED] To: ADSM-L cc: Subject:Re: how to add tape to library? (fwd) okay, i do that exact command: adsm label libvol ITG-3575 search=bulk labelsource=barcode checkin=scratch and it starts to read all the labels in my library, but then it comes up with the error: ANR8314E Library ITG-3575 is full. ANR8841I Remove volume from slot 30 of library ITG-3575 at your convenience. ANR8802E LABEL LIBVOLUME process 87 for library failed. ANR0985I Process 87 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state FAILURE at 15:28:48. how can the library be full, i just removed 4 tapes from it yesterday! it could be that the tapes were not properly removed, so the server thinks it's full, even when it isn't. so how do i get the server to read the tapes, and verify which ones are in the library, and which ones arn't. keep in mind that i have data on all these tapes, and i can't lose it! thanks much for the help! alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ On Fri, 4 Oct 2002, John Coffman wrote: I was told by TSM support when I did my installation to label vol like this label libvol library_name search=bulk labelsource=barcode checkin=scratch (Embedded image moved to file: pic23281.pcx) Alexander Lazarevich To: [EMAIL PROTECTED] [EMAIL PROTECTED] cc: .UIUC.EDU Subject: Re: how to add tape to library? (fwd) Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] EDU 10/04/2002 02: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 xx 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
Re: how to add tape to library? (fwd)
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Lazarevich 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. The problem is that if you specify the volume name, the labelsource parameter is not necessary. 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. Okay, here we go: 1. Cancel all processes: cancel process process_number 2. Check for mounted volumes. If there are any, they should all be idle after all processes are cancelled. Dismount any volume still in a drive: dismount volume volume_name 3. Audit the library: audit library library_name checkl=barcode 4. Open up the library and fill it completely with tapes. Let the library rehome itself and reset. 5. If they are brand-new tapes (never been used before), run this command: label libv library_name search=yes checkin=scratch labelsource=barcode overwrite=yes 6. Now run checkin libv library_name search=yes status=scratch checkl=barcode -- Mark Stapleton ([EMAIL PROTECTED]) Certified TSM consultant Certified AIX system engineer MCSE
Re: how to add tape to library? (fwd)
Mark: As I understand it, step 5 (label libv) automatically checks in the new tapes as scratch, thus making step 6 unnecessary? johnn From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Lazarevich 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. The problem is that if you specify the volume name, the labelsource parameter is not necessary. 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. Okay, here we go: 1. Cancel all processes: cancel process process_number 2. Check for mounted volumes. If there are any, they should all be idle after all processes are cancelled. Dismount any volume still in a drive: dismount volume volume_name 3. Audit the library: audit library library_name checkl=barcode 4. Open up the library and fill it completely with tapes. Let the library rehome itself and reset. 5. If they are brand-new tapes (never been used before), run this command: label libv library_name search=yes checkin=scratch labelsource=barcode overwrite=yes 6. Now run checkin libv library_name search=yes status=scratch checkl=barcode -- Mark Stapleton ([EMAIL PROTECTED]) Certified TSM consultant Certified AIX system engineer MCSE
Re: how to add tape to library? (fwd)
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 adsmlabel 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 LazarevichTo: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: .UIUC.EDUSubject: 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 xx 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
Re: how to add tape to library?
okay, i think this is my problem, because im doing every command correct and im still getting: ANR8335I 022: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE2 (/dev/rmt0). ANR8353E 022: I/O error reading label of volume in drive TAPEDRIVE2 (/dev/rmt0). so how do i upgrade to the most recent code level? thanks, i appreciate it, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ On Tue, 1 Oct 2002, Thomas, Matthew wrote: Alex, Our setup: TSM 4.2.2 AIX 4.3.3 3494 Tape Library 3590E tape drives Might not be the same problem but... We had tape issues a month or so ago on 3590 drives - we just couldn't get them to 'checkin label libv' successfully. It appeared that the tape media had been (internally) labelled by the manufacturer with drives that were at a higher level of microcode than ours. Upgrading to the latest 'code level did the job. Matt -Original Message- From: Alexander Lazarevich [mailto:[EMAIL PROTECTED]] Sent: 01 October 2002 15:40 To: [EMAIL PROTECTED] Subject: how to add tape to library? 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 library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library named ITG-3575. We've got several failed tapes in the libray and I must replace them with new good ones. The new ones are coming right out of a Magstar MP tape box which is brand spanking new. Here's the commands I entered, and yes, ive moved all data off the tape first. # move all data off the tape, the remove it. adsm checkout libvolume ITG-3575 xx checklabel=no adsm reply 001 # define new tape volume adsm define volume ITG-3575TAPE 311E98 ACCESS=READWrite # put in the new tape volume adsm checkin libvolume ITG-3575 311E98 status=private adsm reply # the first two stages seem to work, but when i try the third stage i get the following error: ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1 (/dev/rmt1). ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1 (/dev/rmt1). ANR8786I 016: Remove 3570 volume from entry/exit port; insert volume 3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s); issue 'REPLY' along with the request ID when ready. so i try it again and again and it tries verifying the tape in each of the 2 drives, but it never verifys so i just have to cancel the process. PAIN IN THE ARS!!! so, the messages manual says to make sure the tape is inserted correctly, which it is, then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes???, and then it say to check if the DEVICE parameter is correct on the DEFINE DRIVE command, which im pretty sure it is. our library has been working for years, but ive just never needed to replace tapes until now. so im pretty certain the drives work fine, i mean we backup and restore data just fine, all the time. drives must be okay. so i must be making some error in my commands to insert the new tape. any ideas? thanks in advance, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ --- This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. evolvebank.com is a division of Lloyds TSB Bank plc. Lloyds TSB Bank plc, 71 Lombard Street, London EC3P 3BS. Registered in England, number 2065. Telephone No: 020 7626 1500 Lloyds TSB Scotland plc, Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone No: 0131 225 4555 Lloyds TSB Bank plc and Lloyds TSB Scotland plc are regulated by the Financial Services Authority and represent only the Scottish Widows and Lloyds TSB Marketing Group for life assurance, pensions and investment business. Signatories to the Banking Codes. ---
Re: how to add tape to library?
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Lazarevich okay, i think this is my problem, because im doing every command correct and im still getting: ANR8335I 022: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE2 (/dev/rmt0). ANR8353E 022: I/O error reading label of volume in drive TAPEDRIVE2 (/dev/rmt0). Have you run LABEL LIBVOLUME on them? When I see ANR8335I and ANR8353E one right after the other, that is usually the problem. -- Mark Stapleton ([EMAIL PROTECTED]) Certified TSM consultant Certified AIX system engineer MCSE
Re: how to add tape to library?
You have to label the new tape first with the LABEL LIBVOL command. label libvol ITG-3575 search=bulk lablesource=barcode status=pri It will be labeled and checked in. Then you can assign it to a stgpool. David Longo [EMAIL PROTECTED] 10/01/02 10:39AM 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 library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library named ITG-3575. We've got several failed tapes in the libray and I must replace them with new good ones. The new ones are coming right out of a Magstar MP tape box which is brand spanking new. Here's the commands I entered, and yes, ive moved all data off the tape first. # move all data off the tape, the remove it. adsm checkout libvolume ITG-3575 xx checklabel=no adsm reply 001 # define new tape volume adsm define volume ITG-3575TAPE 311E98 ACCESS=READWrite # put in the new tape volume adsm checkin libvolume ITG-3575 311E98 status=private adsm reply # the first two stages seem to work, but when i try the third stage i get the following error: ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1 (/dev/rmt1). ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1 (/dev/rmt1). ANR8786I 016: Remove 3570 volume from entry/exit port; insert volume 3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s); issue 'REPLY' along with the request ID when ready. so i try it again and again and it tries verifying the tape in each of the 2 drives, but it never verifys so i just have to cancel the process. PAIN IN THE ARS!!! so, the messages manual says to make sure the tape is inserted correctly, which it is, then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes???, and then it say to check if the DEVICE parameter is correct on the DEFINE DRIVE command, which im pretty sure it is. our library has been working for years, but ive just never needed to replace tapes until now. so im pretty certain the drives work fine, i mean we backup and restore data just fine, all the time. drives must be okay. so i must be making some error in my commands to insert the new tape. any ideas? thanks in advance, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ MMS health-first.org made the following annotations on 10/01/2002 11:33:13 AM -- This message is for the named person's use only. It may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Health First reserves the right to monitor all e-mail communications through its networks. Any views or opinions expressed in this message are solely those of the individual sender, except (1) where the message states such views or opinions are on behalf of a particular entity; and (2) the sender is authorized by the entity to give such views or opinions. ==
Re: how to add tape to library?
Alex, Our setup: TSM 4.2.2 AIX 4.3.3 3494 Tape Library 3590E tape drives Might not be the same problem but... We had tape issues a month or so ago on 3590 drives - we just couldn't get them to 'checkin label libv' successfully. It appeared that the tape media had been (internally) labelled by the manufacturer with drives that were at a higher level of microcode than ours. Upgrading to the latest 'code level did the job. Matt -Original Message- From: Alexander Lazarevich [mailto:[EMAIL PROTECTED]] Sent: 01 October 2002 15:40 To: [EMAIL PROTECTED] Subject: how to add tape to library? 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 library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library named ITG-3575. We've got several failed tapes in the libray and I must replace them with new good ones. The new ones are coming right out of a Magstar MP tape box which is brand spanking new. Here's the commands I entered, and yes, ive moved all data off the tape first. # move all data off the tape, the remove it. adsm checkout libvolume ITG-3575 xx checklabel=no adsm reply 001 # define new tape volume adsm define volume ITG-3575TAPE 311E98 ACCESS=READWrite # put in the new tape volume adsm checkin libvolume ITG-3575 311E98 status=private adsm reply # the first two stages seem to work, but when i try the third stage i get the following error: ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1 (/dev/rmt1). ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1 (/dev/rmt1). ANR8786I 016: Remove 3570 volume from entry/exit port; insert volume 3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s); issue 'REPLY' along with the request ID when ready. so i try it again and again and it tries verifying the tape in each of the 2 drives, but it never verifys so i just have to cancel the process. PAIN IN THE ARS!!! so, the messages manual says to make sure the tape is inserted correctly, which it is, then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes???, and then it say to check if the DEVICE parameter is correct on the DEFINE DRIVE command, which im pretty sure it is. our library has been working for years, but ive just never needed to replace tapes until now. so im pretty certain the drives work fine, i mean we backup and restore data just fine, all the time. drives must be okay. so i must be making some error in my commands to insert the new tape. any ideas? thanks in advance, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------ --- This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. evolvebank.com is a division of Lloyds TSB Bank plc. Lloyds TSB Bank plc, 71 Lombard Street, London EC3P 3BS. Registered in England, number 2065. Telephone No: 020 7626 1500 Lloyds TSB Scotland plc, Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone No: 0131 225 4555 Lloyds TSB Bank plc and Lloyds TSB Scotland plc are regulated by the Financial Services Authority and represent only the Scottish Widows and Lloyds TSB Marketing Group for life assurance, pensions and investment business. Signatories to the Banking Codes. ---
Re: how to add tape to library?
Alexander, Take a look at the label libv command with the checkin parameter. That should do the trick. Curt Magura Lockheed Martin EIS Orlando, Fla. 321-235-1203 -Original Message- From: Alexander Lazarevich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 10:40 AM To: [EMAIL PROTECTED] Subject: how to add tape to library? 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 library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library named ITG-3575. We've got several failed tapes in the libray and I must replace them with new good ones. The new ones are coming right out of a Magstar MP tape box which is brand spanking new. Here's the commands I entered, and yes, ive moved all data off the tape first. # move all data off the tape, the remove it. adsm checkout libvolume ITG-3575 xx checklabel=no adsm reply 001 # define new tape volume adsm define volume ITG-3575TAPE 311E98 ACCESS=READWrite # put in the new tape volume adsm checkin libvolume ITG-3575 311E98 status=private adsm reply # the first two stages seem to work, but when i try the third stage i get the following error: ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1 (/dev/rmt1). ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1 (/dev/rmt1). ANR8786I 016: Remove 3570 volume from entry/exit port; insert volume 3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s); issue 'REPLY' along with the request ID when ready. so i try it again and again and it tries verifying the tape in each of the 2 drives, but it never verifys so i just have to cancel the process. PAIN IN THE ARS!!! so, the messages manual says to make sure the tape is inserted correctly, which it is, then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes???, and then it say to check if the DEVICE parameter is correct on the DEFINE DRIVE command, which im pretty sure it is. our library has been working for years, but ive just never needed to replace tapes until now. so im pretty certain the drives work fine, i mean we backup and restore data just fine, all the time. drives must be okay. so i must be making some error in my commands to insert the new tape. any ideas? thanks in advance, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------
Re: how to add tape to library?
then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes??? You need to dsmlabel the new tapes to write a volume serial on the tape. dsmlabel has nothing to do with the drives.
Re: how to add tape to library?
TSM uses the bar code labels, but is ALSO has to have an internal tape label written. Look at the LABEL LIBV command. If the tape has internal labels on it already, you can just use checkin/checkout. If the tape has no internal labels yet, you have to use LABEL LIBV to write the label, and it does the checkin also. -Original Message- From: Alexander Lazarevich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 10:40 AM To: [EMAIL PROTECTED] Subject: how to add tape to library? 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 library has 2 drives in it (/dev/rmt0, /dev/rmt1). We have one library named ITG-3575. We've got several failed tapes in the libray and I must replace them with new good ones. The new ones are coming right out of a Magstar MP tape box which is brand spanking new. Here's the commands I entered, and yes, ive moved all data off the tape first. # move all data off the tape, the remove it. adsm checkout libvolume ITG-3575 xx checklabel=no adsm reply 001 # define new tape volume adsm define volume ITG-3575TAPE 311E98 ACCESS=READWrite # put in the new tape volume adsm checkin libvolume ITG-3575 311E98 status=private adsm reply # the first two stages seem to work, but when i try the third stage i get the following error: ANR8335I 015: Verifying label of 3570 volume 3121CF in drive TAPEDRIVE1 (/dev/rmt1). ANR8353E 015: I/O error reading label of volume in drive TAPEDRIVE1 (/dev/rmt1). ANR8786I 016: Remove 3570 volume from entry/exit port; insert volume 3121CF R/W into entry/exit port of library ITG-3575 within 60 minute(s); issue 'REPLY' along with the request ID when ready. so i try it again and again and it tries verifying the tape in each of the 2 drives, but it never verifys so i just have to cancel the process. PAIN IN THE ARS!!! so, the messages manual says to make sure the tape is inserted correctly, which it is, then make sure the volume has been labeled using the dsmlabel command, which is wierd cause i though you only use that command on the drives not on tapes???, and then it say to check if the DEVICE parameter is correct on the DEFINE DRIVE command, which im pretty sure it is. our library has been working for years, but ive just never needed to replace tapes until now. so im pretty certain the drives work fine, i mean we backup and restore data just fine, all the time. drives must be okay. so i must be making some error in my commands to insert the new tape. any ideas? thanks in advance, alex ------ Alex Lazarevich | Systems | Imaging Technology Group [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu ------