Veritas-bu

[Veritas-bu] Netbackup DB tapes

2001-01-03 09:36:31
Subject: [Veritas-bu] Netbackup DB tapes
From: David A. Chapa david AT datastaff DOT com
Date: Wed, 3 Jan 2001 06:36:31 -0800 (PST)
I'm sure someone has replied to this but since I 
haven't gotten through all of my mail since returning 
form the holidays I'll just blinding reply anyway...

NBU will NEVER overwrite a Netbackup DB tape, NEVER.  
it sees the header and naturally assumes (and 
rightfully) that this tape may be critical to your DR 
plan and it freezes the tape.  This forces us 
to 'trash' the header on the tape.

I know there are a host of way to accomplish this, so 
here are a couple.

the 'old way' (back in the 1.6 days) we would have to 
dd the tape then relable it.

tpreq -ev MEDID -d density -p POOL -f filmntpoint
dd if=/etc/hosts of=/dev/rmt/device_file_for_the_tape
tpunmount filmntpoint

bplabel -ev MEDID -d denisty -p POOLNAME

OR

you can force bplabel with overwrite option

bplabel -ev MEDID -d density -p Poolname -o

This saves you all of the previous steps, but as I have 
said before, old habits are hard to break.

David
Quoting "Pearson, Kim (STP)" <kim.pearson AT guidant DOT com>:

> We use bpvault to backup our NetBackup database. We 
are attempting to
> re-use
> NB Database backup tapes (from bpvault) after they 
have expired. 
> 
> We are seeing the following errors logged from 
Netbackup:
> 
> 01/01/01 18:27:51 bigbuserver bigbuserver  FREEZING 
media id 000157, it
> contains
>                     NetBackup database backup data 
and cannot be used for
>                     backups
> 
> This is happening on over 30 different tapes. Is 
there something special we
> need to do to re-introduce these tapes??  Have you 
seen this before?? Here
> is a vmquery output:
> 
> stpsn066# ./vmquery -m 000157 
> 
========================================================
====================
> ====
> media ID:              000157
> media type:            DLT cartridge tape (11)
> barcode:               000157
> description:           ------
> volume pool:           ScratchPool (7)
> robot type:            TLD - Tape Library DLT (8)
> robot number:          1
> robot slot:            16
> robot host:            cphom
> volume group:          00_001_TLD
> created:               Fri Aug 13 13:59:39 1999
> assigned:              ---
> last mounted:          Mon Jan 01 18:30:49 2001
> first mount:           Sat Aug 14 05:54:28 1999
> expiration date:       ---
> number of mounts:      8
> max mounts allowed:    250
> 
========================================================
====================
> ====
> 
> Thanks,
> 
> Kim Pearson
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-
bu AT mailman.eng.auburn DOT edu
> 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-
bu
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David A. Chapa
Consulting Manager
DataStaff, Inc.
847 413 1144



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