Veritas-bu

[Veritas-bu] Finding error types

2001-05-14 15:55:23
Subject: [Veritas-bu] Finding error types
From: ravi.channavajhala AT csfb DOT com (Ravi Channavajhala)
Date: Mon, 14 May 2001 15:55:23 -0400 (EDT)
/usr/openv/netbackup/bin/goodies/bperrcode, parse the output
with some sort regular expression stuff, a primitive example

#./bperrcode | grep -i media
52 timed out waiting for media manager to mount volume
65 client timed out waiting for the continue message from the media
manager
80 Media Manager device daemon (ltid) is not active
81 Media Manager volume daemon (vmd) is not active
82 media manager killed by signal
83 media open error
84 media write error
85 media read error
86 media position error
87 media close error
90 media manager received no data for backup image

and so on...

>I know there's documentation on the status codes from bperror in the docs.
>
>The thing is, I'm trying to figure out the various error _types_ in
>bperror.  I'm trying to write a script to use bperror to automatically
>check the erorrs and report them, but I can't find any way to figure out
>what type-names correspond to what type-numbers... other than doing
>"bperror -t [type]" and writing down which numbers show up in the results.
>
>Does anyone know where I could find a list of those?
>
>These are the ones I've figured out so far:
>
>my %types =     (
>                8       => 'archive',
>                72      => 'archive/backstat',
>                68      => 'backstat',
>                4       => 'backup',
>                2       => 'general',
>                130     => 'mediadev',
>                136     => 'mediadev'
>                );
>
>Thanks!
>
>Nicholas Tang
>
>
>_______________________________________________
>Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>


<Prev in Thread] Current Thread [Next in Thread>