Veritas-bu

Re: [Veritas-bu] Change Media ID in Netbackup

2009-04-09 09:47:10
Subject: Re: [Veritas-bu] Change Media ID in Netbackup
From: "Martin, Jonathan" <JMARTI05 AT intersil DOT com>
To: <dave.markham AT fjserv DOT net>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Thu, 9 Apr 2009 09:22:16 -0400
If the MediaID is already in the Volume Manager you should be good to
go.  Netbackup scans the barcode, sees that it is already assigned a
MediaID and uses that.  If you want to re-label the media to the new
standard, you have to wait until the media is scratch, delete it from
the volume manager and then put it back into a library and run an
inventory.  Be careful with mediaID errors.  I.E. Netbackup writes the
MediaID to the header, so if you "change" a media from 2-8 to 1-6 you
need to run bplabel to re-write the header.

-Jonathan

-----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 Dave
Markham
Sent: Thursday, April 09, 2009 5:41 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Change Media ID in Netbackup

Netbackup 5.0MP7 Solaris 9 master.

I've realised Netbackup is using the last 6 chars of a barcode to
generate media id's rather than the first 6 which i'd prefer.

I know i can alter this for media introduced into the unit with

MEDIA_ID_BARCODE_CHARS = 0 8 1:2:3:4:5:6  in vm.conf,

BUT if i do that a media which is assigned to say Weekly_Full will then
become scratch as Netbackup will think of it as a completely new media
won't it?

e.g

Barcode BK0001L2
Current Media ID = 0001L2

vmquery -m 0001L2 shows media information vmquery -m BK0001L2 shows not
present in database.

If i take the tape out and add the vm.conf entry what will happen?

Therefore is there a way to tell Netbackup change the media id you know
from 0001L2 to BK0001L2 ??

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