Veritas-bu

[Veritas-bu] which flag indicates the tape is full?

2003-05-21 13:40:54
Subject: [Veritas-bu] which flag indicates the tape is full?
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Wed, 21 May 2003 11:40:54 -0600
It's a single bit in the status word, field 15. 

Use this to locate full tapes:

bpmedialist -mlist -l | awk ' { if ( int($15/8)%2 ) {print $1} }'

-M

-----Original Message-----
From: Robert Johannes [mailto:robert.johannes AT udlp DOT com]
Sent: Wednesday, May 21, 2003 11:21 AM
To: nb
Subject: [Veritas-bu] which flag indicates the tape is full?


If I ran the command: 'bpmedialist -ev 002735 -l'
the output is like this:
002735 *NULL* 1 13 1052240757 1052240758 1083801600 0 35295776 19 19 5
29 0 552 1024 \
0 0 0 0 0 0 0 0 0

Which one of these flags indicates that a tape is full?  Note that
there's 25 fields in the line.  Is there a better way to figure out that
a tape is full, other than using the scripts or the -U option to
bpmedialist?

thanks for any help.

robert
_______________________________________________
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>