Video Screencast Help

NBU - tape freeze timestamp

Created: 14 Aug 2013 • Updated: 14 Aug 2013 | 8 comments

hi,

i am using NBU 7.0 and wonder is there any log that record the timestamp when a tape has been frozen? i'd look through all the logs under Tape reports under reports section but could not find any information on when was the particular tape been frozen

 

kidnly advise

yl

Operating Systems:

Comments 8 CommentsJump to latest comment

Marianne's picture

My guess is that it will be the last mount time.

Look at 'nbemmcmd -listmedia -mediaid <media-id>' output.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Jaydeep S's picture

You could look in the bptm log (/usr/openv/netbackup/logs/bptm or <Install_dir>\VERITAS\NetBackup\logs\bptm) and the Admin messages or syslog from the OS (for Windows - Windows Event Viewer System Log and Application Log )

Taqadus Rehman's picture

You can check error logs as i had similar query in past and I found the message in the error log (logging level 0). Following is the workaround.

# pwd
/usr/openv/netbackup/db/error

# cat log_* | grep -i freezing
1239475677 1 132 16 server_xyz 2835460 2835450 0 client_abc bptm FREEZING media id L21234, it is write protected and cannot be used for backups

where server_xyz = master server and client_abc = client.

It gives you the timestamp of when the tape was frozen, as well as cause.

# bpdbm -ctime 1239475677
1239475677 = Sat Apr 11 11:47:57 2009

Regards, Taqadus Rehman

Marianne's picture

At some point in time (probably NBU 6.5) the error log and/or bptm logs do not always contain the word freeze or freezing.

Some TapeAlerts will automatically freeze tapes and only TapeAlert can be seen in the logs.
See http://www.symantec.com/docs/HOWTO33004

Example of personal experience:  https://www-secure.symantec.com/connect/forums/no-log-tape-being-frozen#comment-5685751

 

 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

yong look's picture

hi all, sorry for the late reply.

yes, nbemmcmd -listmedia works perfectly. also, i am looking for a way to get the history log for the tapes as we wanted to track down if a media mentioned been frozen before, and when was it been frozen and un-freeze

 

thanks and regards

yl

Marianne's picture

The information should be available in the NBU error log (Tape logs report), but NBU keeps this information by default for 28 days.

So, you may want to run Tape Logs report on a regular basis - filter out Info messages so that you have Warning and Error messages only.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

monty_222's picture

I also faced same difficuly in noting down the Frozen Tape , but eventually u have to run the report every month to have a count and the Media ID report for the frozen tapes. 

 

Thanks,
Debashish

Mark_Solutions's picture

You show in your signature as using Windows - that being the case just look at you Windows application logs, they are probably kept longer than the Netbackup logs and will show when there are tape issues along with the reason - find the event id number you are looking for, sort by event id and you have a history of the problems

Hope this helps

#edit# That being the event log on the media server that froze the tape

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.