Re: checkin libv command
Here is a script that I picked up at SHARE years ago that lists PRIVATE tapes that are not in fact in use: tsm: ULTSMq script q_lost_tapes f=l Name Line Command Number -- -- Q_LOST_TA- 10 select volume_name as Private Tapes NOT in Use - PES 20 from libvolumes - 30 where status='Private' - 40 and libvolumes.volume_name not in - 50 (select volume_name from volumes) - 60 and libvolumes.volume_name not in - 80 (select volume_name from volhistory - 90 where type in ('BACKUPFULL', - 100'BACKUPINCR', - 110'DBSNAPSHOT', - 120'EXPORT')) -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 1:28 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Did you check maxscratch for that storage pool? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:40 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780 ** Information contained in this e-mail message and in any attachments thereto is confidential. If you are not the intended recipient, please destroy this message, delete any copies held on your systems, notify the sender immediately, and refrain from using or disclosing all or any part of its content to any other person.
Re: checkin libv command
Hi Jeannie, Would trying search=bulk make a difference? label libv XXX search=b checkin=scr labels=b overwrite=y waitt=0 On Tue, Dec 23, 2014 at 7:39 AM, Jeanne Bruno jbr...@cenhud.com wrote: Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Did you check maxscratch for that storage pool? he didn't add volumes to library Try set status=private ( stupid advice but may be help you) label libv xx search=yes checkin=private labels=b overwrite=y -- Dmitry Dukhov Siberia Software SL http://www.s-iberia.com n 23/12/14 17:45, Schneider, Jim wrote: Did you check maxscratch for that storage pool? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:40 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780 ** Information contained in this e-mail message and in any attachments thereto is confidential. If you are not the intended recipient, please destroy this message, delete any copies held on your systems, notify the sender immediately, and refrain from using or disclosing all or any part of its content to any other person.
Re: checkin libv command
Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
If the maxscratch was incorrect surely the activity log would indicate that on the output. Can the library through the library GUI see the barcodes of the tapes, could be the cartridge assignment policy is not adapted to enable this barcode range or the barcode labels are wrong, we have had labels which are 'too shiny' and the robot didn't like them?? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: 23 December 2014 16:37 To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780 This e-mail, and any files transmitted with it, is intended solely for the use of the recipient(s) to whom it is addressed and may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete the record from your computer or other device as its contents may be confidential and its disclosure, copying or distribution unlawful. Clarks takes precautions to prevent the transmission of electronic viruses but responsibility for screening incoming messages, and the risk of such transmission, lies with the recipient. Clarks, Registered in England number 141015. Registered office 40 High Street, Street, Somerset. BA16 0EQ. Where the term Clarks appears it refers to CJ Clark Limited, CJ Clark International Limited, The Clarks Companies N.A. its Subsidiaries and Associate Companies. This message has been scanned for viruses by MailControl - www.MailControl.com
Re: checkin libv command
q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Where are these tapes you want to label? In the library or in the I/O hopper? On Tue, 23 Dec 2014 16:38 Jeanne Bruno jbr...@cenhud.com wrote: Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
I haven’t seen an answer to another Nick’s suggestion, which this Nick endorses. On Dec 23, 2014, at 8:47 AM, Nick Marouf mar...@gmail.com wrote: Hi Jeannie, Would trying search=bulk make a difference? label libv XXX search=b checkin=scr labels=b overwrite=y waitt=0 On Tue, Dec 23, 2014 at 7:39 AM, Jeanne Bruno jbr...@cenhud.com wrote: Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Previously stated in the email. (I typed status=bulk...but meant search=bulk) I have tried search=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Nick Laflamme Sent: Tuesday, December 23, 2014 12:21 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command I haven’t seen an answer to another Nick’s suggestion, which this Nick endorses. On Dec 23, 2014, at 8:47 AM, Nick Marouf mar...@gmail.com wrote: Hi Jeannie, Would trying search=bulk make a difference? label libv XXX search=b checkin=scr labels=b overwrite=y waitt=0 On Tue, Dec 23, 2014 at 7:39 AM, Jeanne Bruno jbr...@cenhud.com wrote: Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Hello. The library. I put tape on the door (the i/o hopper...ours holds 6 tapes) of the DS3512, closed the hopper, then using the little gui on the DS3512, I choose the library I want them checked into. Then I hit 'insert media', picked the tape from the list and hit ok. (heard the arm grab the tape and put somewhere in the library). Came back to the admin server and typed my checked in command. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Steven Langdale Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Where are these tapes you want to label? In the library or in the I/O hopper? On Tue, 23 Dec 2014 16:38 Jeanne Bruno jbr...@cenhud.com wrote: Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
As an option you can use the search=bulk, and the troublesome tape once checked into the library can be updated with upd v access=unav But your are correct Jeanne, the search=yes should have picked them up since you inserted them into the library. Hope that helps. On Tue, Dec 23, 2014 at 10:36 AM, Jeanne Bruno jbr...@cenhud.com wrote: Hello. The library. I put tape on the door (the i/o hopper...ours holds 6 tapes) of the DS3512, closed the hopper, then using the little gui on the DS3512, I choose the library I want them checked into. Then I hit 'insert media', picked the tape from the list and hit ok. (heard the arm grab the tape and put somewhere in the library). Came back to the admin server and typed my checked in command. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Steven Langdale Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Where are these tapes you want to label? In the library or in the I/O hopper? On Tue, 23 Dec 2014 16:38 Jeanne Bruno jbr...@cenhud.com wrote: Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
You could first try updating the status to scratch. It could be that the volume had a mount or write failure. That could be due to media error or tape drive error. If the tape is unlabeled or damaged it will fail again when you try to checkout or checkin. update libvol library_name volser status=scratch After that, as a test try checking the tape out (or in) with checklabel=yes to force it to read the internal label. George Huebschman (George H.) The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may be considered a commercial electronic message under Canadian law or this message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US law. You may unsubscribe at any time from receiving commercial electronic messages from PNC at http://pages.e.pnc.com/globalunsub/ PNC, 249 Fifth Avenue, Pittsburgh, PA 15222; pnc.com
Re: checkin libv command
Add overwrite=yes As I said before, this WILL delete any data on the tape. Use with caution. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 12:28 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so far. I have used the cleaning tape and did the clean process and also rebooted the DS3512.same results afterwards. Any help, suggestions would be greatly appreciated. Jeannie Bruno Senior Systems Analyst jbr...@cenhud.commailto:jbr...@cenhud.com Central Hudson Gas Electric (845) 486-5780
Re: checkin libv command
I think that worked. Thank you. I still can't check in any brand new tapes. I have another tape, that when I did the checkin, I got this message (this is NOT the brand new tape or the orphaned tape I just got checked inthis tape is old): ANR8816E LABEL LIBVOLUME: Volume A00025L5 in library XXX cannot be labeled because it is currently defined in a storage pool or in the volume history file. But when I do a q vol *...it looks like it's being used: A00025L5 LTO_COPY LTO_TAPE1.5 T 19.4 Filling It does not show up when I do a q drm. What does this mean?? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 1:55 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Add overwrite=yes As I said before, this WILL delete any data on the tape. Use with caution. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 12:28 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I Process 120 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 09:29:19. 0 volumes, but finished successfully and when I query the library XX, the new tape does not show in the list. I have also tried this command: CHECKIN LIBVOLUME xx SEARCH=YES CHECKLABEL=YES status=scratch WAITTIME=0 VOLLIST=A00L5. Results are the same. I have also tried putting the tapes on the door of the machine and not doing the 'insert media'...again results on the same. We just received 30 new tapes last week and I've tried about 10 of them so
Re: checkin libv command
If the tape in question A00025L5 is part of your offsite pool, it just needs to be checked out of the library and sent offsite until ready to come back. If that tape is part of an internal pool. You need to check it back into the library as private. checkin libv search=y status=private checkl=b waitt=0 voll=A00025L5 DRM is a good check. Making sure you query drm based on how you did the move drm. i.e (q drm volume_name or q drm volume_name s=dbs) It is still not clear why checking/labeling new tapes is not working for you, are the new tape labels a continued extension of the existing labels? Is there a defined label range defined for the library (i.e logical library defined with range A0L5-A000305L5) Hope that helps On Tue, Dec 23, 2014 at 1:02 PM, Jeanne Bruno jbr...@cenhud.com wrote: I think that worked. Thank you. I still can't check in any brand new tapes. I have another tape, that when I did the checkin, I got this message (this is NOT the brand new tape or the orphaned tape I just got checked inthis tape is old): ANR8816E LABEL LIBVOLUME: Volume A00025L5 in library XXX cannot be labeled because it is currently defined in a storage pool or in the volume history file. But when I do a q vol *...it looks like it's being used: A00025L5 LTO_COPY LTO_TAPE1.5 T 19.4 Filling It does not show up when I do a q drm. What does this mean?? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 1:55 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Add overwrite=yes As I said before, this WILL delete any data on the tape. Use with caution. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 12:28 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b
Re: checkin libv command
It's telling me Vol A00025L5 is already present in library x. I don't believe there is a label range. I've looked on the devc and stgpool. Where can I look to see if there's a range defined? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Nick Marouf Sent: Tuesday, December 23, 2014 3:22 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command If the tape in question A00025L5 is part of your offsite pool, it just needs to be checked out of the library and sent offsite until ready to come back. If that tape is part of an internal pool. You need to check it back into the library as private. checkin libv search=y status=private checkl=b waitt=0 voll=A00025L5 DRM is a good check. Making sure you query drm based on how you did the move drm. i.e (q drm volume_name or q drm volume_name s=dbs) It is still not clear why checking/labeling new tapes is not working for you, are the new tape labels a continued extension of the existing labels? Is there a defined label range defined for the library (i.e logical library defined with range A0L5-A000305L5) Hope that helps On Tue, Dec 23, 2014 at 1:02 PM, Jeanne Bruno jbr...@cenhud.com wrote: I think that worked. Thank you. I still can't check in any brand new tapes. I have another tape, that when I did the checkin, I got this message (this is NOT the brand new tape or the orphaned tape I just got checked inthis tape is old): ANR8816E LABEL LIBVOLUME: Volume A00025L5 in library XXX cannot be labeled because it is currently defined in a storage pool or in the volume history file. But when I do a q vol *...it looks like it's being used: A00025L5 LTO_COPY LTO_TAPE1.5 T 19.4 Filling It does not show up when I do a q drm. What does this mean?? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 1:55 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Add overwrite=yes As I said before, this WILL delete any data on the tape. Use with caution. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 12:28 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello.
Re: checkin libv command
That tape may need to be checked in as private so it can continue to be used. I would not re-label that tape. I may be wrong, but I think DRM would only list the tape if it has moved offsite. You may also need to run an audit on the library. Be sure there are not any tapes mounted when you run the audit. audit libr checklabel=Barcode Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 2:02 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command I think that worked. Thank you. I still can't check in any brand new tapes. I have another tape, that when I did the checkin, I got this message (this is NOT the brand new tape or the orphaned tape I just got checked inthis tape is old): ANR8816E LABEL LIBVOLUME: Volume A00025L5 in library XXX cannot be labeled because it is currently defined in a storage pool or in the volume history file. But when I do a q vol *...it looks like it's being used: A00025L5 LTO_COPY LTO_TAPE1.5 T 19.4 Filling It does not show up when I do a q drm. What does this mean?? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 1:55 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Add overwrite=yes As I said before, this WILL delete any data on the tape. Use with caution. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 12:28 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. Yes I have one tape as described below. Private with no last use. And does not show up with a q drm. What's the command to re-label the tape? -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 12:02 PM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command q libv LIBRARY will show all of the tapes in the library. If your tape pools use tapes from scratch then look for a tape that is private with no last use. These are sometimes orphaned tapes. You can verify if they are orphaned by q vol and searching q drm for the tape. When I find an orphan I re-label the tape, but be careful, an error can delete data. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Hello. hhmmm. I tried status=private. Results were the same. I tried: label libv xx search=yes checkin=scratch labels=b volr=A00560L5,A00561L5 same results. Also, the maxscr on all our copy pools are fine. (difference of allowed and used is plenty) I have tried status=bulk in the past, on a tape I had issues with earlier in the year, but that tape is just sitting in the library and no backup process has ever used it. So I'm hesitant to use 'bulk'. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Huebner, Andy Sent: Tuesday, December 23, 2014 10:37 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] checkin libv command Below is the command I use on my virtual L180 libraries which are SCSI libraries. I think the difference is the volume range. I do not know the library you have, but some libraries are partitioned and you have to make sure the tapes are assigned to the correct partition. label libv vlibTSM_4 checkin=scr labelsource=barcode volr=s4,s4 search=y Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeanne Bruno Sent: Tuesday, December 23, 2014 8:39 AM To: ADSM-L@VM.MARIST.EDUmailto:ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] checkin libv command Hello. We are using TSM manager 6.3.3.0. Tape Library is a DS3512. I'm trying to check in some brand new tapes (LTO Ultrium 1.5TB). On the DS3512, I choos the library and insert the tape into the machine. On the command line I use this command: label libv xx search=yes checkin=scratch labels=b overwrite=y My output is this: ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME search=yes checkin=scratch labels=b overwrite=y ANR0984I Process 120 for LABEL LIBVOLUME started in the BACKGROUND at 09:29:14. ANR8799I LABEL LIBVOLUME: Operation for library XX started as process 120. ANR8801I LABEL LIBVOLUME process 120 for library XX completed; 0 volume(s) labeled, 0 volume(s) checked-in. ANR0985I