Re: moved media pending-problem
1998-12-11 14:41:29
There apparently was a change in 3.1.2.0 so that pending/empty volumes are
handled differently than previously.
I had a similar problem. I changed the reuse value to zero for the storage
pool. After the tape goes from pending to empty (during expiration?), try:
move media <volume> stg=<stgpool> wherestate=mountablenotinlib
wherestatus=empty
Then do the delete volume. The volume is then returned to scratch.
> ----------
> From: Tom Tann{s[SMTP:tom.tannas AT usit.uio DOT no]
> Sent: Friday, December 11, 1998 11:41 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: moved media pending-problem
>
> One tape-volume previously moved to an overflow-location was emptied by
> file-expiration today.
> The volume status was updated to pending.
> I wanted to return the volume to scratch immideatly.
> The first attempt on a delete volume returned
>
> ANR1425W Scratch volume BCK558 is empty but will not be
> deleted - volume state is "mountablenotinlib".
>
> Which was correct, because the volume was at the overflow-location.
>
> I then checked the volume back into the library.
>
> ANR2017I Administrator TOM issued command: CHECKIN libvol
> 3494 BCK558 status=private devt=359
> ANR8427I CHECKIN LIBVOLUME for volume BCK558 in library
> 3494 completed successfully.
>
> However, the delete volume still fails with the same ANR1425W.
>
> A q media on the volume now show the state as montableinlib.
>
> But a show volume on the volume still report the overflow-location as
> location.
>
> I manually update the volume-location to "".
>
> But still, a delete volume results in ANR1425W...
> And, adsm> dele vol BCK558
> ANR2220W This command will delete volume BCK558 from its storage
> pool after verifying that the volume contains no data.
> Do you wish to proceed? (Yes/No) yes
> ANS5102I Return code 14.
>
> ANR2307E No help text could be found for this message: 5102.....
>
> -----------------------------------
>
> adsm> q media BCK558 stg=bck_col_tap f=d
>
> Volume Name: BCK558
> State: Mountable in library
> Last Update Date/Time: 10/13/98 16:07:52
> Location:
> Storage Pool Name: BCK_COL_TAP
> Automated LibName: 3494
> Volume Status: Pending
> Access: Read/Write
> Last Reference Date: 10/28/97 21:02:44
>
> adsm> q volume BCK558 f=d
>
> Volume Name: BCK558
> Storage Pool Name: BCK_COL_TAP
> Device Class Name: BCKTAPE
> Estimated Capacity (MB): 0.0
> Pct Util: 0.0
> Volume Status: Pending
> Access: Read/Write
> Pct. Reclaimable Space: 0.0
> Scratch Volume?: Yes
> In Error State?: No
> Number of Writable Sides: 1
> Number of Times Mounted: 7
> Write Pass Number: 1
> Approx. Date Last Written: 10/28/97 21:02:44
> Approx. Date Last Read: 10/28/97 04:47:09
> Date Became Pending: 12/11/98 02:24:48
> Number of Write Errors: 0
> Number of Read Errors: 0
> Volume Location:
> Last Update by (administrator): TOM
> Last Update Date/Time: 12/11/98 14:49:47
>
> -----------------------------------
>
> Server is AIX-RS/6000 - Version 3, Release 1, Level 2.0
>
>
>
> Anyone seen this before? Any hints/suggestions would be appreciated..
>
> Tom
>
|
|
|