02-13-2009 06:46 AM
Hi,
I am using veritas 6.5 netbackup, I am facing a problem that I am unable to see the media property via Bpmedialist command getting the message "requested media id was not found in NB media database and/or MM volume database" but I can see the media through the netbackup console that some Data had been written on that media
Solved! Go to Solution.
02-16-2009 04:59 AM
Rohit,
The "vmquery" output listed the "Volume" expiration date, which tells NetBackup to not "mount" that tape fro a back after that date12/19/2009 (upcoming December). It has nothing to do with any images that may or may not reside on the media. You can easily remove it... ./vmchange -exp 0 -m <media_id> ...again, it does not affect any images, just when it can be mounted.
The "bpmedialist" shows when the last image on the tape will expire: 03/07/2009. This media should be listed under a specific "Media Server" which you will need for the "bpexpdate" command further down. I am guessing the the "bpimmedia" command listed images.
So, if you want to expire all of the images on it, which should change it's status from "FULL/MPX" to "AVAIALBLE":
From MASTER Server:
= = = = = = = = = = =
cd /usr/openv/netbackup/bin
./bpexpdate -m <media_id> -d 0 -host <Media_Server>
("y" to confirm)
Best of Luck -- sunbird
02-13-2009 01:05 PM
Rohit,
From Master Server:
= = = = = = = = = =
/usr/openv/volmgr/bin/vmquery -m <media_id>
(does it have an "Assigned date"?)
/usr/openv/netbackup/bin/admincmd/bpimmedia -U -mediaid <media_id>
(does it report images?)
/usr/openv/netbackup/bin/admincmd/bpmedialist -U -summary
(is the media id listed on any of the media servers?)
/usr/openv/netbackup/bin/goodies/available_media
(what is the "status" <last field on right> of the media id? )
-sunbird
02-13-2009 01:29 PM
The commands that sunbird post query to different DB's it can happen that a media is under the volDB but not on the mediaDB and you will get this kind of errors.
02-14-2009 05:30 AM
Hi Sunbird
While running the Vmquery command the expiration date which it shows 12\19\2009 this date I can see from my netbackup console media property
but while running the bpmedialist -U -summary command it shows a differnt expiration date 03\07\2009 this date I can see from my available media command in goddies and the status its shows FULLMPX
Now I am totally confuse because only this media is showing two differnt expiration date .I have check with other media also.
02-14-2009 05:35 AM
Hi Omar,
Could you please suggest me what I have to do to remove this kind of problem
02-16-2009 04:59 AM
Rohit,
The "vmquery" output listed the "Volume" expiration date, which tells NetBackup to not "mount" that tape fro a back after that date12/19/2009 (upcoming December). It has nothing to do with any images that may or may not reside on the media. You can easily remove it... ./vmchange -exp 0 -m <media_id> ...again, it does not affect any images, just when it can be mounted.
The "bpmedialist" shows when the last image on the tape will expire: 03/07/2009. This media should be listed under a specific "Media Server" which you will need for the "bpexpdate" command further down. I am guessing the the "bpimmedia" command listed images.
So, if you want to expire all of the images on it, which should change it's status from "FULL/MPX" to "AVAIALBLE":
From MASTER Server:
= = = = = = = = = = =
cd /usr/openv/netbackup/bin
./bpexpdate -m <media_id> -d 0 -host <Media_Server>
("y" to confirm)
Best of Luck -- sunbird
02-16-2009 07:57 AM
is the configuration having single media sever or mutiple media server. If multiple then mention media server also
bpmedialist - m <media id > -h <media server>
02-18-2009 11:32 AM
Hi Sunbird
Thanks for your suggestion