IT Infrastructure blog

November 26, 2010

Status code 96 in Veritas Netbackup server

Filed under: Symantec Netbackup — Akther @ 7:58 pm

If you have a chance to work with Veritas Netbackup server this error code you would probably see.

Error code 96 throwing error in Activity monitor mainly because of unavailability of media.

Why media is not available to write images ? several reason….

1) Media is full

2) Media is suspend mode

3)Media is frozen

4) Media Retention period and the net backup policy retention policy is different ( Tape retention policy is 1 and policy retention period is 1 month ( basically 2)

4) There is no media in Volume pool

So Netbackup Administrator should be vigilant in daily monitoring these media status by using a use full command to check  what happens to tape media.

C:\Program Files\Veritas\NetBackup\bin\goodies>available_media.cmd >>c:\media.txt

This will throw the media is in full or frozen or suspend or available.

Based on this unfreeze the media or find out new tape and put it in to the correct volume pool.

other use full command to see a particular media status is below

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listmedia -mediaid TP0064

( TP064 defines the label name of tape)

output of this command would be below. Here you can find out the retention period of tape, when this image will be expire and Media status.

Here media status is showing Active, it may be vary like Full or Frozen.

NBEMMCMD, Version:7.0.1
====================================================================
Media GUID:                     968da873-a972-4a9f-a27c-62404b8991b2
Media ID:                            TP0064
Partner:                                –
Media Type:                       HCART2
Volume Group:                000_00000_TLD
Application:                    Netbackup
Media Flags:                    1
Description:                    Added by Media Manager
Barcode:                           TP0064
Partner Barcode:          ——–
Last Write Host:             Netbackup-Masterserver
Created:                            10/27/2010 16:13
Time Assigned:              11/13/2010 18:34
First Mount:                    11/13/2010 18:35
Last Mount:                     11/19/2010 12:01
Volume Expiration:              –
Data Expiration:            12/03/2010 12:00
Last Written:                   11/19/2010 12:00
Last Read:                         –
Robot Type:                     TLD
Robot Control Host:     Netbackup-Masterserver
Robot Number:               0
Slot:                                     22
Side/Face:                      –
Cleanings Remaining:   –
Number of Mounts:       3
Maximum Mounts Allowed:     0
Media Status:                   ACTIVE
Kilobytes:                         198078296
Images:                              14
Valid Images:                   14
Retention Period:             1
Number of Restores:             0
Optical Header Size Bytes:      1024
Optical Sector Size Bytes:      0
Optical Partition Size Bytes:   0
Last Header Offset:             3095010
Adamm Guid:                     00000000-0000-0000-0000-000000000000
Rsm Guid:                       00000000-0000-0000-0000-000000000000
Origin Host:                    NONE
Master Host:                  Netbackup-Masterserver
Server Group:                NO_SHARING_GROUP
Upgrade Conflicts Flag:
Pool Number:                    5
Volume Pool:                    Exchange pool
Previous Pool Name:             –
Vault Flags:                    –
Vault Container:                –
Vault Name:                     –
Vault Slot:                     –
Session ID:                     –
Date Vaulted:                   –
Return Date:                    –
====================================================================

If you want to expire the image in particular tape we can use below command ( be sure that you would not require this data in future)

C:\Program Files\Veritas\NetBackup\bin\admincmd> bpexpdate -m TP0064 -d 0

This will expire media TP0064 and will be available for next backup .

Hope this article would be helpful for Netbackup admins.

Thanks

Akther

Advertisements

2 Comments »

  1. This helped me!
    thanks!!

    Comment by Michael — January 25, 2011 @ 9:51 am | Reply

  2. Thanks,
    I faced the same mentioned in point no:4(retention),Edited media server properties and marked “allow multiple retention period”,issue solved

    Comment by Jith — December 2, 2012 @ 12:33 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: