cancel
Showing results for 
Search instead for 
Did you mean: 

BPTM COMMAND USAGE

Nayab_Rasool
Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

To answer your question however, poolnum does nothing, it is ignored, even though it is required to run the command.

 

View solution in original post

7 REPLIES 7

mph999
Level 6
Employee Accredited

To answer your question however, poolnum does nothing, it is ignored, even though it is required to run the command.

 

mph999
Level 6
Employee Accredited

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

mph999
Level 6
Employee Accredited

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.

 

Nayab_Rasool
Level 6

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

 

 

Nas_lGidiyor
Level 4

hello,

 

try this

bpexpdate -m mediaid -d 0 -host [media-owner-host] -force

 

Marianne
Level 6
Partner    VIP    Accredited Certified

Show us output of the following for one of the problematic tapes:

nbemmcmd -listmedia -mediaid <media-id>

mph999
Level 6
Employee Accredited

 

> 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