Skip to main content
Answer

Query to return list of Bad Orphaned Media

  • September 12, 2022
  • 2 replies
  • 77 views

Forum|alt.badge.img+10

I need help to produce a query to return a list of Orphaned Media (LTO tapes) with condition equals to Bad/Good. Which database and which table should I use? 

 

 

 

Best answer by Jason Duncan

Eduardo Braga it should be in the MMMedia table.  I would have to check further for the flags, but if you run select * from mmmedia and look for the orphaned barcodes you have, and some of properties columns, it should be clear.

2 replies

Mike Struening
Vaulter
Forum|alt.badge.img+23

There’s a CommCell view that contains this:

https://documentation.commvault.com/2022e/expert/5540_commcellmediainfo_01.html

I’m not sure which table contains it, though you’d need to join a few to get all of the details whereas this view gives you everything in a detailed package.


Forum|alt.badge.img+6
  • Vaulter
  • Answer
  • September 12, 2022

Eduardo Braga it should be in the MMMedia table.  I would have to check further for the flags, but if you run select * from mmmedia and look for the orphaned barcodes you have, and some of properties columns, it should be clear.