Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"found no images or media matching" but the tape is in the robot

Status
Not open for further replies.

Dan173

IS-IT--Management
Jul 7, 2003
2
CH
hi

we use netbackup 3.2 (unix) and a tape library.

we have a pool called "clones". the pool has several physical tapes but only 3 media-ids. this pool is used to duplicate the backups and we put those duplicate tapes in a bank box. media id 1 should always be used for daily copies, media id 2 for weekly and media id 3 for monthly duplicates.

a script freezes (bpmedia -freeze -ev mediaid) the other 2 tapes, so that only the proper one should be available for the copy (bpduplicate ....) and after that bpmedia -unfreez -ev mediaid.

Here is my problem: the monthly duplication didnt work. i tried to start it manualy. i get following message: found no images or media matching the selection criteria.

if i check with the netbackup gui the robot inventory i see, that a tape with media id 3 is in it (i let the inventory run several times). but when i check with the netbackup gui the media report it doesnt show me the tape there. if i check with the available_media script, it shows me that the correct tape is available.

i removed the tape from the robot, runed inventory, put the tape back in the robot, runed inventory again.

i used vmquery -assign ... , didnt help, vmquery -deassign , deleted the tape from the pool ...

nothing helped, all day long i tried to get this to work but netbackup just didnt want to use media id 3.

one day later i come to the office, check the logs, and realize that the daily duplicat, that should have been made to media id 1, was made to media id 3!!

maybe should i ask a priest to do an exorzism? (kidding)

any help is appreciateed. thanks.
 
oh, first problem is solved:
the message "found no images or media matching the selection criteria" doesnt mean, that there is no free tape to make the duplicate to, as i thought. it means that there are no "original" backups to duplicate. the bpduplicate command uses a parameter called -hoursago. And this time was set shorter then the latest original backups was made.

but i still have the second problem:
the duplication skript is set up like this:

# Deleting CDR233 from the Database to reuse the tape as an empty one
bpexpdate -ev CDR233 -d 0 -force
# For real (monthly_full is the schedule name for all monthly fullbackups)
bpmedia -freeze -ev CDR231
bpmedia -freeze -ev CDR232
bpduplicate -dstunit L1000_library -sl monthly_full_safe -dp clones -hoursago 264 -L $LOGFILE
bpmedia -unfreeze -ev CDR231
bpmedia -unfreeze -ev CDR232

since mediaid 1 (CDR231) and mediaid 2 (CDR232) are frozen, the duplicate should only be made to mediaid 3 (CDR233). but thats not reliable working.

any ideas? thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top