Very strange, if there is no JobID associated it with the job activity
monitor, try:
1. Cycling services.
2. There are actually files where NetBackup keeps track of tapes in the
activity monitor, sometimes when things get stuck you need to bp.kill_all
and actually manually move/remove them and start services back up.
Not sure if this will help you with your specific issue though.
Justin.
On Wed, 28 Mar 2007, Brooks, Jason wrote:
> After Justin gave me the suggestion of altering the command line, I
> started getting somewhere. But now I'm stuck again. NBU thinks these
> two tapes are in use. The EMM knows about the tapes, and per that
> information, they can actually be reused. I tried bpexpdate on them,
> failed with this:
>
> requested media id is in use, cannot process request
>
> So, I started digging with google. Came across a problem from the
> archives, posted by Richard Mansell, April 6, 2006. He had tried
> similar things, and finally a bpmedialist -mcontents -m 000024 -L -host
> media1 (mine). Ran it, got the following in Activity Monitor:
>
> 3/28/2007 10:59:32 AM - awaiting resource 000024 Reason: Media is in
> use., Media Server: N/A, Robot Number: 0, Robot Type: NONE, Media ID:
> 000024, Drive Name: N/A, Volume Pool: N/A, Storage Unit: N/A, Drive Scan
> Host: N/A
>
> Robtest shows that there are no tapes in the drives. Both tapes show
> this behavior. How can I make NBU think that there no longer in use?
>
> BTW - these are not catalog tape but from my diff pool.
>
> Jason
>
>> -----Original Message-----
>> From: veritas-bu-bounces at mailman.eng.auburn.edu
>> [mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf
>> Of Brooks, Jason
>> Sent: Wednesday, March 28, 2007 9:18 AM
>> To: Justin Piszcz
>> Cc: veritas-bu at mailman.eng.auburn.edu
>> Subject: Re: [Veritas-bu] Migrating Media Servers
>>
>> Well, that gave me more to work with. Leaving off the old
>> server gave me the following error:
>>
>> "requested media id was not found in the EMM database"
>>
>> So, a little more digging.
>>
>> Thanks,
>> Jason
>>
>>> -----Original Message-----
>>> From: veritas-bu-bounces at mailman.eng.auburn.edu
>>> [mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On
>> Behalf Of Justin
>>> Piszcz
>>> Sent: Wednesday, March 28, 2007 9:05 AM
>>> To: Brooks, Jason
>>> Cc: veritas-bu at mailman.eng.auburn.edu
>>> Subject: Re: [Veritas-bu] Migrating Media Servers
>>>
>>> Wrong syntax?
>>>
>>> Try this:
>>>
>>> bpmedia -m 000024 -movedb -newserver new-media-server -oldserver
>>> old-server
>>>
>>> I do not believe the oldserver is needed, just including it
>> for full
>>> documentation purposes.
>>>
>>> Justin.
>>>
>>> On Wed, 28 Mar 2007, Brooks, Jason wrote:
>>>
>>>> I've been in the process of migrating a media server for
>>> the past week
>>>> or so. I've used the guide in Appendix A of the NBU
>> Media Manager
>>>> System Administrator's Guide for Windows without any significant
>>>> problem. However, I do have two recalcitrant tapes that won't
>>>> reassign to the new media server. Here's what's happening:
>>>>
>>>> 1) Look for tapes assigned to the old server:
>>>> D:\Program
>>> Files\VERITAS\NetBackup\bin\admincmd>bpmedialist.exe -mlist
>>>> -l -h media1
>>>> 000024 *NULL* 1 20 1141664428 1142876367 1205774540 0
>> 113749351 102
>>>> 102 10 4 0 0
>>>> 1024 0 1777569 0 0 0 0 0 0 0
>>>> 000072 *NULL* 1 20 1142060157 1142879077 1205736395 0
>>> 45324144 46 46
>>>> 10
>>>> 4 0 0 10
>>>> 24 0 708298 0 0 0 0 0 0 0
>>>>
>>>> Good. Two tapes to move.
>>>> 2) Try the move:
>>>> D:\Program Files\VERITAS\NetBackup\bin\admincmd>bpmedia
>> -movedb -ev
>>>> 000024 -oldserver media1 -newserver media2 invalid error number
>>>>
>>>> Same happens for tape 000072. All other tapes relocated without
>>>> incident. And I've checked to make sure these tapes
>>> weren't frozen -
>>>> they're active.
>>>>
>>>> Suggestions?
>>>>
>>>> Thanks,
>>>> Jason
>>>>
>>>> ------------
>>>> Jason Brooks
>>>> Computer Systems Engineer
>>>> IITS - Longwood University
>>>> voice - (434) 395-2034
>>>> fax - (434) 395-2035
>>>> mailto:<brooksje at longwood.edu>
>>>>
>>>> _______________________________________________
>>>> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
>>>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>>>
>>> _______________________________________________
>>> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
>>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>>
>>
>> _______________________________________________
>> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>
>
> _______________________________________________
> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
|