ADSM-L

Re: delete offsite volume - did not go to a pending status

2005-07-29 04:44:26
Subject: Re: delete offsite volume - did not go to a pending status
From: Maurice van 't Loo <tsm AT COMPARECOMPUTERS DOT NL>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 29 Jul 2005 10:44:10 +0200
Update the access to readwrite or readonly first, than it will be deleted.
So also "help update volume"

update vol 006273 access=reado

The volume can't be deleted becaurse it's access=offline, like the actlog
said.

And after a delete volume the volume doesn't go to pending, it's deleted, so
it completely disappears. Only if the volume is in the library, you can find
the volume back with "q libv". If it isn't in the library, the volume is
gone.

Regards,
Maurice

----- Original Message -----
From: "T. Lists" <tracylists AT YAHOO DOT COM>
To: <ADSM-L AT VM.MARIST DOT EDU>
Sent: Thursday, July 28, 2005 8:57 PM
Subject: [ADSM-L] delete offsite volume - did not go to a pending status


Hey all -

I've been doing a little cleanup of some offsite tapes
- long story - but bascially I'm doing some "delete
volume <volid> discard=yes".  Ran one today on a tape,
and for some reason the tape did not go to a pending
status.  It's still at a full status.  I did get all
the other messages about it being empty and all that
good stuff - just no pending status.  The tape IS
empty, and I got an error when I tried delete volume
on it again.

Any ideas?

Tracy
-------------------------------------------------

07/28/05   13:20:04  ANR0984I Process 1197 for DELETE
  VOLUME (DISCARD DATA) started in the BACKGROUND at
  13:20:04. (SESSION: 14425, PROCESS: 1197)
07/28/05   13:20:04  ANR2222I Discard Data process
  started for volume 006273 (process ID 1197).
 (SESSION: 14425, PROCESS: 1197)
07/28/05   13:20:08  ANR1423W Scratch volume 006273
  is empty but will not be  deleted - volume access
  mode is "offsite". (SESSION: 14425, PROCESS:
1197)07/28/05   13:20:08  ANR0986I Process 1197 for
DELETE
  VOLUME (DISCARD DATA) running in the BACKGROUND
  processed 2435 items for a total of 53,160,269,554
  bytes with a completion state of  SUCCESS at
  13:20:08. (SESSION: 14425, PROCESS: 1197)

tsm: TSM1>q vol 006273 f=d

                   Volume Name: 006273
             Storage Pool Name: COPYPOOL2
             Device Class Name: LTO
       Estimated Capacity (MB): 158,647.4
       Scaled Capacity Applied:
                      Pct Util: 0.0
                 Volume Status: Full
                        Access: Offsite
        Pct. Reclaimable Space: 100.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: 07/20/04   16:00:16
        Approx. Date Last Read: 07/20/04   13:20:20
           Date Became Pending:
        Number of Write Errors: 0
         Number of Read Errors: 0
               Volume Location: VAULT
Volume is MVS Lanfree Capable : No


tsm: TSM1>q content 006273
ANR2034E QUERY CONTENT: No match found using this
criteria.
ANS8001I Return code 11.

2nd attempt at delete volume:
tsm: TSM1>del vol 006273 discard=yes
ANR2221W This command will result in the deletion of
all inventory references to the data on volume 006273,
thereby rendering the data unrecoverable.

Do you wish to proceed? (Yes (Y)/No (N)) y
ANS8001I Return code 14.

tsm: TSM1>q drmedia 006273

Volume Name      State      Last Update      Automated
                            Date/Time        LibName
-----------      -----      -----------      ---------
006273           Vault      07/21/04  18:00:01

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com