Video Screencast Help

How to force NetBackup read the status of the media?

Created: 27 Apr 2009 • Updated: 21 May 2010 | 6 comments

I've already expired all the images from the media, but the tape status is still FULL. It can't be reused by NetBackup. Is there any way to change the status from FULL to available instead of running bpexpdate to expire the media? 

Comments 6 CommentsJump to latest comment

J.H Is gone's picture

If the tape is frozen it will not be avail until unfrozen even if you expired all the images.

Have you run the report "images on tape" and verified all images are expired?

I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows

scorpy_582's picture

 As rightly suggested by Hinchcliffe, cehck if the media is frozen. If the media is no frozen, then run the command bpexpdate -deassignempty

Stumpr2's picture

After you expire the imge run a catalog backup which will delete the expired image i n the catalog as part of the cleanup.

VERITAS ain't it the truth?

sunbird's picture

Yongkang, uf the above suggestion don't work, what procedure did you use to expire the media?  (if you changed the "expiration date" associated with the media id via the gui, you may not have expired the images)

J.H Is gone's picture

/usr/openv/netbackup/bin/admincmd/bpmedialist -m <mediaid>

/usr/openv/volmgr/bin/vmquery -m <mediaid>

I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows

rookie11's picture

check the media status whether it is frozen or not use command bpmedialist

if it is frozen unfreeze it using command bpmedia

if all the images r not expired and u no longer use them u can use bpexpdate -m mediaid -d 0 -host hostname -force [THIS COMMAND WILL EXPIRE THE TAPE N PUT IT INTO SCRATCH]

CHECK in reports whether any of the images in media is useful to u or not before running BPEXPDATE