Veritas-bu

Re: [Veritas-bu] Expired media not returning to SCRATCH & Vault

2009-09-15 16:25:40
Subject: Re: [Veritas-bu] Expired media not returning to SCRATCH & Vault
From: Tim Hoke <thoke AT northpeak DOT org>
To: Jorge Fábregas <jorge.fabregas AT gmail DOT com>
Date: Tue, 15 Sep 2009 15:22:33 -0500
I suspect that there's something else at the root... (and not likely vault related)

When a tape is suspended, it won't be used for any write operations until it expires.  When all the images expire, cleanup operations will run and it should become un-suspended and made available for use.  This differs from frozen in that frozen media require manual intervention (even after all images expire).

So, the first course of action is to determine why the media isn't becoming expired.
1. When your cleanup jobs run, what is the exit status code? Zero or something else?
- You can initiate a cleanup job by running 'bpimage -cleanup'
2. If you run bpexpdate -deassignempty, what happens?
3. What happens when you un-suspend the media? (bpmedia -unsuspend -m <string> -v [-h <hostname>])
4. In either case above, what does all log entries report tell you? How about any relevant logs? (e.g. bpdbm)
5. What are the sample outputs of vmquery and nbemmcmd against the media?
vmquery -m <string>
nbemmcmd -listmedia -mediaid <string>
Where <string> is the media id in question
Don't forget to also provide bpmedialist and bpimmedia too.

Now, if all of that is working (which I'm guessing you'll find isn't), you come back to the question of why isn't the media going to scratch.  Well, the previous pool needs to have been scratch.  You can see this in the nbemmcmd requested above.

-Tim

P.S. Do you have a support contract?  Now would be a good time to call... hint, hint, nudge, nudge

2009/9/15 Jorge Fábregas <jorge.fabregas AT gmail DOT com>
On Tuesday 15 September 2009 03:52:26 pm Jorge Fábregas wrote:
> I just did that (rich-clicked it:  unsuspend) and then later ran
> bpimage -cleanup but the tape is still on the vault volume pool (it won't
> go to Scratch as I expected).

When I manually try to expire the tape I get this error:

----------------------------------------------

#bpexpdate -m 000248 -d 0  -force

database system error


---------------------------------------------

I'm doing some Google search..a couple of persons with sames issues.  I will
report back.

Jorge
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu