cancel
Showing results for 
Search instead for 
Did you mean: 

Could not deassign media due to Media Manager error

niranjana_R
Level 4
What has happened, is that the media is in the volume database (the 
database that vmquery reports on), but the tape isn't in any of the
media databases on any of your media servers. It's orphaned, in a sense.

Let me know , how to expire these tapes and re-use for backups.

When i try bpexpdate i am getting this error.(Could not deassign media due to Media Manager error)

Can anyone help me on this , as i have 25 media getting the same error.which i need to reuse for the backups.

Thanx
Niranjana.R
6 REPLIES 6

Rakesh_Khandelw
Level 6
Which version of NBU you are on?

If it's 6.0, you may have to delete the media from DB using nbemmcmd command.
If it's 5.x, you should be able to use vmquery -deassignbyid

niranjana_R
Level 4
Hi,

Thanx for the reply.I am using 5.1 with MP5 when i run vmquery -deassignbyid i am getting the error

bash-2.03# vmquery -deassignbyid 001368 -d 0
Could not deassign media ID 001368: volume is not in the None pool (94)

Can you help me out from this.

Thanx
Niranjana.R

Bill_Robbins
Not applicable
determine which volume pool the media resides:
vmquery -m 001368
================================================================================
barcode:                   001368
media description:    Added by Media Manager
volume pool:             NetBackup (1)
...
 
then deassign it:
vmquery -deassignbyid 001368  <pool number>  # 1 in this example>
 
 

DavidParker
Level 6
I have found this tech note of use when having problems with media expiring.
You should check your log files to see if you are getting media manager error messages.

http://support.veritas.com/docs/247898
Media Manager error 94: "Volume not in specified pool" - scenarios and solutions

niranjana_R
Level 4
Thanx Bill,

I am was able to deassign the media.It helped me .


Thanx
Niranjana.R

niranjana_R
Level 4
Hi David,

Its really good document and it helped me alot.

Thanx
Niranjana.R