cancel
Showing results for 
Search instead for 
Did you mean: 

Re Using Tapes

LeeClayton
Level 5
I've read all the posts but still not resolved my problem, I've got two tapes (not catalog), that have a blank expiration date which i want to re-use but although their expiration date has passed they still show in a working volume pool instead of moving to the SCRATCH pool, I've even changed the expiration date to a few days ago hoping when it passed it will move to SCRATCH but no luck, I've tried deleting from the pool but i just get an error about no server. Is there any heavy method to get the tape to SCRATCH so I can re-use it?
28 REPLIES 28

rj_nbu
Level 6
Employee Accredited Certified
database system error?

requested media id is not assigned to this host in the emm database ?


LeeClayton
Level 5
Whe I run bpexpdate -deassignempty -m nh1007 on my master server I get the error below

No media matching criteria were found to be deassigned.
no entity was found

MOHAMED_PATEL
Level 5
Partner Accredited Certified
Try selecting media and change media owner first to master server.... and then expire/deassign media.

Stumpr2
Level 6
1. use like ticker tape for a parade
2. stick under wobbly table to stablize it
3. use as clay pigeon for skeet shooting
4. fill up bookcase shelf to keep books from flopping over
5. hockey puck
6. table coaster
7. use with gorilla glue to make artistic statues
8. step on to reach high places
9. fake blackmail evidence
10. give 'em away as Christmas gifts to those unpopular cousins or inlaws

J_H_Is_gone
Level 6
if you know there is nothing on the tape you want try this

first find out what number that pool is - go to volume pools ( the screen that shows the summary) and see what number it is.  or command vmpool -list_all

then try this command

vmquery -deassignbyid <mediaid> <pool#> 0  
                                                                              (thats a zero)

sunbird
Level 4
Lee,

The issue is shown in the "nbemmcmd" output, the "Last Write Host" field is "NONE".  That is the problem, it is suppose to be a Media Server name.

It looks like you have confirmed, not frozen, no images, and not in the merge table. If that it correct, and only if that is correct, use the "bptm" command to add the Master Server to the "Last Write Host", and then expire with the "bpexpdate" command.

On the Master Server

cd /usr/openv/netbackup/bin

./bptm -makedbentry -m NH1007 -den hcart3 -poolnum 2


cd /usr/openv/netbackup/bin/admincmd

./nbemmcmd -listmedia -mediaid NH1007

(The Last Write Host field should be filled in)


./bpexpdate -m NH1007 -d 0 -force


That will do it.

sunbird
Level 4
<further up>

Will_Restore
Level 6
11. donate them to the Nixon Library

diogo-rio
Level 3
# bpexpdate -deassignempty -m BR2504
Search for empty media that meet the following criteria:
Media id: BR2504

Continue? y/n (n)y
Could not obtain report from host host1(ndmp), client connection refused
Could not obtain report from host host2(ndmp), client connection refused
The following empty media will be deassigned:
Host:MASTER Media-id:BR2504
Are you SURE you want to continue y/n (n)?y
Could not deassign media-id BR2504, host MASTER: database system error (220)
Deassigned 0 out of 463 media-ids found.
database system error