Re: [Veritas-bu] "Full" Media
2007-09-20 11:37:43
The bpmedialist command will only tell you part of the story. It won't tell
you whether or not the FULL tape is actually in the library or not.
The best way is to run the available media report which is found at:
/usr/openv/netbackup/bin/goodies/available_media.
Not only does the report tell you which media are full, but it will also tell
which full ones are still in the library. So, run the report out of cron and
save the output to a file and just grep for FULL and TLD (or whichever library
type you have).
--Stuart
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Justin
Piszcz
Sent: Thursday, September 20, 2007 7:04 AM
To: Martin, Jonathan
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] "Full" Media
Yes,
/usr/openv/netbackup/bin/admincmd/bpmedialist | grep -B1 FULL
On Thu, 20 Sep 2007, Martin, Jonathan wrote:
> Is there a "media full" flag I can parse via the command line? I'm
> working on a script for a remote site who only wants to remove "full"
> media from the box. I can guestimate based on how much data is on the
> media but when NBU gets to the end of a media, does it flag it anywhere?
>
> Thanks,
>
> -Jonathan
>
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|