03-15-2012 07:13 AM
Hi,
i'm getting an error while executing bpmedialist on several tapes, when i use vmquery -m Z282L3, there is no error:
[root@tapemaster sbin]# bpmedialist -m Z282L3
requested media id was not found in the EMM database
i have this on a lot of tapes
i can enter them again with:
bptm -makedbentry -m Z282L3 -den hcart3 -poolnum 4
this remains ok for a few days but after that they disappear from the emm again .
this is a netbackup 6.0MP4
does anyone know why these tapes are getting automagically deleted from the emm?
kr
Dimitri
Solved! Go to Solution.
03-16-2012 01:44 AM
bpmedialist will ony return somthing if the media is in use (contain active backup).
bpimagelist on a free (scratch) tape will result "requested media id is not assigned to this host in the EMM database"
03-15-2012 07:23 AM
What is the reason for doing 'bptm -makedbentry'?
Please show us output of 'vmquery -m <media-id>' for one of these tapes.
03-15-2012 07:44 AM
Further to Mariannes excellent post ...
Why are you adding the tapes to the media database - they will NOT be usable ???
Here is an example :
03-15-2012 07:49 AM
ok i didn't know about this cleanup job
and yes i unfroze them.
but why did these tapes disappear from the emm db in the first place?
[root@tapemaster sbin]# vmquery -m Z282L3
================================================================================
media ID: Z282L3
media type: 1/2" cartridge tape 3 (24)
barcode: KYZ282L3
media description: Added by Media Manager
volume pool: Safe_Tapes (5)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 3
robot control host: tapemaster
volume group: 000_00000_TLD
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
vault container id: -
created: Fri Apr 21 12:46:19 2006
assigned: ---
last mounted: Sun Jan 8 03:30:00 2012
first mount: Fri Apr 28 09:33:37 2006
expiration date: ---
number of mounts: 4
max mounts allowed: ---
================================================================================
03-15-2012 08:01 AM
Either the images expied, or, bpexpdate was manually run with the -justmedia option.
We need to see :
'vmquery -m <media-id>'
(that is, does NBU think there are images on the tape).
If there are images on the tape (that is vmquery returns image info, then I recommend nbcc via support, as this is a neater fix).
If vmquery doesn't return anything, then bptm -makedbentry is pointtless, and your only option is to import the tape.
Martin
03-16-2012 01:44 AM
bpmedialist will ony return somthing if the media is in use (contain active backup).
bpimagelist on a free (scratch) tape will result "requested media id is not assigned to this host in the EMM database"