Veritas-bu

Re: [Veritas-bu] Check tape ID in tape header for each tape?

2011-08-31 06:08:59
Subject: Re: [Veritas-bu] Check tape ID in tape header for each tape?
From: "Patrick" <netbackup AT whelan-consulting.co DOT uk>
To: "'Justin Piszcz'" <jpiszcz AT lucidpixels DOT com>, "'veritas-bu'" <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Wed, 31 Aug 2011 12:08:20 +0200
If you are on a real OS you can mount the tape and dd the first 1024 bytes.
Otherwise you can mount the tape and look at the GUI, which should show both
the external and internal label.
For real OS:

for label in label1 label2 label3 etc
do
  tpreq -m $label  [-d density] [-p poolname] -f /tmp/$label
  dd if=/tmp/$label  bs=1024 count=1
  tpunmount /tmp/$label
done

Regards,
 
Patrick Whelan
VERITAS Certified NetBackup Support Engineer for UNIX.
VERITAS Certified NetBackup Support Engineer for Windows.

netbackup AT whelan-consulting.co DOT uk


-----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: 31 August 2011 11:30
To: veritas-bu
Subject: [Veritas-bu] Check tape ID in tape header for each tape?

Hi,

I had get new labels put on some tapes that had incorrect specifications,
which caused inventory problems in the past.  Even though they are now
scratch, if there is a mismatch it will freeze the tape, etc, is there a
quick way to check the header on each tape to ensure the label and header
match for the barcode ID?  If not, I will have to bplabel each one and check
for errors I suppose.

Justin.
_______________________________________________
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

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