It works. After the move with the "wherestatu=emp" the four offenders were dropped from the stgpool. Then I checked them in as scr.
Thanks to all who helped.
At 09:23 AM 8/3/2004 -0400, you wrote:
What I found is that if you issued the MOVE MEDIA command against a tape to remove it form the library, then you need to issue the MOVE MEDIA command to bring it back in. Even if it's empty and you put it back in the library. Seems that something internal to the tape volume is set that isn't exposed to any query that this volume is being managed by the MOVE MEDIA. Take to volume back out of the library and it should go to MOUNTABLTNOTINLIB. Then the below command from Bill will move EMPTY tapes (WHERESTATUS=EMPTY). I don't remember if the volume goes scratch right then, or if it goes scratch when you check it back in to the library. But I do remember that if you process a tape with the MOVE MEDIA you need to keep using MOVE MEDIA until you bring it back in to the library or it goes empty/scratch.
Bill Boyer DSS, Inc.
-----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of Bill Dourado Sent: Tuesday, August 03, 2004 4:46 AM To: [EMAIL PROTECTED] Subject: Re: Empty tapes not returning to scratch
Have you tried MOVE MEDIA
MOVE MEDIA tape_label STG=tapepool_name WHERESTATE=MOUNTABLENOTINLIB
Bill
fred johanson <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 02/08/2004 21:56 Please respond to "ADSM: Dist Stor Manager"
To: [EMAIL PROTECTED] cc: Subject: Re: Empty tapes not returning to scratch
Nothing.
At 03:51 PM 8/2/2004 -0500, you wrote: >Is there more information in the activity log about what this return code 14 >is? > >-----Original Message----- >From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of >fred johanson >Sent: Monday, August 02, 2004 3:38 PM >To: [EMAIL PROTECTED] >Subject: Re: Empty tapes not returning to scratch > > >Same: return code=14 on delete. > >Also, volumes have been thru expiration twice. > >At 04:21 PM 8/2/2004 -0400, you wrote: > >What happens if you set the tape ACCESS back to READ/WRITE? > > > >-----Original Message----- > >From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf > >Of fred johanson > >Sent: Monday, August 02, 2004 4:02 PM > >To: [EMAIL PROTECTED] > >Subject: Re: Empty tapes not returning to scratch > > > > > > Volume Name: UC0262 > > State: Mountable in library > >Last Update Date/Time: 02/06/2004 12:31:03 > > Location: > > Storage Pool Name: BACKDESKPOOL > > Automated LibName: UOCLIB > > Volume Status: Empty > > Access: Read-Only > > Last Reference Date: 10/18/2003 14:45:00 > > > > > > > >At 03:58 PM 8/2/2004 -0400, you wrote: > > >do a > > >q media {volume_name} stg={stgpool_name} f=d > > > > > >and post the output. > > > > > > > > > > > >Dale Jolliff > > >Sungard Midrange Storage Administration > > >Office Telephone: (856) 566-5022 > > > > > > > > > > > > > > > > > >fred johanson <[EMAIL PROTECTED]> > > >Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 08/02/2004 > > >03:48 PM Please respond to "ADSM: Dist Stor Manager" > > > > > > > > > To: [EMAIL PROTECTED] > > > cc: > > > Subject: Re: Empty tapes not returning to scratch > > > > > > > > >Server level 5.2.2.5 > > > > > >q med uc0262 > > > > > >UC0262 Mountable in library UOCLIB > > > > > >q vol uc0262 f=d > > > > > > Volume Name: UC0262 > > > Storage Pool Name: BACKDESKPOOL > > > Device Class Name: TAPE > > > Estimated Capacity (MB): 0.0 > > > Scaled Capacity Applied: > > > Pct Util: 0.0 > > > Volume Status: Empty > > > Access: Read-Only > > > Pct. Reclaimable Space: 0.0 > > > Scratch Volume?: Yes > > > In Error State?: No > > > Number of Writable Sides: 1 > > > Number of Times Mounted: 1 > > > Write Pass Number: 1 > > > Approx. Date Last Written: 10/18/2003 14:45:00 > > > Approx. Date Last Read: 10/18/2003 14:12:53 > > > Date Became Pending: > > > Number of Write Errors: 0 > > > Number of Read Errors: 0 > > > Volume Location: Shelf Tape Library > > >Volume is MVS Lanfree Capable : No > > >Last Update by (administrator): FRED > > > Last Update Date/Time: 02/06/2004 12:31:03 > > > > > > > > > > > >tsm: TSM>move data uc0262 > > >ANR2232W This command will move all of the data stored on volume > > >UC0262 to other volumes within the same storage pool; the data will > > >be inaccessible to users until the operation completes. > > > > > >Do you wish to proceed? (Yes (Y)/No (N)) y > > >ANR2209W Volume UC0262 contains no data. > > >ANS8001I Return code 11. > > > > > >tsm: TSM>del vol uc0262 > > >ANR2220W This command will delete volume UC0262 from its storage pool > > >after verifying that the volume contains no data. > > > > > >Do you wish to proceed? (Yes (Y)/No (N)) y > > >ANS8001I Return code 14. > > > > > >tsm: TSM>aud vol uc0262 > > >ANR2310W This command will compare all inventory references to volume > > >UC0262 with the actual data stored on the volume and will report any > > >discrepancies; > > >the data will be inaccessible to users until the operation completes. > > > > > >Do you wish to proceed? (Yes (Y)/No (N)) y > > >ANR2209W Volume UC0262 contains no data. > > > > > >tsm: TSM>upd vol uc0262 acc=dest > > >ANR2212I UPDATE VOLUME: No volumes updated. > > > > > > > > > > > >At 03:32 PM 8/2/2004 -0400, you wrote: > > > >Fred, > > > >Were these tapes originally scratch tapes? Or are they assigned to > > > >the storagepool? > > > > > > > >Posting the output from the commands > > > > > > > > "q vol <tape_volser_here> f=d" > > > >and > > > > "select * from volumes where > > > >volume_name='<tape_volser_here>' > > > > > > > >would help us provide assistance. Also, what sort of > > > >output/response errors did you get when you attempted to "del vol" > > > >or "audit vol"? > > > > > > > >Ted > > > > > > > > > > > > >At 03:21 PM 8/2/2004, you wrote: > > > >>Tried that. > > > >> > > > >> > > > >>At 02:54 PM 8/2/2004 -0400, you wrote: > > > >>>You "moved" them out. "Move" them back. > > > >>>Magic. > > > >>> > > > >>> > > > >>>Dale Jolliff > > > >>>Sungard Midrange Storage Administration > > > >>>Office Telephone: (856) 566-5022 > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>>fred johanson <[EMAIL PROTECTED]> > > > >>>Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> > > > >>>08/02/2004 02:12 PM Please respond to "ADSM: Dist Stor Manager" > > > >>> > > > >>> > > > >>> To: [EMAIL PROTECTED] > > > >>> cc: > > > >>> Subject: Empty tapes not returning to scratch > > > >>> > > > >>> > > > >>>A new variation on an old problem. > > > >>> > > > >>>I've moved a lot of media to the shelf for space reasons. A > > > >>>bonus to using move as opposed to checkout is that when tapes hit > > > >>>empty on the shelf, they > > > >>>do not disappear from the storagepool. I restored 4 such to the tape > > > >>>robot > > > >>>on Friday, checked them into the Library Manager, and updated them to > > > >>>"Mountable in Library", while Pending Reuse is set to 0. And there > > >they > > > >>>sit, and nothing will change the status back to scratch. I've > > > >>>tried > > >"Move > > > >>>Data", "Del vol", "Aud vol", and changing their access to > > > >>>destroyed. Nothing seems to work. > > > >>> > > > >>> > > > >>> > > > >>>Fred Johanson > > > >>>ITSM Administrator > > > >>>University of Chicago > > > >>>773-702-8464 > > > >> > > > >>Fred Johanson > > > >>ITSM Administrator > > > >>University of Chicago > > > >>773-702-8464 > > > > > >Fred Johanson > > >ITSM Administrator > > >University of Chicago > > >773-702-8464 > > > >Fred Johanson > >ITSM Administrator > >University of Chicago > >773-702-8464 > >Fred Johanson >ITSM Administrator >University of Chicago >773-702-8464
Fred Johanson ITSM Administrator University of Chicago 773-702-8464
Fred Johanson ITSM Administrator University of Chicago 773-702-8464