[Veritas-bu] Mismatch between bpmedialist and vmquery
2002-04-30 11:49:18
You may also have to do a deassignbyid with vmquery too.
<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.consulting.datastaff.com
847 413 1144
---------------------------------------
NBU-LSERV AT datastaff DOT com - Adv. Scripting
http://www.xbpadm-commands.com
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Rob Worman
Sent: Monday, April 29, 2002 8:35 PM
To: Donaldson, Mark; Veritasbu (E-mail)
Subject: Re: [Veritas-bu] Mismatch between bpmedialist and vmquery
for some reason (lost mediaDB file from media server, decommissioned
media server without doing a "bpmedia -oldserver -newserver, etc) the
mediaID shown below does not have a mediaDB entry, only a volDB entry.
NetBackup won't automatically deassign such a tape. (if you check your
"all log entries" you will see complaints...) Run
"bpexpdate -ev <MEDIAID> -justmedia -d 0" to fix.
rob
--- "Donaldson, Mark" <Mark.Donaldson AT experianems DOT com> wrote:
> I've got a mismatch I don't understand. The tape below is assigned
> per
> vmquery but but has no images on it according to the images-on-media
> and
> mlist report. Shouldn't NB have automatically deassigned this when
> the last
> image was expired? The tape is not frozen or suspended.
>
> I've got at least a dozen tapes like this.
>
> -Mark
>
> $ vmquery -m 000072
>
============================================================================
> ====
> media ID: 000072
> media type: DLT cartridge tape (11)
> barcode: 000072
> description: DLT4
> volume pool: eepn_arc (15)
> robot type: TLD - Tape Library DLT (8)
> robot number: 0
> robot slot: 105
> robot host: backup00
> volume group: Overland00
> created: Fri Apr 06 16:05:31 2001
> assigned: Wed Sep 19 03:20:10 2001
> last mounted: Sun Aug 19 02:26:39 2001
> first mount: Thu May 03 14:58:22 2001
> expiration date: ---
> number of mounts: 9
> max mounts allowed: ---
> status: 0x0
>
============================================================================
> ====
>
> $ bpimmedia -mediaid 000072
> no entity was found
>
> $ bpmedialist -mlist -ev 000072
> requested media id was not found in NB media database and/or MM
> volume
> database
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|