Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
How to Manually Remove a Tape Completely From NetBackup-Media Manager

How to Manually Remove a Tape Completely From NetBackup-Media Manager

Ratings: (0)|Views: 281|Likes:
Published by amsreeku

More info:

Published by: amsreeku on Jul 06, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/05/2013

pdf

text

original

 
 
Document ID:
208420http://support.veritas.com/docs/208420E-Mail this document to a colleague
How to manually remove a tape completely from NetBackup/Media Manager.
Details:
 First, if there are images on the tape, they need to be expired. This can be done by:bpexpdate -ev <mediaid> -d 0This will not completely free up the tape if the tape is frozen or suspended, so thecommand(s):bpmedia -unfreeze -ev <mediaid>orbpmedia -unsuspend -ev <mediaid>may be needed.At this point there will be no image database entries for that tape and the media databaseshould show the tape as not assigned therefore allowing the tape to be reused. Howeversometimes the image database and the media manager database can be out of sync, andthe tape may show as still assigned, or if the tape has a NetBackup database backup onit, there would be no image entry to begin with. When a tape shows an assigned date, butno images are related to that tape, it will show up in the available_media report asdbbackup. To tell if a tape actually has a dbbackup on it, the command:vmquery -m mediaidwill show a status, where 0x0 means normal backups, 0x1 means NetBackup databasebackup and 0x2 means Storage Migrator.If it is 0x1, be certain this is not a database backup which will ever be needed.If it is 0x2, it is in use by Storage Migrator and understanding of the use of the tape byStorage Migrator (not covered here) is required.To free up the tape, when it has an assigned date but no images in the database, thecommand:vmquery -deassignbyid <mediaid> <poolnumber> <status>must be run, but the status will be displayed as 0x0, 0x1 or 0x2 and needs to be just 0, 1or 2 in the vmquery -deassignbyid.At this point the tape is available to be used for backups.If the tape was bad or destroyed and that is why it is being removed, the command:vmdelete -m <mediaid>will remove the last remnants of information about it from media manager.There are other options which may be specified for the above commands. Some are to
Page 1 of 3How to manually remove a tape completely from NetBackup/Media Manager.7/6/2010file://H:\study\netbackup\Upload_site_done\done\New Folder\How to manually remove a tape completely fr...
 
specify server names, volume database host names, etc. If the NetBackup/MediaManager setup is complex, those options may be needed. The full paths to thecommands mentioned are: /usr/openv/netbackup/bin/admincmd/bpexpdate /usr/openv/netbackup/bin/admincmd/bpmedia /usr/openv/netbackup/bin/goodies/available_media /usr/openv/volmgr/bin/vmqueryusr/openv/volmgr/bin/vmdeleteAll but available_media have man pages.
Products Applied:
 NetBackup BusinesServer 3.3, 3.4NetBackup DataCenter 3.4NetBackup v3.2 and prior (UNIX Platforms)3.1.1, 3.2
Last Updated:
June 20 2000 04:33 PM GMT
Expires on:
365 days from publish dateSubscribe to receive critical updatesabout this document
Subjects:
 NetBackup BusinesServerApplication: Media ManagementNetBackup DataCenterApplication: Media ManagementNetBackup v3.2 and prior (UNIX Platforms)Application: Media ManagementBest Practice: Internal Database, Media ManagementDatabase: Media Management
Languages:
 English (US)
Operating Systems:
 AIXAuspexTRU644.1.5, 4.2, 4.2xxxx, 4.3, 4.3.1, 4.3.21.9.1
Page 2 of 3How to manually remove a tape completely from NetBackup/Media Manager.7/6/2010file://H:\study\netbackup\Upload_site_done\done\New Folder\How to manually remove a tape completely fr...

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
santha kumar liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->