Veritas-bu

[Veritas-bu] deassign "Netbackup Media" ?

2007-10-01 12:03:46
Subject: [Veritas-bu] deassign "Netbackup Media" ?
From: "Martin, Jonathan" <JMARTI05 AT intersil DOT com>
To: <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Mon, 1 Oct 2007 11:45:11 -0400
I've got a short stack of 5 media with no images on them that will not revert to the scratch pool / expire.  When I try to vmquery -deassignbyid I get the following:

De-assign media by ID is not allowed for NetBackup media.
invalid media ID (8)
 
These media are not in the "netbackup" pool or is this error assuming they are catalog backup tapes? (They are not.)
 
Here's the vmquery
 
media ID:              IT0284
media type:            1/2" cartridge tape 3 (24)
barcode:               IT0284L3
media description:     ---
volume pool:           Offsite-58 (5)
robot type:            NONE - Not Robotic (0)
volume group:          ---
vault name:            ---
vault sent date:       ---
vault return date:     ---
vault slot:            ---
vault session id:      ---
vault container id:    -
created:               1/26/2007 2:42:58 PM
assigned:              7/18/2007 5:15:10 PM
last mounted:          7/18/2007 5:15:58 PM
first mount:           1/30/2007 4:53:04 AM
expiration date:       ---
number of mounts:      6
max mounts allowed:    ---
status:                0x0
 
Ideas?
 
Someone mentioned a Netbackup Database consitency check tool?  Do I need to open a ticket and request that?
 
-Jonathan
 


From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Tim Hoke
Sent: Monday, October 01, 2007 9:20 AM
To: bobbyrjw AT comcast DOT net
Cc: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Change retention in all tapes in a policy

You're also just changing a reference in the imageDB.  Once your image/tape cleanup runs, the images will be removed and the tapes will be moved to scratch if they are now empty and actually came from scratch.

HTH
-Tim

On 10/1/07, Bobby Williams <bobbyrjw AT comcast DOT net> wrote:
You are changing the retention based on the policy.  You may have backups
from other policies on the tape with the 2 year retention.

You may also want to ensure that the tapes "came" from the scratch pool.
They may be showing as not assigned in a pool other than scratch.






Bobby Williams
2205 Peterson Drive
Chattanooga, Tennessee  37421
423-296-8200

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu ] On Behalf Of osonder
Sent: Monday, October 01, 2007 8:37 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Change retention in all tapes in a policy


Hello

I have a policy with name Users. I now want to change retention to all tapes
in this policy from 2, to 1 year. (I have a custom retention for 2 years as
retention level 6)

I used the command:
bpexpdate -policy Users -recalculate -ret 8

Then I get a warning:
Are you SURE you want to recalculate expiration dates on all images that
meet the following criteria:
policy       Users
retention will be changed to 8(1 year)

Continue?(y/n)

I answers Yes, and the system seems to process for some minutes.

After this I check if this have moved tapes to Scratch, but no. Beacuse this
should have realeased a lot of tapes, and moved it to scratch pool.

Is it something I missing here? Do I have to manually change retention on
every tape?

+----------------------------------------------------------------------
|This was sent by oson AT fredrikstad.kommune DOT no via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
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

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