08-27-2012 12:30 AM
Hi All,
Can any body explain field POOLNUM in the below command what exactly i wanna give there if i run that command?
bptm -makedbentry -m A00001 -den hcart -poolnum 1
Thanks
Nayab
Solved! Go to Solution.
08-27-2012 12:44 AM
To answer your question however, poolnum does nothing, it is ignored, even though it is required to run the command.
08-27-2012 12:44 AM
To answer your question however, poolnum does nothing, it is ignored, even though it is required to run the command.
08-27-2012 12:47 AM
Please note, DO NOT run this comamnd unless instructed to do so by support.
Even this is very unlikely, as we use NBCCR which may run this command, but the follows up by running 'manual' SQL commands to tidy up the media DB entry for whatever tape.
bptm -makedbentry is a very very basic fix, and should not be used on it's own anyway, NBCCR does a much better job.
Martin
08-27-2012 01:03 AM
Why are you running this ?
It is undocumented and 'unsupported' - it should be run ONLY on the advice of Technical Support.
Running this may will create catalog inconsistancies.
08-27-2012 01:15 AM
Thanks a lot for all instructions i was about to run the command but thought to confirm with you people
Now why i am running this command is i am not able to expire tapes in my environment this is not today i have been facing this from past 3 to 4 days and i wanna know what exactly happening , when i run the command i am getting the error as below.
> bpexpdate -m mediaid -d 0
requested media id is not assigned to this host in the emm database
Please help me to sort this out permanently
Thanks
Nayab
08-27-2012 01:51 AM
hello,
try this
bpexpdate -m mediaid -d 0 -host [media-owner-host] -force
08-27-2012 01:59 AM
Show us output of the following for one of the problematic tapes:
nbemmcmd -listmedia -mediaid <media-id>
08-27-2012 02:11 AM
> bpexpdate -m mediaid -d 0
requested media id is not assigned to this host in the emm database
The reason you cannot expire the tape, is because it is not assigned, it is not in the media DB. It has either never contained images, or, it has contained images and has already been expired.
Why are you trying to expire it - what is telling you it contains images ?
As marianne suggested, please supply the nbemmcmd command output.
Martin