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.
Media GUID: 968da873-a972-4a9f-a27c-62404b8991b2
Media ID: TP0064
Media Type: HCART2
Volume Group: 000_00000_TLD
Media Flags: 1
Description: Added by Media Manager
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
Cleanings Remaining: –
Number of Mounts: 3
Maximum Mounts Allowed: 0
Media Status: ACTIVE
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.